You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try running Lab 1 according to the instructions and code in the Lab1 ipython notebook, Lab1.ipynb, the import fails.
It turns out that although I followed the setup instructions in README.md, the ipython instance was using my system-level Python interpreter and libraries, instead of the local ones within the virtualenv.
The solution for me was to execute this shell command,
Add ipykernel install command to setup instructions. This ensures that jupyter has a kernel that refers to the virtualenv and its modules. Addresses yala#4 "Lab 1 notebook can't import tensorflow module" for the "Pip instructions" case. We may need a similar change for the Conda case, but I haven't tested that.
When I try running Lab 1 according to the instructions and code in the Lab1 ipython notebook, Lab1.ipynb, the import fails.
It turns out that although I followed the setup instructions in README.md, the ipython instance was using my system-level Python interpreter and libraries, instead of the local ones within the virtualenv.
The solution for me was to execute this shell command,
python -m ipykernel install --user --name=intro_dl
before running
jupyter notebook
. Further instructions here.(I am a member of the public following along with 6.S191 from outside MIT. Thank you for making it available!)
The text was updated successfully, but these errors were encountered: