kiteco / issue-tracker

User-reported issues for Kite
https://Kite.com
1.75k stars 136 forks source link

Kite seems not to be working in Jupyter Notebook with Chrome. #443

Closed angebot84 closed 3 years ago

angebot84 commented 4 years ago

Hello,

I have installed all of the required software and packages for Kite to work, but when i start jupyter notebook with a Python3 file, it makes no difference as if i haven't installed anything. How can i make Kite work in Jupyter notebook?

Please find the information below:

(base) C:\Users\gurse>pip list Package Version


alabaster 0.7.12 anaconda-client 1.7.2 anaconda-navigator 1.9.12 anaconda-project 0.8.3 argh 0.26.2 argon2-cffi 20.1.0 asn1crypto 1.4.0 astroid 2.4.2 astropy 4.0.2 async-generator 1.10 atomicwrites 1.4.0 attrs 20.2.0 autopep8 1.5.4 Babel 2.8.0 backcall 0.2.0 backports.functools-lru-cache 1.6.1 backports.shutil-get-terminal-size 1.0.0 backports.tempfile 1.0 backports.weakref 1.0.post1 bcrypt 3.2.0 beautifulsoup4 4.9.3 bitarray 1.6.0 bkcharts 0.2 bleach 3.2.1 bokeh 2.2.3 boto 2.49.0 Bottleneck 1.3.2 branca 0.4.1 brotlipy 0.7.0 certifi 2020.6.20 cffi 1.14.3 chardet 3.0.4 click 7.1.2 cloudpickle 1.6.0 clyent 1.2.2 colorama 0.4.4 comtypes 1.1.7 conda 4.9.0 conda-build 3.18.11 conda-package-handling 1.7.2 conda-verify 3.4.2 contextlib2 0.6.0.post1 cryptography 3.1.1 cycler 0.10.0 Cython 0.29.21 cytoolz 0.11.0 dask 2.30.0 decorator 4.4.2 defusedxml 0.6.0 diff-match-patch 20200713 distributed 2.30.0 distro 1.5.0 docutils 0.16 entrypoints 0.3 et-xmlfile 1.0.1 fastcache 1.1.0 filelock 3.0.12 flake8 3.8.4 Flask 1.1.2 folium 0.11.0 fsspec 0.8.3 future 0.18.2 gevent 20.9.0 glob2 0.7 gmpy2 2.0.8 greenlet 0.4.17 h5py 2.10.0 HeapDict 1.0.1 html5lib 1.1 idna 2.10 imageio 2.9.0 imagesize 1.2.0 importlib-metadata 2.0.0 inflection 0.5.1 iniconfig 1.1.1 intervaltree 3.1.0 ipykernel 5.3.4 ipython 7.18.1 ipython-genutils 0.2.0 ipywidgets 7.5.1 isort 5.6.4 itsdangerous 1.1.0 jdcal 1.4.1 jedi 0.14.1 Jinja2 2.11.2 joblib 0.17.0 json5 0.9.5 jsonschema 3.2.0 jupyter 1.0.0 jupyter-client 6.1.7 jupyter-console 6.2.0 jupyter-core 4.6.3 jupyter-kite 1.2.0 jupyterlab 2.2.6 jupyterlab-pygments 0.1.2 jupyterlab-server 1.2.0 keyring 21.4.0 kiwisolver 1.2.0 lazy-object-proxy 1.4.3 libarchive-c 2.9 llvmlite 0.34.0 locket 0.2.0 lxml 4.6.1 MarkupSafe 1.1.1 matplotlib 3.3.2 matplotlib-venn 0.11.5 mccabe 0.6.1 menuinst 1.4.16 mistune 0.8.4 mkl-fft 1.2.0 mkl-random 1.1.1 mkl-service 2.3.0 mock 4.0.2 more-itertools 8.5.0 mpl-finance 0.10.1 mpmath 1.1.0 msgpack 1.0.0 multipledispatch 0.6.0 navigator-updater 0.2.1 nbclient 0.5.1 nbconvert 6.0.7 nbformat 5.0.8 nest-asyncio 1.4.1 networkx 2.5 nltk 3.5 nose 1.3.7 notebook 6.1.4 numba 0.51.2 numexpr 2.7.1 numpy 1.19.1 numpydoc 1.1.0 olefile 0.46 openpyxl 3.0.5 packaging 20.4 pandas 1.1.3 pandas-datareader 0.8.1 pandocfilters 1.4.2 paramiko 2.7.2 parso 0.5.2 partd 1.1.0 path 15.0.0 pathlib2 2.3.5 pathtools 0.1.2 patsy 0.5.1 pep8 1.7.1 pexpect 4.8.0 pickleshare 0.7.5 Pillow 8.0.0 pip 20.2.3 pkginfo 1.6.0 plotly 4.8.2 pluggy 0.13.1 ply 3.11 prometheus-client 0.8.0 prompt-toolkit 3.0.8 psutil 5.7.2 py 1.9.0 pycodestyle 2.6.0 pycosat 0.6.3 pycparser 2.20 pycrypto 2.6.1 pycurl 7.43.0.6 pydocstyle 5.1.1 pyflakes 2.2.0 Pygments 2.7.1 pylint 2.6.0 PyNaCl 1.4.0 pyodbc 4.0.0-unsupported pyOpenSSL 19.1.0 pyparsing 2.4.7 pyreadline 2.1 pyrsistent 0.17.3 PySocks 1.7.1 pytest 0.0.0 python-dateutil 2.8.1 python-jsonrpc-server 0.4.0 python-language-server 0.31.7 pytrends 4.7.3 pytz 2020.1 PyWavelets 1.1.1 pywin32 227 pywin32-ctypes 0.2.0 pywinpty 0.5.7 PyYAML 5.3.1 pyzmq 19.0.2 QDarkStyle 2.8.1 QtAwesome 1.0.1 qtconsole 4.7.7 QtPy 1.9.0 Quandl 3.5.0 regex 2020.10.15 requests 2.24.0 retrying 1.3.3 rope 0.18.0 Rtree 0.9.4 ruamel-yaml 0.15.87 scikit-image 0.17.2 scikit-learn 0.23.2 scipy 1.5.2 seaborn 0.11.0 Send2Trash 1.5.0 setuptools 50.3.0.post20201006 simplegeneric 0.8.1 singledispatch 3.4.0.3 six 1.15.0 snowballstemmer 2.0.0 sortedcollections 1.2.1 sortedcontainers 2.2.2 soupsieve 2.0.1 Sphinx 3.2.1 sphinxcontrib-applehelp 1.0.2 sphinxcontrib-devhelp 1.0.2 sphinxcontrib-htmlhelp 1.0.3 sphinxcontrib-jsmath 1.0.1 sphinxcontrib-qthelp 1.0.3 sphinxcontrib-serializinghtml 1.1.4 sphinxcontrib-websupport 1.2.4 spyder 4.0.1 spyder-kernels 1.8.1 SQLAlchemy 1.3.19 statsmodels 0.12.0 sympy 1.6.2 tables 3.6.1 tabula-py 2.2.0 tblib 1.7.0 terminado 0.9.1 testpath 0.4.4 threadpoolctl 2.1.0 tifffile 2020.10.1 toml 0.10.1 toolz 0.11.1 torch 1.6.0 tornado 6.0.4 tqdm 4.50.2 traitlets 5.0.5 typed-ast 1.4.1 typing-extensions 3.7.4.3 ujson 4.0.1 unicodecsv 0.14.1 urllib3 1.25.11 watchdog 0.10.3 wcwidth 0.2.5 webencodings 0.5.1 Werkzeug 1.0.1 wheel 0.35.1 widgetsnbextension 3.5.1 win-inet-pton 1.1.0 win-unicode-console 0.5 wincertstore 0.2 wrapt 1.11.2 xlrd 1.2.0 XlsxWriter 1.3.7 xlwings 0.20.8 xlwt 1.3.0 xmltodict 0.12.0 yapf 0.30.0 zict 2.0.0 zipp 3.3.1 zope.event 4.5.0 zope.interface 5.1.2 WARNING: You are using pip version 20.2.3; however, version 20.2.4 is available. You should consider upgrading via the 'C:\Users\gurse\anaconda3\python.exe -m pip install --upgrade pip' command.

(base) C:\Users\gurse>jupyter labextension list JupyterLab v2.2.6 Known labextensions: app dir: C:\Users\gurse\anaconda3\share\jupyter\lab @kiteco/jupyterlab-kite v1.2.0 enabled ok

https://s3.console.aws.amazon.com/s3/object/kite-client-logs/prod/533445/kite_local/client.log.2020-10-24_12-14-48-PM.bak.gz

Thanks for the help

itsdhung commented 4 years ago

How do you know Kite isn't working? Do you see a Kite icon in JupyterLab? Is the Kite icon showing but you're just not getting completions?

Did you save the Python file with a .py file extension?

Are there any errors in Chrome's JS console when you load JupyterLab?

frankfletcher commented 3 years ago

From the title, it sounds like you are trying to use Kite with Jupyter Notebook. Kite does not work with Notebook, the plugin only exists for Jupyter Lab. If you could verify that you are using Jupyter Lab and not Jupyter Notebook, that would be useful.

angebot84 commented 3 years ago

Yes, i was trying to make Kite work with Jupyter notebook, if Kite is not working with notebook i was just on a wild goose chase. Thanks a lot for the info ;)