Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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

Jiawei Hu
Jiawei Hu
9,740 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
231,236 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
9,740 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.