pycrypto is down? how to install pycrypto?
The following is what happens:
$ sudo easy_install pycrypto
Searching for pycrypto
Reading http://pypi.python.org/simple/pycrypto/
Reading http://pycrypto.sourceforge.net
Reading http://www.pycrypto.org/
Download error: [Errno 101] Network is unreachable -- Some packages may not be found!
Reading http://www.amk.ca/python/code/crypto
Reading http://www.pycrypto.org/
Download error: [Errno 101] Network is unreachable -- Some packages may not be found!
Reading http://www.pycrypto.org/
Download error: [Errno 101] Network is unreachable -- Some packages may not be found!
Best match: pycrypto 2.3
Downloading http://www.pycrypto.org/files/pycrypto-2.3.tar.gz
error: Download error for http://www.pycrypto.org/files/pycrypto-2.3.tar.gz: [Errno 101] Network is unreachable
and firefox is unable to connect to pycrypto.org -- no connection can be established. So if pycrypto is down, how do I install pycrypto?
EDIT: I can however ping the site, so I'm not sure how that works:
$ ping pycrypto.org
PING pycrypto.org (76.10.145.51) 56(84) bytes of data.
64 bytes from 76-10-145-51.dsl.ncf.ca (76.10.145.51): icmp_seq=1 ttl=53 time=159 ms
64 bytes from 76-10-145-51.dsl.ncf.ca (76.10.145.51): icmp_seq=2 ttl=53 time=161 ms
64 bytes from 76-10-145-51.dsl.ncf.ca (76.10.145.51): icmp_seq=3 ttl=53 time=160 ms
^C
--- pycrypto.org ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms开发者_JAVA技巧
rtt min/avg/max/mdev = 159.418/160.471/161.223/0.767 ms
Softpedia also has a copy of the file:
http://mac.softpedia.com/get/Development/Libraries/PyCrypto.shtml
Once you have the archive, I believe you should be able to install it with
$ sudo easy_install pycrypto-2.3.tar.gz
(I used pip
in my case so the line above isn't confirmed.)
PyCrypto releases are now uploaded to PyPI, so easy_install should no longer rely on the availability of the dlitz.net webserver.
Google finds a copy of the file in Fedora's code repository.
精彩评论