Skip to content

Instantly share code, notes, and snippets.

@anapaulagomes
Last active March 19, 2024 17:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anapaulagomes/203606d2df1bac5cdf806c56d4f8d45f to your computer and use it in GitHub Desktop.
Save anapaulagomes/203606d2df1bac5cdf806c56d4f8d45f to your computer and use it in GitHub Desktop.
How to deal with module not found in Jupyter notebooks
Source: https://stackoverflow.com/a/72778999
python -m venv venv
source venv/bin/activate
ipython kernel install --user --name=venv
jupyter notebook
go to kernel-->change kernel-->choose the venv from the dropdown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment