Python Scraping Data From the Web A World Full of Spiders Installing Scrapy

Jiawei Hu
Jiawei Hu
8,000 Points

bash: scrapy: command not found

By writing "scrapy startproject AraneaSpider" the system says:

bash: scrapy: command not found

what should I do?

2 Answers

Steven Parker
Steven Parker
168,137 Points

It sounds like you have not have the "scrapy" application on your system. You probably need to get the latest version of scrapy and install it.

If you're sure you do have it already, it may be installed in a location that isn't part of your execution path (the "PATH" environment variable). In that case, you may only need to expand your PATH to include it.

Jiawei Hu
Jiawei Hu
8,000 Points

Thank you for the response, the version of Scrapy that I have is 1.6 and I can find it in

External Libraries/<Python3.6>/Site-packages

Not sure if that's the right place for it to be.

Henrik Christensen
Henrik Christensen
Python Web Development Techdegree Student 36,887 Points

What Steven Parker said, but it could also be that you installed it in a virtual env which mean you would have to activate that env