gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-03 05:07:39 24 4
gpt4 key购买 nike

当我在 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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com