簡體   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