I'm trying to run a scrapy project on a ubuntu server. For which I need to add the project path to python path.
I created a
.bash_profile file in the
/home directory with the following contents:
PYTHONPATH=$PYTHONPATH:/home/john/Desktop/myscraper/ EXPORT $PYTHONPATH
But I'm getting error running my python file stating it didn't find the module.
ImportError: No module named myscraper.items
I tried using the following paths, but nothing works.