Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notebooks not syncing or executing #11

Open
theTechGoose opened this issue Feb 5, 2022 · 1 comment
Open

Notebooks not syncing or executing #11

theTechGoose opened this issue Feb 5, 2022 · 1 comment

Comments

@theTechGoose
Copy link

Same issue as #11 however I do not have the knowhow to execute manually.

jupyter nbextension list
jupyter serverextension list
Known nbextensions:
config dir: /Library/Frameworks/Python.framework/Versions/3.10/etc/jupyter/nbconfig
notebook section
jupytext/index enabled
- Validating: OK
jupyter-js-widgets/extension enabled
- Validating: OK
jupyter_ascending/extension enabled
- Validating: OK
config dir: /Library/Frameworks/Python.framework/Versions/3.10/etc/jupyter
jupytext enabled
- Validating...
jupytext 1.13.6 OK
jupyter_ascending enabled
- Validating...
jupyter_ascending 0.1.23 OK

I am trying to follow the tutorial here:
https://alpha2phi.medium.com/jupyter-notebook-vim-neovim-c2d67d56d563

I had to change this command:
python -m jupyter_ascending.scripts.make_pair --base 01_data_prep

to
python3 -m jupyter_ascending.scripts.make_pair --base 01_data_prep

@rrgalvan
Copy link

I found a fix to this issue in Ubuntu 22:04

The problem is that jupyter_ascending.vim tries to execute "python", according to https://github.com/untitled-ai/jupyter_ascending.vim/blob/master/doc/jupyter_ascending.txt. But starting with Debian 11 and Ubuntu 20.04 releases, all python packages use explicit python3 or python2 interpreter and do not use unversioned /usr/bin/python.

For solving this issue, you can symlink /usr/bin/python to /usr/bin/python3. This is made automatically by installing the Debian/Ubuntu package python-is-python3. I think a better solution might be modifying the variable "jupyter_ascending_python_executable" or something like that, but I am not expert enough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants