FIRST QUESTION: I was using python 2.7, but I started learning web scraping and the tutorial I read use python 3.5. So I installed python 3.5 and pip for that. After I installed scrapy I cannot run my project using
scrapy crawl mywork
it reports an error like this:
ImportError: cannot import name '_win32stdio'
And then I read that python 3.5 with scrapy is now not supported on windows, but Ubuntu. So I want to ask if there is any configuration that I didn't know?
SECOND QUESTION: And in order to avoid the problem I want to go back to python 2.7 and installing scrapy for 2.7. It is not hard to differentiate pip for 2.x and 3.x version by
py -2 -m pip isntall thePackage
But the PROBLEM is that after I installed python 3.5 and pip for 3.5, I cannot use pip for py2.7 anymore. It seems that I cannot link to the url for python 2.7 or something like that.
Whatever package I am installing in 2.7, it goes like
Could not fetch URL https://pypi.python.org/.../: There was a problem
confirming the ssl certificate: [Erron 185090050] _ssl.c:344 ...
....
Cannot fetch index base URL https://pypi.python.org/simple/
....
Could not find any downloads that satisfy the requirement pip in c:\python27\lib\site-packages\pip-1.5-py2.7.egg
I do love python but the installing pakcages part is really annoying