Skip to content Skip to sidebar Skip to footer

Urlparse: Modulenotfounderror, Presumably In Python2.7 And Under Conda

I am attempting to run my own scrapy project. The code is based off a well written book and the author provides a great VM playground to run scripts exampled in the book. In the

Solution 1:

I (partially) solved the problem, with the appreciated direction from Martijn Pietters. Scrapy was extending my system installed Python --Python 3.6-- instead of my conda environment python --Python 2.7. Based on conda.io/docs/user-guide/tasks/manage-environments.htm‌​l and miniconda installation documentation, adding miniconda to the PATH can cause the miniconda environment to be called ahead of other environments (if I understand correctly). It seems that I need to use the Anaconda terminal to create a conda environment. I was initially using the powershell terminal (thinking that adding miniconda onto the path was sufficient). Hopefully I have explained this proficiently enough to have others avoid my mistake.

Regards,

Post a Comment for "Urlparse: Modulenotfounderror, Presumably In Python2.7 And Under Conda"