Reputation: 3
I installed scrapy using the command line
pip install git+https://github.com/scrapy/scrapy@master --no-dependencies --upgrade
once installed, I tried importing scrapy in one of my python projects but an error arises saying:
Traceback (most recent call last):
File "C:\Users\Lenovo\Desktop\Linkedin\script.py", line 7, in <module>
from scrapy import Selector
ImportError: No module named scrapy
[Finished in 0.983s]
What shall I do? Can't find a correct solution on Google yet!
Upvotes: 0
Views: 5754
Reputation: 53
Try to install it with conda and secondly set your python environ path.
Upvotes: 1
Reputation: 935
#To install Scrapy using conda run:
conda install -c conda-forge scrapy
#if you’re already familiar with installation of Python packages, you can install Scrapy
pip install Scrapy
Upvotes: 0