【发布时间】:2021-04-02 08:21:10
【问题描述】:
我通过 Anaconda 安装了 Qiskit,并在 Python 3.8 中设置了一个虚拟环境。当我运行 (.venv) C:\Users\brenm>jupyter notebook(在 Anaconda 提示符中)时,它失败并抛出 'jupyter' is not recognized as an internal or external command, operable program or batch file.
为了解决这个问题,我运行了 (.venv) C:\Users\brenm>python -m pip install jupyter --user 并正确安装了 jupyter notebook。但是当我在 Anaconda 提示符中运行 jupyter notebook 时,它仍然会抛出 'jupyter' is not recognized as an internal or external command, operable program or batch file.
我对正在发生的事情感到非常困惑,因为我认为 jupyter notebook 是应该已经安装的 Qiskit 依赖项。更何况,我很困惑为什么当我手动安装 jupyter notebook 时,命令jupyter notebook 无法识别。
【问题讨论】:
标签: python python-3.x jupyter-notebook anaconda qiskit