Oldwood Take you --- Install the Python Package Permissionerror: [Winerror 32] Another program is using this file, the process is unacceptable.

tags: python

When installing the python package with xgboost, the following error may occur:

PermissionError: [WinError 32] Another program is using this file, and the process cannot be accessed.: 'C:\\Users\\AppData\\Local\\Temp\\pip-build-v7cdk88\\xgboost\\xgboost\\lib\\xgboost.dll'

Because the terminal under Window is or the GBK encoding is displayed, the PIP source code is also modified.

Open C: \ Program Files \ Python36 \ Lib \ Site-package \ Pip \ Compat \init_.py
On the 75th line, turn Return S.Decode ('UTF_8') to Return S.Decode ('CP936').

Intelligent Recommendation

[Winerror 32] Another program is using this file, the process cannot be accessed, # image processing

When making image processing, I used three modules OS, PIL, CV2. I encountered a bug who plagued one morning, I investigated several resource monitor ~~~, bug as follows: Description of Requirement: 1...

python3.7: PermissionError: [WinError 32] The process cannot access the file because it is......

Problem Description: Python3.7, using the library image inside PIL just wants to get the length and wide of the picture Newspaper is wrong D:\Python37-32\python.exe D:/pyFile/python_script/img_read.py...

Python pip install reports error PermissionError: [WinError 5] Access denied

After the new installation of python3.6 version, the use of pip to install third-party modules fails. problem analysis  Prompt error It is obvious that the error is reportedPermissionError, Shoul...

Python using multiprocessing.Manager appears PermissionError: [WinError 5] Access denied.

Run from Liao Xuefeng tutorialDistributed process Example, PermissionError: [WinError 5] when running in the windows environment Error log: Running cmd and powershell with administrator privileges sti...

python os.remove () Permissionerror: [Winerror 5] refuses to visit.

When python deletes the file of the specified path, report an error: Here you need to obtain management authority for deletion, refer to the following links https://www.codeleading.com/article/8863965...

More Recommendation

python crawler: verification code identification code|| about the problems in using tesseract. (PermissionError: [WinError 5] Access denied)

1. Tesseract installation: 1.1.tesseract download link: Baidu cloud Extraction code: u9rb File name: tesseract-ocr-setup-4.0.0-alpha.20180109 1.2 Using tesseract also requires a third-party python lib...

Oldwood Take you learning - from Google.Protobuf.Pyext Import_Message ImportError: DLL Load Failed: The specified program is not found.

When importing the Tensorflow module, the installation has been successful, and the import is not wrong, but the following error occurred at runtime. Solution: When Tensorflow is installed automatical...

Windows Python Delete File Permissions PermissionerRor: [Winerror 5] Refused access. : 'E: \\ ... \\ ... \\ TMP'

Windows Python Delete File Permissions PermissionerRor: [Winerror 5] Refused access. : 'E: \ ... \ ... \ TMP' Error code Error message Solution Welcome everyone to exchange learning, you can leave a m...

Java Process: Another program is using this file, the process cannot be accessed

When I recently dealt with strange problems, I made a low -level error, wasted a lot of time, and even watched the C code at the bottom of the JDK. The following test code is run by the Windows enviro...

Python package postpacted program error: Permissionerror: [Errno 13] Permission Denied

Python package postpacted program error: Permissionerror: [Errno 13] Permission Denied Write a small program with Python, then packaged into EXE, testing the function is perfect, but suddenly there ha...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top