简体   繁体   English

使用 Pip 安装模块时出错

[英]Errors while installing modules with Pip

While installing modules with pip, I am always getting the following error: Fatal error in launcher: Unable to create process using '"c:\users\agniva roy\python.exe" "C:\Python39\Scripts\pip.exe" install os': The system cannot find the file specified.使用 pip 安装模块时,我总是收到以下错误: Fatal error in launcher: Unable to create process using '"c:\users\agniva roy\python.exe" "C:\Python39\Scripts\pip.exe" install os': The system cannot find the file specified.

To be Note: I had recently updated from Python 3.8 to Python 3.9.注意:我最近从 Python 3.8 更新到 Python 3.9。

You can uninstall and install again with the command below.您可以使用以下命令卸载并重新安装。 Can you try it?你能试试吗?

python -m pip install -U --force pip

after it, I think you can install any module.之后,我认为您可以安装任何模块。

actually I recommend to you uninstall this version of python and install it again with activating set Python path in your operating system automatically.实际上我建议你卸载这个版本的 python 并在你的操作系统中自动激活设置 Python 路径重新安装它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM