mstampfer / Coursera-Stanford-ML-Python

Coursera/Stanford Machine Learning course assignments in python
445 stars 231 forks source link

Import Error: No module named submission #1

Closed sgang007 closed 9 years ago

sgang007 commented 9 years ago

Since the submission.py is not there in the environment path, the submit.py cannot be run in each of the excercises.

Please change the path before importing the submission.py in your code.

mstampfer commented 9 years ago

Added comment in README.md to set the PYTHONPATH environment variable before running script.

samir2562 commented 4 years ago

hi there - still unclear to me what i need to do to run this file, i open exercise 1 in jupyter, go to execute the first lines of code and i get the error of no module named submission. How exactly do i fix that? Thanks

samir2562 commented 4 years ago

hi there - still unclear to me what i need to do to run this file, i open exercise 1 in jupyter, go to execute the first lines of code and i get the error of no module named submission. How exactly do i fix that? Thanks

resolved this by creating PYTHONPATH environment variable. Note i didnt see this in the README doc.