You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PlatformIO Core.
If you’ve found a bug, please provide an information below.
Configuration
Operating system: Win 10 x64
PlatformIO Version (platformio --version): 6.1.7a2
Description of problem
When PlatformIO is installed in the system-wide Python interpreter, executing pio upgrade --dev fails with a
ERROR: Could not install packages due to an OSError: [WinError 32] The process cannot access the file because it used by another process 'c:\\users\\max\\appdata\\roaming\\python\\python311\\scripts\\pio.exe'
Check the permissions.
error message. I think what's going on here is that, when pio upgrade --dev is executed, the pio.exe binary starts, but tries to replace itself through pip, while it's still running of course. This configuration however never failed on previous PlatformIO versions.
What kind of issue is this?
If you’ve found a bug, please provide an information below.
Configuration
Operating system: Win 10 x64
PlatformIO Version (
platformio --version
): 6.1.7a2Description of problem
When PlatformIO is installed in the system-wide Python interpreter, executing
pio upgrade --dev
fails with aerror message. I think what's going on here is that, when
pio upgrade --dev
is executed, thepio.exe
binary starts, but tries to replace itself throughpip
, while it's still running of course. This configuration however never failed on previous PlatformIO versions.Manually executing
made the installation go through. However even after that (latest dev core installed) the
pio upgrade --dev
fails again.Steps to Reproduce
python3 -m pip install platformio
pio upgrade --dev
Actual Results
Expected Results
PlatformIO upgrade works.
If problems with PlatformIO Build System:
Not applicable
Additional info
The text was updated successfully, but these errors were encountered: