This question already has an answer here:
I am installing Scrapy in Python 3.5. I am referring to the installation guide here .
I have installed pip
and conda
. I tried both ways mentioned in the guide, but am getting this error:
I have already installed pip
and minoconda
:
conda install -c scrapinghub scrapy
and
pip install Scrapy
What is wrong with the installation?
You can pip install scrapy on python 3.5+, you just have to pip install all the deppendencies first - from here https://docs.scrapy.org/en/latest/intro/install.html
and finally
Before installing Scrapy on Python 3.5 on Windows 10 in virtualenv Install lxml,PyDispatcher then simpy install Scrapy code is attached.
Scrapy doesn't work with Python 3. At the moment, scrapy works only with Python 2.7.
You're trying to install
scrapy
in the python interpreter, you should install the package in your terminal. What's more, one requirement of installingscrapy
is python 2.7, you're using python 3.5Update:
Good news: Python 3 is Coming to Scrapy, you can try
pip install scrapy==1.1.0rc1
now. Note that there are still some limitations, but won't be long thatscrapy
will have full of 3.x support. Pay close attention to thescrapy
development ;)I was able to install scrapy on Python 3.5.
Check to see if you are able to install these Twisted, lxml and pyOpenSSL.
In my case I got error in installing lxml. I fixed it by downloading
lxml‑3.6.4‑cp35‑cp35m‑win_amd64.whl
from http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml based on your Python and windows version. (Credit to Christoph Gohlke's generosity for sharing this library.). Installed it using the following command: