I am trying to install Scrapy on Windows and have followed steps in the Scrapy installation guide to install all the dependencies. However, I got the following error message when I tried to use 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')
I also tried to use pip but it doesn't work either:
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
I went to pip.log and it says
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
<class 'socket.error'>: [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
I can access https://pypi.python.org/simple/Scrapy/ directly from internet explorer but not sure why pip or easy_install can't access the link.
I'm using Anaconda python so easy_install and pip are already part of the package. I also had the following error at the last stage of installing pywin32:
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
Is this the reason easy_install and pip failed? Could anyone help with these please?