I'm trying to install Django on a Chinese server on Ubuntu 12.04.
Trying to run pip install django
and I'm getting this error:
Cannot fetch index base URL http://pypi.pyton.org/simple/
Could not find any downloads that satisfy the requirement django
Complete pip.log
is:
Downloading/unpacking django
Getting page http://pypi.python.org/simple/django
Could not fetch URL http://pypi.python.org/simple/django: <urlopen error _ssl.c:489: The handshake operation timed out>
Will skip URL http://pypi.python.org/simple/django when looking for download links for django
Getting page http://pypi.python.org/simple/
Could not fetch URL http://pypi.python.org/simple/: The read operation timed out
Will skip URL http://pypi.python.org/simple/ when looking for download links for django
Cannot fetch index base URL http://pypi.python.org/simple/
URLs to search for versions for django:
* http://pypi.python.org/simple/django/
Getting page http://pypi.python.org/simple/django/
Could not fetch URL http://pypi.python.org/simple/django/: timed out
Will skip URL http://pypi.python.org/simple/django/ when looking for download links for django
Could not find any downloads that satisfy the requirement django
No distributions at all found for django
I've read that this could be system time issue with the ssl, do you guys have any idea on how I can solve this? Do I need to set a sepcific system time in order to be able to install packages using pip?
Thanks.