我想在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) –