安装kite,官网现在的要配置yum很麻烦
先安装kite
bash -c "$(wget -q -O - https://linux.kite.com/dls/linux/current)"
安装jupyter需要的环境
sudo apt-get update
sudo apt install npm
sudo npm install npm@latest -g
sudo apt remove nodejs nodejs-legacy npm
sudo apt install -y nodejs npm
pip install --upgrade pip
pip install --pre jupyterlab==2.2.0a1
#pip install --pre jupyterlab==2.3.0a1
conda install nodejs
# conda update -c conda-forge nodejs #nodejs找不到包的时候加上这条命令
pip install jupyter-kite
jupyter labextension install @kiteco/jupyterlab-kite%