ipython-contrib / jupyter_contrib_nbextensions

A collection of various notebook extensions for Jupyter
http://jupyter-contrib-nbextensions.readthedocs.io/en/latest
Other
5.23k stars 806 forks source link

ModuleNotFoundError: No module named 'jupytext' #1543

Closed schuhegger closed 3 years ago

schuhegger commented 3 years ago

I have tried a lot of different things and unfortunately I do not understand what my problem causes. I removed and installed jupytext several times in different ways but I could not fix this issue on my own. If I want to run "jupyter notebook" the jupytext extension is not available in the notebooks and I get an error:

(plightning3):~/Documents/$ jupyter notebook [W 18:47:44.872 NotebookApp] Error loading server extension jupytext Traceback (most recent call last): File "/home/.local/lib/python3.8/site-packages/notebook/notebookapp.py", line 1942, in init_server_extensions mod = importlib.import_module(modulename) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'jupytext'

If I run " jupyter serverextension list" I get the following: (plightning3):~/Documents/Code/s429r$ jupyter serverextension list config dir: /home/AD/s429r/.jupyter jupytext enabled

If I just run jupytext without any further command, I get: Traceback (most recent call last): File "/home/anaconda3/envs/plightning3/bin/jupytext", line 10, in sys.exit(jupytext()) File "/home/anaconda3/envs/plightning3/lib/python3.8/site-packages/jupytext/cli.py", line 356, in jupytext raise ValueError( ValueError: Please provide one of --to, --output, --set-formats, --sync, --pipe, --check, --update-metadata, --format-options, --set-kernel or --execute

Versions: python=3.8.6 jupytext=1.7.1

schuhegger commented 3 years ago

Unfortunately, opened issue at wrong place