Jupyter Notebook Tips

To load a missing python library into your notebook server

import sys
print(sys.executable)

will tell you what the executable path is for your python used within your notebooks.
/Users/foo/anaconda3/bin/python
Then, you can do something like
!/Users/foo/anaconda3/bin/python -m pip install wordcloud to install a new set of modules.

Jupyter Notebook Tips
Share this