platformio-vscode-ide: IOError: PackageManager is unable to install tool
This is a known bug with Microsoft VSCode and we depend on it https://github.com/Microsoft/vscode/issues/36630
Temporary solution
- PackageManager is unable to install tool http://docs.platformio.org/en/latest/ide/vscode.html#known-issues
>pio platform install espressif32
Please wait while upgrading PlatformIO...
Platform Espressif 32
--------
Updating espressif32 @ 0.11.0 [Up-to-date]
Updating tool-esptoolpy @ 1.20100.0 [Up-to-date]
Updating framework-arduinoespressif32 @ 1.3.2 [Up-to-date]
Uninstalling toolchain-xtensa32 @ 2.50200.0: [OK]
PlatformIO has been successfully upgraded to 3.5.0rc6!
*************************************************************************************************************************************
If you like PlatformIO, please:
- follow us on Twitter to stay up-to-date on the latest project news > https://twitter.com/PlatformIO_Org
- star it on GitHub > https://github.com/platformio/platformio
- try PlatformIO IDE for IoT development > http://platformio.org/platformio-ide
- support us with PlatformIO Plus > https://pioplus.com
*************************************************************************************************************************************
PlatformManager: Installing espressif32
espressif32 @ 0.11.0 is already installed
PackageManager: Installing toolchain-xtensa32 @ ~1.50200.2
Downloading [------------------------------------] 0%
Please manually remove file `C:\Users\tekks\.platformio\packages\_tmp_installing-au4eow-package\toolchain-xtensa32-windows-1.50200.2.tar.gz`
Warning! Package Mirror: [Error 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\tekks\\.platformio\\packages\\_tmp_installing-au4eow-package\\toolchain-xtensa32-windows-1.50200.2.tar.gz'
Looking for other mirror...
Downloading [------------------------------------] 0%
Please manually remove file `C:\Users\tekks\.platformio\packages\_tmp_installing-zzgqel-package\toolchain-xtensa32-windows-1.50200.2.tar.gz`
Warning! Package Mirror: [Error 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\tekks\\.platformio\\packages\\_tmp_installing-zzgqel-package\\toolchain-xtensa32-windows-1.50200.2.tar.gz'
Looking for other mirror...
Error: Could not install 'toolchain-xtensa32' with version requirements '~1.50200.2' for your system 'windows_amd64'.
If you use Antivirus, it can block PlatformIO Package Manager. Try to disable it for a while.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 25 (14 by maintainers)
It is now march 2018 and this bug is still not fixed, the PlatformIO IDE comparison chart clearly shows VSCode as the better host IDE and yet something as simple as installing a package basically renders the whole project unusable.
FYI the Windows team has fixed this, it will take time to get the update out though https://github.com/Microsoft/vscode/issues/36630
@tekk
pythonandpioplusC:\Python27folder if exists%HOME_DIR%/.platformiofolder.