用pip安装jupyter后,终端仍然找不到jupyter笔记本。
Ubuntu只是说命令没有找到。与ipython类似。pip没有安装好还是怎么了?Ubuntu如何知道在哪里寻找安装了pip的可执行文件?
用pip安装jupyter后,终端仍然找不到jupyter笔记本。
Ubuntu只是说命令没有找到。与ipython类似。pip没有安装好还是怎么了?Ubuntu如何知道在哪里寻找安装了pip的可执行文件?
当前回答
用conda重新安装jupyter:
conda install jupyter
其他回答
在Ubuntu上安装Jupyter Notebook之后,我得到了以下错误:
异常:Jupyter命令' Jupyter -notebook'未找到。
我使用简单的命令,它为我工作
PIP install——upgrade——force-重装——no-cache-dir jupyter
来源:http://commandstech.com/how-to-install-jupyter-on-ubuntu16-04-with-pictures-commands-errors-solution/
从root用户退出后执行:
朱皮特笔记本
我用下面的命令从源代码编译了python3.7
./configure --prefix=/opt/python3.7.4 --with-ssl
make
make install
pip3.7安装jupyter后,我发现可执行文件在/opt/python3.7.4/bin下
在Python3编译后缺少sqlite3以获得更多关于python3.7和ubuntu14.04下pip的详细信息
为了能够从终端运行jupyter notebook,您需要确保~/。Local /bin在您的路径中。
通过执行export PATH=$PATH:~/来实现。当前会话的本地/bin,或者将该行添加到~/的末尾。Bashrc使您的更改在以后的会话中持续(例如使用nano ~/. Bashrc)。如果您编辑~/。Bashrc,您将需要登出并重新登录,以查看您的更改生效。
安装 jupyterlab。
如果你得到这个错误:
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
requests 2.25.1 requires idna<3,>=2.5, but you'll have idna 3.1 which is incompatible.
用这个:
pip3 install jupyterlab --use-feature=2020-resolver
使用Ctrl+Alt+T打开终端窗口。 执行gedit ~/.profile命令。 加线。导出路径= $路径:/。local / bin / jupyter-notebook。到底部保存。 注销后重新登录。
希望这能起作用。