0
点赞
收藏
分享

微信扫一扫

Jupyter 运行没效果

情况:

刚安装Jupyter, 运行的时候都没有结果


解决方案:

因为, 我缺少: ​prompt-toolkit

存放jupyte处理的文件下, 运行​Anacoda Prompt​黑窗口: 

pip install --upgrade prompt-toolkit


​如果解决不了: 可以尝试​:

python -m ipykernel install --user


其他

实在不行, 从新创建一个环境:

这是从 Stack Overflow里面有人说可以: 

Jupyter 运行没效果_解决方案

说明可代码:

Execute Anaconda prompt.
Type conda create --name $ENVIRONMENT_NAME R -y
Type conda activate $ENVIRONMENT_NAME
Type python -m ipykernel install
Type ipython kernel install --user --name $ENVIRONMENT_NAME
Then, you'll have a new jupyter kernel named 'R' with R installed.





举报

相关推荐

0 条评论