我想在Windows上安装Scrapy,并遵循Scrapy安装指南中的步骤来安装所有的依赖项。但是,我得到了以下错误消息,当我试图用easy_install的:Scrapy安装错误点和easy_install
Download error on https://pypi.python.org/simple/Scrapy/ : [Errno 10061] No connection could be made because the target machine actively refused it -- Some packages may not be found! Couldn't find index page for 'Scrapy' (maybe misspelled?)
Scanning index of all packages (this may take a while) Reading https://pypi.python.org/simple/ Download error on https://pypi.python.org/simple/ : [Errno 10061] No connection could be made because the target machine actively refused it -- Some packages may not be found! No local packages or download links found for Scrapy error: Could not find suitable distribution for Requirement.parse('Scrapy')
我还试图用点子,但它无法正常工作或:
Downloading/unpacking Scrapy Cannot fetch index base URL https://pypi.python.org/simple/ Could not find any downloads that satisfy the requirement Scrapy Cleaning up... No distributions at all found for Scrapy
我去pip.log它说
Could not fetch URL https://pypi.python.org/simple/Scrapy/ : connection error: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /simple/Scrapy/ (Caused by : [Errno 10061] No connection could be made because the target machine actively refused it) Will skip URL https://pypi.python.org/simple/Scrapy/ when looking for download links for Scrapy
我可以访问https://pypi.python.org/simple/Scrapy/直接从互联网expl但不知道为什么pip或easy_install无法访问链接。
我正在使用Anaconda python,因此easy_install和pip已经是包的一部分。我也有以下错误安装在pywin32的最后阶段:
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
这是easy_install的原因和PIP失败了吗?任何人都可以帮忙吗?
感谢
可能的[在Windows 7上安装Scrapy-Python和Easy \ _install]的重复(https://stackoverflow.com/questions/28150433/installing-scrapy-python-and-easy-install-on-windows-7) –