未使用pip3在venv中安装jupyter

时间:2019-12-09 19:30:56

标签: python pip jupyter-notebook

我正在尝试从虚拟环境中运行jupyter笔记本。

我用Python3.6创建了一个vevn并使用pip3来安装软件包。

我用pip3安装了jupyter(请参阅下面的内容),但未收到任何错误消息。现在,当我尝试打开此jupyter实例时,出现一个错误,提示未找到笔记本。

(venv) user@user-vm:~/bml$ pip3 install jupyter


(venv) user@user-vm:~/bml$ which jupyter
/home/user/.local/bin/jupyter
(venv) user@user-vm:~/bml$ which pip3
/home/user/bml/venv/bin/pip3
(venv) user@user-vm:~/bml$ jupyter notebook
bash: /home/user/bml/venv/bin/jupyter: No such file or directory

现在我很困惑,因为我用pip3安装的所有软件包都已安装在venv中,而jupyter尚未安装。

能否请您告诉我如何在venv中安装jupyter,以便可以在其中运行它?

我在这里搜索了类似的问题,但找不到能解决我问题的任何东西。

0 个答案:

没有答案