I'm running the professional version 20.2.3 on Ubuntu 20 and I just cannot get Jupyter notebooks to run correctly within the IDE. When i try to run any notebook cell I just get the following:
/home/user/.virtualenvs/aima-python/bin/jupyter notebook --no-browser
Traceback (most recent call last):
File "/home/user/.virtualenvs/aima-python/bin/jupyter-notebook", line 5, in <module>
from notebook.notebookapp import main
ModuleNotFoundError: No module named 'notebook.notebookapp'; 'notebook' is not a package
The notebook module is in fact in the venv path on disk and so is the notebookapp.py file within the notebook module.
If I run jupyter from that venv outside of Pycharm, it runs just fine and no problem. I can even run the notebook from within Pycharm's terminal for the project and it works. But the moment I try and run this in the IDE by clicking the gutter run buttons it breaks and produces the above error which kind of defeats the purpose of the IDE. I can use Vim and my browser, but I didn't pay for those.