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

No tab suggestions in Jupyter Lab console/notebook #469

Closed
munael opened this issue Dec 26, 2018 · 4 comments
Closed

No tab suggestions in Jupyter Lab console/notebook #469

munael opened this issue Dec 26, 2018 · 4 comments

Comments

@munael
Copy link

munael commented Dec 26, 2018

Coconut kernels in the latest Jupyter Lab (console and notebook) do not show any suggestions on tab press. Proper Python works fine.

What logs/configs should I bring to you here?

@evhub evhub added the feature label Dec 26, 2018
@evhub evhub added this to the v1.5.0 milestone Dec 26, 2018
@evhub evhub added bug and removed feature labels Dec 26, 2018
@evhub evhub modified the milestones: v1.5.0, v1.4.1 Dec 26, 2018
@evhub evhub added oversight and removed bug labels Dec 26, 2018
@hoishing
Copy link

same here, losing code completion in jupyter does affect productivity / usability... hope it can be fixed soon 🙏

@hoishing
Copy link

Just found a work-around about it. Seems the code completion problem is caused by the jupyter-console module not supporting prompt-toolkit 2.0 yet. So downgrading prompt-toolkit to 1.0.15 could help.

If you use conda to install the packages, you may downgrade it by:

conda install prompt_toolkit=1.0.15

3 packages will be downgraded together

ipython: 7.2.0-py36h39e3cac_0 --> 6.5.0-py36_0
jupyter_console: 6.0.0-py36_0 --> 5.2.0-py36_1
prompt_toolkit: 2.0.7-py36_0 --> 1.0.15-py36haeda067_0

then restart jupyter and the code completion is back 🎉

@munael
Copy link
Author

munael commented Jan 17, 2019

Just found a work-around about it. Seems the code completion problem is caused by the jupyter-console module not supporting prompt-toolkit 2.0 yet. So downgrading prompt-toolkit to 1.0.15 could help.

If you use conda to install the packages, you may downgrade it by:

conda install prompt_toolkit=1.0.15

3 packages will be downgraded together

ipython: 7.2.0-py36h39e3cac_0 --> 6.5.0-py36_0
jupyter_console: 6.0.0-py36_0 --> 5.2.0-py36_1
prompt_toolkit: 2.0.7-py36_0 --> 1.0.15-py36haeda067_0

then restart jupyter and the code completion is back 🎉

According to jupyter/jupyter_console#158 , it should actually be fixed with the combination you had at first, so this very weird.

@evhub evhub added the resolved label Apr 16, 2019
evhub added a commit that referenced this issue Apr 16, 2019
@evhub
Copy link
Owner

evhub commented Apr 16, 2019

@narfanar @hoishing This should now be fixed on coconut-develop. Just pip install -U coconut-develop to get the latest version.

@evhub evhub closed this as completed Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants