我需要使用其他文件夹中的命令行打开 Python 的帮助。目前,我只能在安装 Python 的目录中通过命令行打开 Jupyter Notebook。以下命令有效:
python -m jupyter notebook
或者
python -m notebook
排除python -m或-m导致错误。
当尝试使用相同的命令从任何其他文件夹访问 python 时,我收到以下错误:
'python' is not recognized as an internal or external command,
operable program or batch file.
当我使用jupyter notebookor时会引发类似的错误notebook。
我已经下载了 Python 并使用 IDLE 使用它。我还使用 pip 安装了 Jupyter Notebook;我通过访问 Python 所在文件夹中的 Windows Powershell 来做到这一点。
如果有人可以解释正在发生的事情以及我将来可以做些什么来避免这种情况,我也将不胜感激。感谢您的帮助!
