Skip to content Skip to sidebar Skip to footer

Python - Scrapy Startproject Command Not Recognized

ENVIRONMENT Windows 7 (64) Python 2.7.3 (32) pip install scrapy I have my paths set C:\Python27;C:\Python27\Scripts After installing all dependency libs (lxml, openssl, pywin32, tw

Solution 1:

Adding to this solution, make sure that the environment variables have no spaces in them. This just fixed the issue for me.

e.g. C:\Python27;C:\Python27\Scripts NOT C:\Python27; C:\Python27\Scripts

Solution 2:

rookie mistake - there was after all a problem with my PATH

i saw lot of code examples to set path as set PATH %PATH% .... and thought this PATH was placeholder for scenario. I was typing Python there

FIX - I edited path to include...

for system environment variable:

Variable name:PathVariable value:C:\Python27;C:\Python27\Scripts

restarted command prompt and now it all works, scrapy command works as expected and can be called outside main python folder without full directory path to the scrapy file

THANKS Talvalin, I finally found this via your last suggestion to type path and see what it was actually reading

Post a Comment for "Python - Scrapy Startproject Command Not Recognized"