Goagent 在mac上警告提示"Load Crypto.Cipher.ARC4 Failed"
OSX 10.6.8系统,系统自带python2.6,通过macports安装了python2.7。然后通过
sudo port select --set python python27
选定python2.7为默认python。
当我运行python proxy.py时,terminal里会有warning提示——
Load Crypto.Cipher.ARC4 Failed, Use Pure Python Instead.
如果只是
sudo easy_install pycrypto
或者
sudo pip install pycrypto
只会把pycrypto装到默认的apple的python(2.6)去,为了装到python2.7去,我在
https://www.dlitz.net/software/pycrypto/
下载源码,然后用python27来build和install。
问题解决。
sudo port select --set python python27
选定python2.7为默认python。
当我运行python proxy.py时,terminal里会有warning提示——
Load Crypto.Cipher.ARC4 Failed, Use Pure Python Instead.
如果只是
sudo easy_install pycrypto
或者
sudo pip install pycrypto
只会把pycrypto装到默认的apple的python(2.6)去,为了装到python2.7去,我在
https://www.dlitz.net/software/pycrypto/
下载源码,然后用python27来build和install。
问题解决。
Comments
Post a Comment