jupyter未安装在带有pip3的venv中

2024-10-16 17:16:35 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试从虚拟环境中运行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,以便在其中运行吗

我在这里寻找类似的问题,但没有找到任何可以解决我问题的方法


Tags: 实例消息whichhomebinvenv错误pip3