Khi tôi sử dụng lệnh:Cách sử dụng easy_install phía sau proxy http trên cửa sổ?
easy_install spotter
để cài đặt các gói spotter
, tôi nhận được thông báo lỗi sau
Searching for spotter
Reading http://pypi.python.org/simple/spotter/
Download error on http://pypi.python.org/simple/spotter/: [Errno 11001] getaddrinfo failed -- Some packages may not be found!
Reading http://pypi.python.org/simple/spotter/
Download error on http://pypi.python.org/simple/spotter/: [Errno 11001] getaddrinfo failed -- Some packages may not be found!
Couldn't find index page for 'spotter' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error on http://pypi.python.org/simple/: [Errno 11001] getaddrinfo failed -- Some packages may not be found!
No local packages or download links found for spotter
error: Could not find suitable distribution for Requirement.parse('spotter')
Hai biến môi trường: http_proxy
và https_proxy
dường như không làm việc?
Installing Python's easy_install using ez_setup.py from behind a proxy server
Setting 'http_proxy' làm việc cho tôi. chính xác là bạn đang làm gì? –