Я только что сделал новую/чистую установку Python 2.7.9, чтобы получить pip (не мог получить его по-другому), и теперь, когда я иду устанавливать что-то, используя его, я получаю эту ошибку:
pip install openpyxl
Downloading/unpacking openpyxl
Cannot fetch index base URL https://pypi.python.org/simple
Could not find any downloads that satisfy the requirement openpyxl
Cleaning up...
No distributions at all found for openpyxl
Storing debug log for failure in C:\Users\name\pip\pip.log
Журнал ошибок выглядит аналогично, просто много сообщений об истечении времени ожидания без дополнительной информации:
Downloading/unpacking openpyxl
Getting page https://pypi.python.org/simple/openpyxl/
Could not fetch URL https://pypi.python.org/simple/openpyxl/: timed out
Will skip URL https://pypi.python.org/simple/openpyxl/ when looking for download links for openpyxl
Getting page https://pypi.python.org/simple/
Could not fetch URL https://pypi.python.org/simple/: timed out
Will skip URL https://pypi.python.org/simple/ when looking for download links for openpyxl
Cannot fetch index base URL https://pypi.python.org/simple/
URLs to search for versions for openpyxl:
* https://pypi.python.org/simple/openpyxl/
Getting page https://pypi.python.org/simple/openpyxl/
Could not fetch URL https://pypi.python.org/simple/openpyxl/: timed out
Will skip URL https://pypi.python.org/simple/openpyxl/ when looking for download links for openpyxl
Could not find any downloads that satisfy the requirement openpyxl
Cleaning up...
Removing temporary dir c:\users\dqa8300\appdata\local\temp\pip_build_DQA8300...
No distributions at all found for openpyxl
Exception information:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pip\basecommand.py", line 122, in main
status = self.run(options, args)
File "C:\Python27\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 "C:\Python27\lib\site-packages\pip\req.py", line 1177, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "C:\Python27\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 openpyxl
Я предполагаю, что это сетевая вещь, есть ли обходной путь?