python-3.x - 执行时出错 `jupyter notebook`(没有这样的文件或目录)

标签 python-3.x jupyter-notebook

当我在 Arch Linux 的虚拟环境中执行 jupyter notebook 时,出现以下错误。

执行 Jupyter 命令“notebook”时出错:[Errno 2] 没有这样的文件或目录

我的Python版本是3.6,我的Jupyter版本是4.3.0

如何解决这个问题?

最佳答案

在我看来,安装似乎有些困惑。尝试运行:

# For Python 2
pip install --upgrade --force-reinstall --no-cache-dir jupyter
# For Python 3
pip3 install --upgrade --force-reinstall --no-cache-dir jupyter

这应该重新安装 PyPi 中的所有内容。这应该可以解决问题,因为我认为运行pip install "ipython[notebook]"会把事情搞砸。

关于python-3.x - 执行时出错 `jupyter notebook`(没有这样的文件或目录),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42648610/

相关文章:

r - 无法将 bigrquery 与标准 sql 一起使用

python - 如何防止 Jupyter Notebook 下载 PDF 打印超出边距?

sqlalchemy - 使用 Jupyter SQL Magic 时如何关闭连接?

Python 3 和开源 : Are there any good projects?

python - Jupyter notebook 不连接内核(2) - conda + mc os 11.5 + appnope

colors - 将 Sublime3 的 Monokai 配色方案复制到 Jupyter Notebooks

python - rw+ 和 r+ 有什么区别

python - Python 3 中大于 10^2000 的数字的平方根

python - 如何在 Python 中混合使用多个可选参数?

python - python 中用户定义的不可变变量,不带子类化