Раньше всё было окей. А сейчас... Ничего вроде не делал, может только pip (setuptools ) или virtualenv обновил...Создаю новое виртуальное окружение. Активирую, пытаюсь установить джанго и вот:
(enc) d:\source_code\python\enc\Scripts>pip install django
Downloading/unpacking django
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement django
Cleaning up...
No distributions at all found for django
Storing debug log for failure in C:\Users\╧ртхы\pip\pip.log
Вот что в pip.log
:
d:\source_code\python\enc\Scripts\pip run on 04/16/14 17:11:16
Downloading/unpacking django
Getting page https://pypi.python.org/simple/django/
Could not fetch URL https://pypi.python.org/simple/django/: connection error: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /simple/django/ (Caused by <class 'socket.gaierror'>: [Errno 11003] getaddrinfo failed)
Will skip URL https://pypi.python.org/simple/django/ when looking for download links for django
Getting page https://pypi.python.org/simple/
Could not fetch URL https://pypi.python.org/simple/: connection error: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /simple/ (Caused by <class 'socket.gaierror'>: [Errno 11003] getaddrinfo failed)
Will skip URL https://pypi.python.org/simple/ when looking for download links for django
Cannot fetch index base URL https://pypi.python.org/simple/
URLs to search for versions for django:
* https://pypi.python.org/simple/django/
Getting page https://pypi.python.org/simple/django/
Could not fetch URL https://pypi.python.org/simple/django/: connection error: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /simple/django/ (Caused by <class 'socket.gaierror'>: [Errno 11003] getaddrinfo failed)
Will skip URL https://pypi.python.org/simple/django/ when looking for download links for django
Could not find any downloads that satisfy the requirement django
Cleaning up...
Removing temporary dir d:\source_code\python\enc\build...
No distributions at all found for django
Exception information:
Traceback (most recent call last):
File "d:\source_code\python\enc\lib\site-packages\pip\basecommand.py", line 122, in main
status = self.run(options, args)
File "d:\source_code\python\enc\lib\site-packages\pip\commands\install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "d:\source_code\python\enc\lib\site-packages\pip\req.py", line 1177, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "d:\source_code\python\enc\lib\site-packages\pip\index.py", line 277, in find_requirement
raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for django
P.s. Хоть здесь и про джангу, но грешу на инструменты которые использую, поэтому создал топик в этом разделе.