python - 由于 EnvironmentError 无法安装软件包:[WinError 32] 该进程无法访问该文件,因为它正被另一个进程使用
问题描述
最近我试图在 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
推荐阅读
- javascript - 使用 NodeJS 提出 Discord 请求(更改 Vanity Discord)
- python - 我不知道为什么它不读取我的 Mac 地址
- javascript - 使用 switch JavaScript 显示不同类型的表单
- javascript - chart js 停止图表区域功能
- architecture - 在分布式程序中,进程崩溃时如何恢复其对应的数据
- android - Android AltBeacon 库中 BLE 背景扫描的间隔限制?
- java - 如何在java中的每次迭代中打印变量的值(下一个,上一个,当前,当前下一个)?
- python - 如何在不修改第一行的情况下使用 pandas 将 excel 文件转换为 csv 文件?
- python - 如果它们存在于 df 的列中,则创建具有 True 或 False 值的新列
- http - 如何使用流使用 Labstack Echo ReverseProxy ModifyResponse