I am trying to install Scrapy on Windows by Anaconda, finally some progress was made with help from "https://github.com/dangra/scrapy/archive/moderm-setuppy.zip#egg=Scrapy" but now the error thrown is
ModuleNotFoundError: No module named 'urllib2'
I am trying to install Scrapy on Windows by Anaconda, finally some progress was made with help from "https://github.com/dangra/scrapy/archive/moderm-setuppy.zip#egg=Scrapy" but now the error thrown is
ModuleNotFoundError: No module named 'urllib2'
You are likely running some legacy Python 2 code that does not work in Python 3 anymore, because module
urllib2
was changed.More information in this StackOverflow answer:
Import error: No module name urllib2
Your options include
1) Find some other solutions that does not rely on unsupported Python 2
2) Try to get Python 2 installed on your computer and run the code through it
3) Update the code to support Python 3