i've been trying to install Kite in JupyterLab v2.2.6. I have dowloaded and installed Kite, have node.js 15.0.1 and i've run the console commands:
pip install jupyter-kite
jupyter labextension install "#kiteco/jupyterlab-kite"
i have no problems with either and when i check in jupyter extension manager it tells me that it is installed
Kite missing some dependencies error message in jupyterlab
Update for macOS Catalina users, try upgrading JupyterLab > 2.2.9:
Open Terminal:
$ conda install -c conda-forge jupyterlab=3.0.3
Open Kite copilot:
-->
Home
-->
Redo Setup
Open Terminal:
$ pip install "jupyterlab-kite>=2.0.2"
As of this post, Kite works with:
jupyterlab 3.2.7
jupyterlab-kite 2.0.2
JupyterLab:
conda install -c conda-forge jupyterlab=3.2.7
or
pip install jupyterlab==3.2.7
Kite:
pip install jupyterlab-kite>=2.0.2 (only PyPI)
jupyter labextension install "#kiteco/jupyterlab-kite"
Note also that as of this post, there is no Kite extension for VS Code that is compatible with .ipynb. The VS Code Kite extension is compatible with .py .go .js .jsx .vue only.
In addition, you can no longer download the Kite engine from the Kite website.
Adam has posted the installers here.
macOS
Windows
Linux
I had the same problem and for me the following worked:
Reinstalled Anaconda and then I updated the provided JupyterLab version in the (base) terminal. (You would like to update your JupyterLab in the respective virtual environment you are using Anaconda with.)
conda install -c conda-forge jupyterlab==2.2.9
The JupyterLab version in your Anaconda should show 2.2.9 after you restart Anaconda. After this, download node.js and install it on you computer. Then follow the instructions in your Kite desktop app to install the Jupyter Kite extension via the (base) terminal:
pip install jupyter-kite
jupyter labextension install "#kiteco/jupyterlab-kite"
Open your Kite desktop app and click on Redo Setup under the Home section.
In your JupyterLab Kite: Initializing should appear down in the left corner.
Related
I am trying to install ipython notebook on Linux. System specs are as follows: Red Hat Enterprise Linux Server. PRODUCT VERSION 7.5
Anaconda (Dec 30 2018) with python 3.6 has already been installed.
To install ipython notebook, i was doing the following:
$ pip install ipython
and
$ pip install jupyterlab
and
$ conda install -c conda-forge jupyterlab
However, i was always getting the same error as follows:
any ideas please?
Two issues:
Your computer is not connected to the internet.
Try using
pip3
for python 3.6
Plotly is not working in Jupyterlab. I assume that there is a conflict in required extensions but I'm not sure.
On checking troubleshooting on Plotly https://plotly.com/python/troubleshooting/ , they advise to remove extensions and install them again.
But I found that there is additional extension that came with Jupyterlab update called 'jupyterlab-plotly-extension'
which is not mentioned by Plotly in their instructions to make it working in JupyterLab https://plotly.com/python/getting-started/#jupyterlab-support-python-35
My question is: which extensions should be installed to make Plotly working in JupyterLab?
jupyterlab-plotly as mentioned in Plotly support
jupyterlab-plotly-extension that came with JupyterLab
You can install plotly using pip or conda:
pip install "plotly>=5" "ipywidgets>=7.6"
# or if using conda
# conda install -c plotly "plotly>=5"
# conda install "ipywidgets>=7.6"
Plotly comes with support for both the Jupyter Notebook and JupyterLab. There is no need to install anything else for JupyterLab 3.0 and newer. The widget package and the renderer package are both included in plotly starting from v5.
For older versions of JupyterLab (1.x and 2.x) you will need a recent Node.js installed and install additional packages; do not run these commands if using newer version of JupyterLab:
pip install "ipywidgets>=7.5"
# renderer support
jupyter labextension install jupyterlab-plotly
# OPTIONAL: Jupyter widgets extension
jupyter labextension install #jupyter-widgets/jupyterlab-manager plotlywidget
Enter 'jupyter labextension list' in a terminal or command to run the environment status. The example below shows my environment information with 'jupyter lab' running successfully.
xxxxx-no-iMac:~ xxxxx$ jupyter labextension list
JupyterLab v2.1.5
Known labextensions:
app dir: /Library/Frameworks/Python.framework/Versions/3.6/share/jupyter/lab
#jupyter-widgets/jupyterlab-manager v2.0.0 enabled OK
#jupyterlab/git v0.20.0 enabled OK
#lckr/jupyterlab_variableinspector v0.5.0 enabled OK
jupyterlab-plotly v1.5.4 enabled OK
nbdime-jupyterlab v2.0.0 enabled OK
plotlywidget v1.5.4 enabled OK
Assuming that you have installed all the libraries correctly (make sure you have ipywidgets and nodejs installed) and assuming one is using conda, access conda prompt for the environment one is working (the "Server" environment).
Then, you will need to install the extension(s) jupyterlab-plotly (the library nodejs will be required now)
jupyter labextension install jupyterlab-plotly#4.14.3
and plotlywidget [optional] - this one requires nodejs >=10.0.0
jupyter labextension install #jupyter-widgets/jupyterlab-manager plotlywidget#4.14.1
For a more detailed explanation, you may want to read my answer here.
upyterLab Support (Python 3.5+)
For use in JupyterLab, install the jupyterlab and ipywidgets packages using pip...
$ pip install jupyterlab "ipywidgets>=7.5"
or conda.
$ conda install jupyterlab "ipywidgets=7.5"
Then run the following commands to install the required JupyterLab extensions (note that this will require node to be installed):
JupyterLab renderer support
jupyter labextension install jupyterlab-plotly#4.12.0
OPTIONAL: Jupyter widgets extension
jupyter labextension install #jupyter-widgets/jupyterlab-manager plotlywidget#4.12.0
Refer:
https://plotly.com/python/getting-started/#jupyterlab-support-python-35
I had a problem with jupyter notebook. Every time I started a notebook, kernel died.
So, I decided to uninstall jupyter notebook using pip:
pip uninstall jupyter notebook
After successful uninstallation, I installed again, using same pip:
pip install jupyter notebook
Then, as usually, I typed in cmd:
jupyter notebook
But got this error:
'jupyter' is not recognized as an internal or external command,
operable program or batch file.
So I checked the location of IPython, and found out that now the right file, which I want to call is jupyter-notebook, which different from jupyter notebook by dash sign. If I run jupyter-notebook from cmd everything works.
Can anyone explain, what happened and why the file now called jupyter-notebook?
Thank You
Because pip uses the legacy Python 2.
Use pip3 to install:
pip3 install --upgrade pip
pip3 install jupyter
jupyter notebook #to start jupyter notebook
I highly recommend installing Anaconda.
Download Anaconda here.
Then use :
bash
to install it.
Good Luck.
A solution without installing Anaconda, or conda:
sudo easy_install pip==20.3.4
pip2 install virtualenv
virtualenv jupyter
source jupyter/bin/activate
pip2 install jupyter
jupyter notebook
This solution was tested on:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.7 LTS
Release: 16.04
Codename: xenial
It was run on 32bit Chromenotebook, with Firefox vs NetSurf installed on xenial
Jupyter notebook will be open automatically. However, everytime loging in on Jupiter again, at first source needs to be activated:
source jupyter/bin/activate
and then:
jupyter notebook
to start
I recommend that you always use conda instead of pip to install the Jupyter Notebook.
In your case, for example, I will recommend:
conda install jupyter notebook
and not pip install jupyter notebook I can see that most of the problems that you described there are environment related and hence you can often run into environment issues while using pip to install jupyter
I installed a copy of Anaconda to play around with, but decided I liked Homebrew better, so I removed it. However, this seems to have messed up my install of Jupyter Notebooks, as I can no longer access it. I reinstalled it with pip install jupyter and when I run pip show jupyter I get:
Version: 1.0.0
Summary: Jupyter metapackage. Install all the Jupyter components in one go.
Home-page: http://jupyter.org
Author: Jupyter Development Team
Author-email: jupyter#googlegroups.org
License: BSD
Location: /usr/local/lib/python2.7/site-packages
Requires: ipywidgets, nbconvert, notebook, jupyter-console, qtconsole, ipykernel
But when I run which -a jupyter I get nothing. I even tried uninstalling and installing python again via Homebrew and it still gives me the error, -bash: jupyter: command not found.
I have python installed correctly, which -a python gives:
/usr/local/bin/python
/usr/bin/python
Any ideas as to why it might not be working?
I'm on Mac and am using Zsh. For some reason, after I installed Python3, the following line:
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
was added to .zprofile instead of .zshrc.
I transferred the line to .zshrc and did source ~/.zshrc. That did the trick.
The below command seems to install only python files (under /usr/local/lib/python2.7/site-packages in your case):
pip install jupyter
You can run the jupyter as a Python's module like this:
python -m jupyter
To see all installed modules you can type the following command from the Python's shell:
help('modules')
As an alternative you can try to upgrade the package:
pip install --upgrade pip
pip install --upgrade jupyter
If you want to access the jupyter by simply typing jupyter in your shell then the path to the jupyter's binary file should be placed inside the PATH variable.
During the installation of Anaconda software the jupyter binary is placed under /usr/local/bin/jupyter (Ubuntu 14.04).
On Mac OS Mojave,
pip3 install jupyter
installs jupyter under
/Library/Frameworks/Python.framework/Versions/3.5/bin/
. Your version may be different from 3.5. You can then link to the binary there as follows.
ln -s /Library/Frameworks/Python.framework/Versions/3.5/bin/jupyter /usr/local/bin/
In the rare case that /usr/local/bin/ is not on your PATH, you may replace it above with some folder that is.
python -m notebook
should do the trick
I've been trying to install Quantopian zipline (http://www.zipline.io/) python package through Anaconda, but have not been able to. When I run either of the lines below
conda install -c Quantopian zipline
conda install --channel https://conda.anaconda.org/Quantopian zipline
in the Anaconda prompt, I get a short pause and the message
Fetching package metadata...
Solving package specification..
Error: package missing in current win-64 channels:
-zipline
However, if I run the search command "anaconda search -t conda zipline" I can see that Quantopian/zipline has a win-64 compatible package.
I have a 64-bit Windows 8.1 with conda ver 4.0.5.
Please check if the latest zipline has been build in their channel.
the same error happened to one of my colleagues with the last version of zipline (1.1.0) and mac OsX.
We figured out that the guys at Quantopian didn't publish a build for that OS.
Workaround:
1 - try to install zipline via pip (as they say in the guidelines)
or
2 - Download the source code ad build it by yourself :-)
These are the Requirements/ Steps to Make Zipline Work:
Install Microsoft Visual C++ 2010 Express
Download and install python 3.4
Download zipline from github and Extract in C:/
Set Anaconda as project interpreter
Since zipline is compatible with Python 3.4, you need to create an environment with Python 3.4
Run this command in console of IDE:
$conda create -n python34 python=3.4 anaconda(replace py34 with the location of python34 folder)
Now run this command in console:
$activate python34 #Activates the python 3.4 environment
$pip install -e C:\GitHub\zipline (Directory where you extracted zipline)
Ingest data from quandl with below command
$zipline ingest
Hope this helps.
The latest Zipline-Trader version was released. For stable version pip install zipline-trader For more info follow docs for installation.