繁体   English   中英

由于 EnvironmentError 无法安装软件包:[WinError 32] 该进程无法访问该文件,因为它正被另一个进程使用

[英]Could not install packages due to an EnvironmentError: [WinError 32] The process cannot access the file because it is being used by another process

最近我试图在 vs 代码上的 python 中安装语音识别,但它显示一个错误,我尝试使用命令提示符但它不起作用。 这是代码

'PS C:\Users\Lenovo\Desktop\python> pip install speechRecognition      
 Collecting speechRecognition
 Using cached SpeechRecognition-3.8.1-py2.py3-none-any.whl (32.8 MB)
 ERROR: Could not install packages due to an EnvironmentError: [WinError 32] The process cannot 
 access the file because it is being used by another process: 
 'C:\\Users\\Lenovo\\AppData\\Local\\Temp\\pip-req-tracker- 
 e9sg4n2d\\7fd58c0c5ee7cc27d392ed0613487ea8ab5f15fb7f011361ee8a8fae'
 Consider using the `--user` option or check the permissions.'

尝试

python -m pip install speechRecognition

暂无
暂无

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

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