How Do I Use Scrapy In Different Versions Of Python
I enter 'scrapy crawl PROJECT_NAME' in terminal and try to run a project coded with python2 but terminal tries to use scrapy in python3 and keeps reporting error(I have scrapy libr
Solution 1:
Just specify the python you want to run scrapy
with:
python2 -m scrapy crawl PROJECT_NAME
Or even more precise:
/path/to/python/executable/python -m scrapy crawl PROJECT_NAME
Post a Comment for "How Do I Use Scrapy In Different Versions Of Python"