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 trialJiawei Hu
9,740 Pointsbash: 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
231,236 PointsIt 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.
Henrik Christensen
Python Web Development Techdegree Student 38,322 PointsWhat 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
Jiawei Hu
9,740 PointsJiawei Hu
9,740 PointsThank 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.