I've been spending a day in order to install simplejson package. Always I'm without success!
我花了一天时间安装simplejson包。总是我没有成功!
When I type :
当我类型:
pip install simplejson
It raised me error :
这让我犯了一个错误:
Installing collected packages: simplejson
Running setup.py install for simplejson
building 'simplejson._speedups' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c simplejson/_speedups.c -o build/temp.macosx-10.9-intel-2.7/simplejson/_speedups.o
clang: warning: argument unused during compilation: '-mno-fused-madd'
Has some one ever met error like this, or can give me advice what i can do in order to install it?
有人遇到过这样的错误吗?或者可以给我建议我如何安装它?
1 个解决方案
#1
2
So we managed to fix the problem on the chat. It was problem related to upgrading to OS X mavericks and this article was really helpful http://attentionshard.wordpress.com/2013/10/25/os-x-mavericks-fixing-broken-python-development-environments/.
所以我们设法在聊天中解决了这个问题。这是升级到OS X mavericks的问题,这篇文章非常有用:http://attentionshard.wordpress.com/2013/10/25/ OS - X -mavericks-fix -broken-python-development-environment /。
#1
2
So we managed to fix the problem on the chat. It was problem related to upgrading to OS X mavericks and this article was really helpful http://attentionshard.wordpress.com/2013/10/25/os-x-mavericks-fixing-broken-python-development-environments/.
所以我们设法在聊天中解决了这个问题。这是升级到OS X mavericks的问题,这篇文章非常有用:http://attentionshard.wordpress.com/2013/10/25/ OS - X -mavericks-fix -broken-python-development-environment /。