Skip to content

Permission error with _in_process #13339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
Redict opened this issue Apr 18, 2025 · 3 comments
Open
1 task done

Permission error with _in_process #13339

Redict opened this issue Apr 18, 2025 · 3 comments
Labels
type: support User Support

Comments

@Redict
Copy link

Redict commented Apr 18, 2025

Description

Installing dependencies which require building sometimes fail with access denied error if certain parameters specified.

Expected behavior

Just installing properly

pip version

23.0.1

Python version

3.10

OS

Windows

How to Reproduce

  1. Get bundled python 3.10 with pip 23.0.1
  2. Try to install package with specified parameters

Output

"C:\\Program Files\\Vector35\\BinaryNinja\\plugins\\python\\python.exe" -m pip --isolated --disable-pip-version-check install --upgrade --upgrade-strategy only-if-needed --target "C:\\Users\\<redacted>\\AppData\\Roaming\\Binary Ninja\\python310\\site-packages" unblob==24.11.13 python-magic==0.4.27

Collecting unblob-native<0.2.0,>=0.1.5
  Using cached unblob_native-0.1.6.tar.gz (36 kB)
  Installing build dependencies ... done
ERROR: Could not install packages due to an OSError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\<redacted>\\AppData\\Local\\Temp\\tmpyjo117jd_in_process.py'
Consider using the `--user` option or check the permissions.

Code of Conduct

@Redict Redict added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Apr 18, 2025
@ichard26
Copy link
Member

You should figure out why pip can't access its own files. The in-process file is created by pip (well, actually, one of its dependencies) to build a wheel for unblob_native to install. This step cannot be skipped. Do you have any aggressive antivirus installed?

@ichard26 ichard26 added type: support User Support and removed type: bug A confirmed bug or unintended behavior S: needs triage Issues/PRs that need to be triaged labels Apr 19, 2025
@Redict
Copy link
Author

Redict commented Apr 19, 2025

You should figure out why pip can't access its own files. The in-process file is created by pip (well, actually, one of its dependencies) to build a wheel for unblob_native to install. This step cannot be skipped. Do you have any aggressive antivirus installed?

No, I don't have any antivirus installed. Also running it with administrator privileges.

@notatallshaw
Copy link
Member

We only support the latest version of pip, can you please check with pip 25.0.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: support User Support
Projects
None yet
Development

No branches or pull requests

3 participants