Skip to content
Advertisement

How to solve the ModuleNotFoundError: No module named ‘prompt_toolkit.formatted_text’ in Jupyter Notebook inside the Pycharm IDE?

I am using Pycharm 2018.2 version in ubuntu 18.04 and I am trying to use the JupyterNoteBook inside the pycharm it’s been loading and creating a new notebook. But the cell in the Jupyter always shows busy and it throws some error like ModuleNotFoundError: No module named ‘prompt_toolkit.formatted_text’. Eventhough, I restarted the kernel again and again it throws the same error. Even I uninstalled and after the re-installation it throws the same error. Error it throws

Can aynone please help me to resolve this error?

Thanks in advance !

Advertisement

Answer

Just upgrade the console:

pip install -U jupyter_console
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement