当我尝试pip install jupyter时,我遇到了这个错误。我该怎么办?
WARNING: The scripts jupyter-migrate.exe, jupyter-troubleshoot.exe and jupyter.exe are installed in 'C:\Users\YOOZBOARD\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\\Users\\YOOZBOARD\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\jedi\\third_party\\typeshed\\third_party\\2and3\\requests\\packages\\urllib3\\packages\\ssl_match_hostname\\_implementation.pyi'
字符串
jupyter安装
1条答案
按热度按时间gopyfrb31#
您可以先尝试
conda update conda
和pip install --upgrade pip
。然后,如果你愿意,你可以创建一个新的虚拟环境,并尝试在那里安装Jupyter和其他包。
conda create --name yourenv
然后激活虚拟环境:conda activate yourenv
个你可以使用conda安装jupyter:
字符串
或者使用pip安装Jupyter:
型
然后在虚拟环境中,您可以通过
jupyter notebook
启动jupyter notebook。