Coder Social home page Coder Social logo

Comments (8)

dancebean avatar dancebean commented on June 3, 2024 2

I'm having the similar issue. The tabnine extension works find in the jupyter notebook but not jupyter lab. When running jupyter lab After following the DEBUG process here: https://github.com/wenmin-wu/jupyter-tabnine/blob/master/DEBUG.md, the logs in the inspect console didn't show anything started with [nbextensions/jupyter_tabnine/main], (which is shown when using jupyter notebook in the same virtualenv), so apparently, the extension is not running in the background for jupyter lab ...

from jupyter-tabnine.

sergioacmacedo avatar sergioacmacedo commented on June 3, 2024 1

Hi,
I am a Windows 10 user and was experiencing the same issue @nimabte described above. After some trial and error I was able to make TabNine semantic completion work for by creating the file TabNine.toml, following the instructions in https://www.tabnine.com/semantic, but I had to change the command field:

[language.python]
command = "python -m pyls"
install = [["pip", "install", "python-language-server"]]

from jupyter-tabnine.

wenmin-wu avatar wenmin-wu commented on June 3, 2024

Hi @alvinjamur, please refer to this doc https://github.com/wenmin-wu/jupyter-tabnine/blob/master/DEBUG.md to give me more information about your problem.

from jupyter-tabnine.

Rouizi avatar Rouizi commented on June 3, 2024

@alvinjamur you have permission denied in step 2, try with sudo:

sudo jupyter nbextension install --py jupyter_tabnine

from jupyter-tabnine.

syifa-humaira avatar syifa-humaira commented on June 3, 2024

hi, i had follow the instruction for installation tabnine from your github, but that not working in my jupyter notebook . The entire of installation process was successful but when i try to debug tabnine i had notice like this . How can i solve this problem ? thank you
tabnine

from jupyter-tabnine.

nimabte avatar nimabte commented on June 3, 2024

Hi,

I have installed TabNine for python in jupyter notebook installed through Anaconda.
And I have the same problem that TabNine is unable to start the python semantic completion backend.
I tried as suggested in https://www.tabnine.com/semantic
I created TabNine.toml and wrote the following in It.

[language.python]
command = "pyls"
install = [["pip", "install", "python-language-server"]

and restarted TabNine. but still, it can not run the command. (the full PATH also didn't take me anywhere)
Is there a solution to this problem?
thanks

from jupyter-tabnine.

nimabte avatar nimabte commented on June 3, 2024

Hi,
I am a Windows 10 user and was experiencing the same issue @nimabte described above. After some trial and error I was able to make TabNine semantic completion work for by creating the file TabNine.toml, following the instructions in https://www.tabnine.com/semantic, but I had to change the command field:

[language.python]
command = "python -m pyls"
install = [["pip", "install", "python-language-server"]]

@sergioacmacedo Thanks for the reply

I tried it! didn't work for me!
with the same message:

TabNine was unable to start the python semantic completion backend.
The command tried was: `python -m pyls`
This means you need to install the backend manually.
For help, see tabnine.com/semantic.
Or, type TabNine::no_sem to disable semantic completion for Python.

from jupyter-tabnine.

saidnamyzO avatar saidnamyzO commented on June 3, 2024

I'm facing the same issue, nbextension install is trying to use system path instead of the anaconda environment.

from jupyter-tabnine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.