platformio / platformio-vscode-ide

PlatformIO IDE for VSCode: The next generation integrated development environment for IoT
https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide
Apache License 2.0
1.22k stars 195 forks source link

PIO for VSCode Installation Error #3712

Closed cncherisher closed 1 year ago

cncherisher commented 1 year ago

Description of problem follow this tutorial https://docs.platformio.org/en/latest/integration/ide/vscode.html#id1

System configuration Version: 1.78.2 (system setup) Date: 2023-05-10T14:39:26.248Z Electron: 22.5.2 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Windows_NT x64 10.0.19045 PIO IDE: v3.1.1

Exception

Error:   error: subprocess-exited-with-error      python setup.py bdist_wheel did not run successfully.   exit code: 1      [435 lines of output]   running bdist_wheel   running build   running build_py   creating build   creating build\lib   creating build\lib\platformio   copying platformio\app.py -> build\lib\platformio   copying platformio\cache.py -> build\lib\platformio   copying platformio\cli.py -> build\lib\platformio   copying platformio\compat.py -> build\lib\platformio   copying platformio\exception.py -> build\lib\platformio   copying platformio\fs.py -> build\lib\platformio   copying platformio\http.py -> build\lib\platformio   copying platformio\maintenance....
Error:   error: subprocess-exited-with-error

  python setup.py bdist_wheel did not run successfully.
  exit code: 1

  [435 lines of output]
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib
  creating build\lib\platformio
  copying platformio\app.py -> build\lib\platformio
  copying platformio\cache.py -> build\lib\platformio
  copying platformio\cli.py -> build\lib\platformio
  copying platformio\compat.py -> build\lib\platformio
  copying platformio\exception.py -> build\lib\platformio
  copying platformio\fs.py -> build\lib\platformio
  copying platformio\http.py -> build\lib\platformio
  copying platformio\maintenance.py -> build\lib\platformio
  copying platformio\proc.py -> build\lib\platformio
  copying platformio\public.py -> build\lib\platformio
  copying platformio\telemetry.py -> build\lib\platformio
  copying platformio\util.py -> build\lib\platformio
  copying platformio\__init__.py -> build\lib\platformio
  copying platformio\__main__.py -> build\lib\platformio
  creating build\lib\platformio\account
  copying platformio\account\cli.py -> build\lib\platformio\account
  copying platformio\account\client.py -> build\lib\platformio\account
  copying platformio\account\validate.py -> build\lib\platformio\account
  copying platformio\account\__init__.py -> build\lib\platformio\account
  creating build\lib\platformio\builder
  copying platformio\builder\main.py -> build\lib\platformio\builder
  copying platformio\builder\__init__.py -> build\lib\platformio\builder
  creating build\lib\platformio\check
  copying platformio\check\cli.py -> build\lib\platformio\check
  copying platformio\check\defect.py -> build\lib\platformio\check
  copying platformio\check\__init__.py -> build\lib\platformio\check
  creating build\lib\platformio\commands
  copying platformio\commands\boards.py -> build\lib\platformio\commands
  copying platformio\commands\ci.py -> build\lib\platformio\commands
  copying platformio\commands\lib.py -> build\lib\platformio\commands
  copying platformio\commands\platform.py -> build\lib\platformio\commands
  copying platformio\commands\settings.py -> build\lib\platformio\commands
  copying platformio\commands\update.py -> build\lib\platformio\commands
  copying platformio\commands\upgrade.py -> build\lib\platformio\commands
  copying platformio\commands\__init__.py -> build\lib\platformio\commands
  creating build\lib\platformio\debug
  copying platformio\debug\cli.py -> build\lib\platformio\debug
  copying platformio\debug\exception.py -> build\lib\platformio\debug
  copying platformio\debug\helpers.py -> build\lib\platformio\debug
  copying platformio\debug\__init__.py -> build\lib\platformio\debug
  creating build\lib\platformio\device
  copying platformio\device\cli.py -> build\lib\platformio\device
  copying platformio\device\finder.py -> build\lib\platformio\device
  copying platformio\device\__init__.py -> build\lib\platformio\device
  creating build\lib\platformio\home
  copying platformio\home\cli.py -> build\lib\platformio\home
  copying platformio\home\run.py -> build\lib\platformio\home
  copying platformio\home\__init__.py -> build\lib\platformio\home
  creating build\lib\platformio\package
  copying platformio\package\cli.py -> build\lib\platformio\package
  copying platformio\package\download.py -> build\lib\platformio\package
  copying platformio\package\exception.py -> build\lib\platformio\package
  copying platformio\package\lockfile.py -> build\lib\platformio\package
  copying platformio\package\meta.py -> build\lib\platformio\package
  copying platformio\package\pack.py -> build\lib\platformio\package
  copying platformio\package\unpack.py -> build\lib\platformio\package
  copying platformio\package\vcsclient.py -> build\lib\platformio\package
  copying platformio\package\version.py -> build\lib\platformio\package
  copying platformio\package\__init__.py -> build\lib\platformio\package
  creating build\lib\platformio\platform
  copying platformio\platform\base.py -> build\lib\platformio\platform
  copying platformio\platform\board.py -> build\lib\platformio\platform
  copying platformio\platform\exception.py -> build\lib\platformio\platform
  copying platformio\platform\factory.py -> build\lib\platformio\platform
  copying platformio\platform\_packages.py -> build\lib\platformio\platform
  copying platformio\platform\_run.py -> build\lib\platformio\platform
  copying platformio\platform\__init__.py -> build\lib\platformio\platform
  creating build\lib\platformio\project
  copying platformio\project\cli.py -> build\lib\platformio\project
  copying platformio\project\config.py -> build\lib\platformio\project
  copying platformio\project\exception.py -> build\lib\platformio\project
  copying platformio\project\helpers.py -> build\lib\platformio\project
  copying platformio\project\options.py -> build\lib\platformio\project
  copying platformio\project\savedeps.py -> build\lib\platformio\project
  copying platformio\project\__init__.py -> build\lib\platformio\project
  creating build\lib\platformio\registry
  copying platformio\registry\client.py -> build\lib\platformio\registry
  copying platformio\registry\mirror.py -> build\lib\platformio\registry
  copying platformio\registry\__init__.py -> build\lib\platformio\registry
  creating build\lib\platformio\remote
  copying platformio\remote\cli.py -> build\lib\platformio\remote
  copying platformio\remote\projectsync.py -> build\lib\platformio\remote
  copying platformio\remote\__init__.py -> build\lib\platformio\remote
  creating build\lib\platformio\run
  copying platformio\run\cli.py -> build\lib\platformio\run
  copying platformio\run\helpers.py -> build\lib\platformio\run
  copying platformio\run\processor.py -> build\lib\platformio\run
  copying platformio\run\__init__.py -> build\lib\platformio\run
  creating build\lib\platformio\system
  copying platformio\system\cli.py -> build\lib\platformio\system
  copying platformio\system\completion.py -> build\lib\platformio\system
  copying platformio\system\prune.py -> build\lib\platformio\system
  copying platformio\system\__init__.py -> build\lib\platformio\system
  creating build\lib\platformio\test
  copying platformio\test\cli.py -> build\lib\platformio\test
  copying platformio\test\exception.py -> build\lib\platformio\test
  copying platformio\test\helpers.py -> build\lib\platformio\test
  copying platformio\test\result.py -> build\lib\platformio\test
  copying platformio\test\__init__.py -> build\lib\platformio\test
  creating build\lib\platformio\account\commands
  copying platformio\account\commands\destroy.py -> build\lib\platformio\account\commands
  copying platformio\account\commands\forgot.py -> build\lib\platformio\account\commands
  copying platformio\account\commands\login.py -> build\lib\platformio\account\commands
  copying platformio\account\commands\logout.py -> build\lib\platformio\account\commands
  copying platformio\account\commands\password.py -> build\lib\platformio\account\commands
  copying platformio\account\commands\register.py -> build\lib\platformio\account\commands
  copying platformio\account\commands\show.py -> build\lib\platformio\account\commands
  copying platformio\account\commands\token.py -> build\lib\platformio\account\commands
  copying platformio\account\commands\update.py -> build\lib\platformio\account\commands
  copying platformio\account\commands\__init__.py -> build\lib\platformio\account\commands
  creating build\lib\platformio\account\org
  copying platformio\account\org\cli.py -> build\lib\platformio\account\org
  copying platformio\account\org\__init__.py -> build\lib\platformio\account\org
  creating build\lib\platformio\account\team
  copying platformio\account\team\cli.py -> build\lib\platformio\account\team
  copying platformio\account\team\__init__.py -> build\lib\platformio\account\team
  creating build\lib\platformio\account\org\commands
  copying platformio\account\org\commands\add.py -> build\lib\platformio\account\org\commands
  copying platformio\account\org\commands\create.py -> build\lib\platformio\account\org\commands
  copying platformio\account\org\commands\destroy.py -> build\lib\platformio\account\org\commands
  copying platformio\account\org\commands\list.py -> build\lib\platformio\account\org\commands
  copying platformio\account\org\commands\remove.py -> build\lib\platformio\account\org\commands
  copying platformio\account\org\commands\update.py -> build\lib\platformio\account\org\commands
  copying platformio\account\org\commands\__init__.py -> build\lib\platformio\account\org\commands
  creating build\lib\platformio\account\team\commands
  copying platformio\account\team\commands\add.py -> build\lib\platformio\account\team\commands
  copying platformio\account\team\commands\create.py -> build\lib\platformio\account\team\commands
  copying platformio\account\team\commands\destroy.py -> build\lib\platformio\account\team\commands
  copying platformio\account\team\commands\list.py -> build\lib\platformio\account\team\commands
  copying platformio\account\team\commands\remove.py -> build\lib\platformio\account\team\commands
  copying platformio\account\team\commands\update.py -> build\lib\platformio\account\team\commands
  copying platformio\account\team\commands\__init__.py -> build\lib\platformio\account\team\commands
  creating build\lib\platformio\builder\tools
  copying platformio\builder\tools\pioasm.py -> build\lib\platformio\builder\tools
  copying platformio\builder\tools\piobuild.py -> build\lib\platformio\builder\tools
  copying platformio\builder\tools\piohooks.py -> build\lib\platformio\builder\tools
  copying platformio\builder\tools\pioino.py -> build\lib\platformio\builder\tools
  copying platformio\builder\tools\piointegration.py -> build\lib\platformio\builder\tools
  copying platformio\builder\tools\piolib.py -> build\lib\platformio\builder\tools
  copying platformio\builder\tools\piomaxlen.py -> build\lib\platformio\builder\tools
  copying platformio\builder\tools\piomisc.py -> build\lib\platformio\builder\tools
  copying platformio\builder\tools\pioplatform.py -> build\lib\platformio\builder\tools
  copying platformio\builder\tools\pioproject.py -> build\lib\platformio\builder\tools
  copying platformio\builder\tools\piosize.py -> build\lib\platformio\builder\tools
  copying platformio\builder\tools\piotarget.py -> build\lib\platformio\builder\tools
  copying platformio\builder\tools\piotest.py -> build\lib\platformio\builder\tools
  copying platformio\builder\tools\pioupload.py -> build\lib\platformio\builder\tools
  copying platformio\builder\tools\__init__.py -> build\lib\platformio\builder\tools
  creating build\lib\platformio\check\tools
  copying platformio\check\tools\base.py -> build\lib\platformio\check\tools
  copying platformio\check\tools\clangtidy.py -> build\lib\platformio\check\tools
  copying platformio\check\tools\cppcheck.py -> build\lib\platformio\check\tools
  copying platformio\check\tools\pvsstudio.py -> build\lib\platformio\check\tools
  copying platformio\check\tools\__init__.py -> build\lib\platformio\check\tools
  creating build\lib\platformio\commands\device
  copying platformio\commands\device\__init__.py -> build\lib\platformio\commands\device
  creating build\lib\platformio\debug\config
  copying platformio\debug\config\base.py -> build\lib\platformio\debug\config
  copying platformio\debug\config\blackmagic.py -> build\lib\platformio\debug\config
  copying platformio\debug\config\factory.py -> build\lib\platformio\debug\config
  copying platformio\debug\config\generic.py -> build\lib\platformio\debug\config
  copying platformio\debug\config\jlink.py -> build\lib\platformio\debug\config
  copying platformio\debug\config\mspdebug.py -> build\lib\platformio\debug\config
  copying platformio\debug\config\native.py -> build\lib\platformio\debug\config
  copying platformio\debug\config\qemu.py -> build\lib\platformio\debug\config
  copying platformio\debug\config\renode.py -> build\lib\platformio\debug\config
  copying platformio\debug\config\__init__.py -> build\lib\platformio\debug\config
  creating build\lib\platformio\debug\process
  copying platformio\debug\process\base.py -> build\lib\platformio\debug\process
  copying platformio\debug\process\client.py -> build\lib\platformio\debug\process
  copying platformio\debug\process\gdb.py -> build\lib\platformio\debug\process
  copying platformio\debug\process\server.py -> build\lib\platformio\debug\process
  copying platformio\debug\process\__init__.py -> build\lib\platformio\debug\process
  creating build\lib\platformio\device\list
  copying platformio\device\list\command.py -> build\lib\platformio\device\list
  copying platformio\device\list\util.py -> build\lib\platformio\device\list
  copying platformio\device\list\__init__.py -> build\lib\platformio\device\list
  creating build\lib\platformio\device\monitor
  copying platformio\device\monitor\command.py -> build\lib\platformio\device\monitor
  copying platformio\device\monitor\terminal.py -> build\lib\platformio\device\monitor
  copying platformio\device\monitor\__init__.py -> build\lib\platformio\device\monitor
  creating build\lib\platformio\device\monitor\filters
  copying platformio\device\monitor\filters\base.py -> build\lib\platformio\device\monitor\filters
  copying platformio\device\monitor\filters\hexlify.py -> build\lib\platformio\device\monitor\filters
  copying platformio\device\monitor\filters\log2file.py -> build\lib\platformio\device\monitor\filters
  copying platformio\device\monitor\filters\send_on_enter.py -> build\lib\platformio\device\monitor\filters
  copying platformio\device\monitor\filters\time.py -> build\lib\platformio\device\monitor\filters
  copying platformio\device\monitor\filters\__init__.py -> build\lib\platformio\device\monitor\filters
  creating build\lib\platformio\home\rpc
  copying platformio\home\rpc\server.py -> build\lib\platformio\home\rpc
  copying platformio\home\rpc\__init__.py -> build\lib\platformio\home\rpc
  creating build\lib\platformio\home\rpc\handlers
  copying platformio\home\rpc\handlers\account.py -> build\lib\platformio\home\rpc\handlers
  copying platformio\home\rpc\handlers\app.py -> build\lib\platformio\home\rpc\handlers
  copying platformio\home\rpc\handlers\base.py -> build\lib\platformio\home\rpc\handlers
  copying platformio\home\rpc\handlers\ide.py -> build\lib\platformio\home\rpc\handlers
  copying platformio\home\rpc\handlers\misc.py -> build\lib\platformio\home\rpc\handlers
  copying platformio\home\rpc\handlers\os.py -> build\lib\platformio\home\rpc\handlers
  copying platformio\home\rpc\handlers\piocore.py -> build\lib\platformio\home\rpc\handlers
  copying platformio\home\rpc\handlers\platform.py -> build\lib\platformio\home\rpc\handlers
  copying platformio\home\rpc\handlers\project.py -> build\lib\platformio\home\rpc\handlers
  copying platformio\home\rpc\handlers\registry.py -> build\lib\platformio\home\rpc\handlers
  copying platformio\home\rpc\handlers\__init__.py -> build\lib\platformio\home\rpc\handlers
  creating build\lib\platformio\package\commands
  copying platformio\package\commands\exec.py -> build\lib\platformio\package\commands
  copying platformio\package\commands\install.py -> build\lib\platformio\package\commands
  copying platformio\package\commands\list.py -> build\lib\platformio\package\commands
  copying platformio\package\commands\outdated.py -> build\lib\platformio\package\commands
  copying platformio\package\commands\pack.py -> build\lib\platformio\package\commands
  copying platformio\package\commands\publish.py -> build\lib\platformio\package\commands
  copying platformio\package\commands\search.py -> build\lib\platformio\package\commands
  copying platformio\package\commands\show.py -> build\lib\platformio\package\commands
  copying platformio\package\commands\uninstall.py -> build\lib\platformio\package\commands
  copying platformio\package\commands\unpublish.py -> build\lib\platformio\package\commands
  copying platformio\package\commands\update.py -> build\lib\platformio\package\commands
  copying platformio\package\commands\__init__.py -> build\lib\platformio\package\commands
  creating build\lib\platformio\package\manager
  copying platformio\package\manager\base.py -> build\lib\platformio\package\manager
  copying platformio\package\manager\core.py -> build\lib\platformio\package\manager
  copying platformio\package\manager\library.py -> build\lib\platformio\package\manager
  copying platformio\package\manager\platform.py -> build\lib\platformio\package\manager
  copying platformio\package\manager\tool.py -> build\lib\platformio\package\manager
  copying platformio\package\manager\_download.py -> build\lib\platformio\package\manager
  copying platformio\package\manager\_install.py -> build\lib\platformio\package\manager
  copying platformio\package\manager\_legacy.py -> build\lib\platformio\package\manager
  copying platformio\package\manager\_registry.py -> build\lib\platformio\package\manager
  copying platformio\package\manager\_symlink.py -> build\lib\platformio\package\manager
  copying platformio\package\manager\_uninstall.py -> build\lib\platformio\package\manager
  copying platformio\package\manager\_update.py -> build\lib\platformio\package\manager
  copying platformio\package\manager\__init__.py -> build\lib\platformio\package\manager
  creating build\lib\platformio\package\manifest
  copying platformio\package\manifest\parser.py -> build\lib\platformio\package\manifest
  copying platformio\package\manifest\schema.py -> build\lib\platformio\package\manifest
  copying platformio\package\manifest\__init__.py -> build\lib\platformio\package\manifest
  creating build\lib\platformio\project\commands
  copying platformio\project\commands\config.py -> build\lib\platformio\project\commands
  copying platformio\project\commands\init.py -> build\lib\platformio\project\commands
  copying platformio\project\commands\metadata.py -> build\lib\platformio\project\commands
  copying platformio\project\commands\__init__.py -> build\lib\platformio\project\commands
  creating build\lib\platformio\project\integration
  copying platformio\project\integration\generator.py -> build\lib\platformio\project\integration
  copying platformio\project\integration\__init__.py -> build\lib\platformio\project\integration
  creating build\lib\platformio\registry\access
  copying platformio\registry\access\cli.py -> build\lib\platformio\registry\access
  copying platformio\registry\access\validate.py -> build\lib\platformio\registry\access
  copying platformio\registry\access\__init__.py -> build\lib\platformio\registry\access
  creating build\lib\platformio\registry\access\commands
  copying platformio\registry\access\commands\grant.py -> build\lib\platformio\registry\access\commands
  copying platformio\registry\access\commands\list.py -> build\lib\platformio\registry\access\commands
  copying platformio\registry\access\commands\private.py -> build\lib\platformio\registry\access\commands
  copying platformio\registry\access\commands\public.py -> build\lib\platformio\registry\access\commands
  copying platformio\registry\access\commands\revoke.py -> build\lib\platformio\registry\access\commands
  copying platformio\registry\access\commands\__init__.py -> build\lib\platformio\registry\access\commands
  creating build\lib\platformio\remote\ac
  copying platformio\remote\ac\base.py -> build\lib\platformio\remote\ac
  copying platformio\remote\ac\process.py -> build\lib\platformio\remote\ac
  copying platformio\remote\ac\psync.py -> build\lib\platformio\remote\ac
  copying platformio\remote\ac\serial.py -> build\lib\platformio\remote\ac
  copying platformio\remote\ac\__init__.py -> build\lib\platformio\remote\ac
  creating build\lib\platformio\remote\client
  copying platformio\remote\client\agent_list.py -> build\lib\platformio\remote\client
  copying platformio\remote\client\agent_service.py -> build\lib\platformio\remote\client
  copying platformio\remote\client\async_base.py -> build\lib\platformio\remote\client
  copying platformio\remote\client\base.py -> build\lib\platformio\remote\client
  copying platformio\remote\client\device_list.py -> build\lib\platformio\remote\client
  copying platformio\remote\client\device_monitor.py -> build\lib\platformio\remote\client
  copying platformio\remote\client\run_or_test.py -> build\lib\platformio\remote\client
  copying platformio\remote\client\update_core.py -> build\lib\platformio\remote\client
  copying platformio\remote\client\__init__.py -> build\lib\platformio\remote\client
  creating build\lib\platformio\remote\factory
  copying platformio\remote\factory\client.py -> build\lib\platformio\remote\factory
  copying platformio\remote\factory\ssl.py -> build\lib\platformio\remote\factory
  copying platformio\remote\factory\__init__.py -> build\lib\platformio\remote\factory
  creating build\lib\platformio\system\commands
  copying platformio\system\commands\completion.py -> build\lib\platformio\system\commands
  copying platformio\system\commands\info.py -> build\lib\platformio\system\commands
  copying platformio\system\commands\prune.py -> build\lib\platformio\system\commands
  copying platformio\system\commands\__init__.py -> build\lib\platformio\system\commands
  creating build\lib\platformio\test\reports
  copying platformio\test\reports\base.py -> build\lib\platformio\test\reports
  copying platformio\test\reports\json.py -> build\lib\platformio\test\reports
  copying platformio\test\reports\junit.py -> build\lib\platformio\test\reports
  copying platformio\test\reports\stdout.py -> build\lib\platformio\test\reports
  copying platformio\test\reports\__init__.py -> build\lib\platformio\test\reports
  creating build\lib\platformio\test\runners
  copying platformio\test\runners\base.py -> build\lib\platformio\test\runners
  copying platformio\test\runners\doctest.py -> build\lib\platformio\test\runners
  copying platformio\test\runners\factory.py -> build\lib\platformio\test\runners
  copying platformio\test\runners\googletest.py -> build\lib\platformio\test\runners
  copying platformio\test\runners\unity.py -> build\lib\platformio\test\runners
  copying platformio\test\runners\__init__.py -> build\lib\platformio\test\runners
  creating build\lib\platformio\test\runners\readers
  copying platformio\test\runners\readers\native.py -> build\lib\platformio\test\runners\readers
  copying platformio\test\runners\readers\serial.py -> build\lib\platformio\test\runners\readers
  copying platformio\test\runners\readers\__init__.py -> build\lib\platformio\test\runners\readers
  creating build\lib\platformio\assets
  creating build\lib\platformio\assets\system
  copying platformio\assets\system\99-platformio-udev.rules -> build\lib\platformio\assets\system
  creating build\lib\platformio\assets\templates
  creating build\lib\platformio\assets\templates\ide-projects
  creating build\lib\platformio\assets\templates\ide-projects\clion
  copying platformio\assets\templates\ide-projects\clion\CMakeLists.txt.tpl -> build\lib\platformio\assets\templates\ide-projects\clion
  copying platformio\assets\templates\ide-projects\clion\CMakeListsPrivate.txt.tpl -> build\lib\platformio\assets\templates\ide-projects\clion
  creating build\lib\platformio\assets\templates\ide-projects\codeblocks
  copying platformio\assets\templates\ide-projects\codeblocks\platformio.cbp.tpl -> build\lib\platformio\assets\templates\ide-projects\codeblocks
  creating build\lib\platformio\assets\templates\ide-projects\qtcreator
  copying platformio\assets\templates\ide-projects\qtcreator\Makefile.tpl -> build\lib\platformio\assets\templates\ide-projects\qtcreator
  copying platformio\assets\templates\ide-projects\qtcreator\platformio.cflags.tpl -> build\lib\platformio\assets\templates\ide-projects\qtcreator
  copying platformio\assets\templates\ide-projects\qtcreator\platformio.config.tpl -> build\lib\platformio\assets\templates\ide-projects\qtcreator
  copying platformio\assets\templates\ide-projects\qtcreator\platformio.creator.tpl -> build\lib\platformio\assets\templates\ide-projects\qtcreator
  copying platformio\assets\templates\ide-projects\qtcreator\platformio.cxxflags.tpl -> build\lib\platformio\assets\templates\ide-projects\qtcreator
  copying platformio\assets\templates\ide-projects\qtcreator\platformio.files.tpl -> build\lib\platformio\assets\templates\ide-projects\qtcreator
  copying platformio\assets\templates\ide-projects\qtcreator\platformio.includes.tpl -> build\lib\platformio\assets\templates\ide-projects\qtcreator
  creating build\lib\platformio\assets\templates\ide-projects\sublimetext
  copying platformio\assets\templates\ide-projects\sublimetext\platformio.sublime-project.tpl -> build\lib\platformio\assets\templates\ide-projects\sublimetext
  creating build\lib\platformio\assets\templates\ide-projects\visualstudio
  copying platformio\assets\templates\ide-projects\visualstudio\platformio.vcxproj.filters.tpl -> build\lib\platformio\assets\templates\ide-projects\visualstudio
  copying platformio\assets\templates\ide-projects\visualstudio\platformio.vcxproj.tpl -> build\lib\platformio\assets\templates\ide-projects\visualstudio
  creating build\lib\platformio\assets\templates\ide-projects\atom
  copying platformio\assets\templates\ide-projects\atom\.clang_complete.tpl -> build\lib\platformio\assets\templates\ide-projects\atom
  copying platformio\assets\templates\ide-projects\atom\.gcc-flags.json.tpl -> build\lib\platformio\assets\templates\ide-projects\atom
  copying platformio\assets\templates\ide-projects\atom\.gitignore.tpl -> build\lib\platformio\assets\templates\ide-projects\atom
  copying platformio\assets\templates\ide-projects\clion\.gitignore.tpl -> build\lib\platformio\assets\templates\ide-projects\clion
  creating build\lib\platformio\assets\templates\ide-projects\eclipse
  copying platformio\assets\templates\ide-projects\eclipse\.cproject.tpl -> build\lib\platformio\assets\templates\ide-projects\eclipse
  copying platformio\assets\templates\ide-projects\eclipse\.project.tpl -> build\lib\platformio\assets\templates\ide-projects\eclipse
  creating build\lib\platformio\assets\templates\ide-projects\emacs
  copying platformio\assets\templates\ide-projects\emacs\.ccls.tpl -> build\lib\platformio\assets\templates\ide-projects\emacs
  copying platformio\assets\templates\ide-projects\emacs\.gitignore.tpl -> build\lib\platformio\assets\templates\ide-projects\emacs
  copying platformio\assets\templates\ide-projects\qtcreator\.gitignore.tpl -> build\lib\platformio\assets\templates\ide-projects\qtcreator
  copying platformio\assets\templates\ide-projects\sublimetext\.ccls.tpl -> build\lib\platformio\assets\templates\ide-projects\sublimetext
  creating build\lib\platformio\assets\templates\ide-projects\vim
  copying platformio\assets\templates\ide-projects\vim\.ccls.tpl -> build\lib\platformio\assets\templates\ide-projects\vim
  copying platformio\assets\templates\ide-projects\vim\.gitignore.tpl -> build\lib\platformio\assets\templates\ide-projects\vim
  creating build\lib\platformio\assets\templates\ide-projects\vscode
  copying platformio\assets\templates\ide-projects\vscode\.gitignore.tpl -> build\lib\platformio\assets\templates\ide-projects\vscode
  creating build\lib\platformio\assets\templates\ide-projects\eclipse\.settings
  copying platformio\assets\templates\ide-projects\eclipse\.settings\language.settings.xml.tpl -> build\lib\platformio\assets\templates\ide-projects\eclipse\.settings
  copying platformio\assets\templates\ide-projects\eclipse\.settings\org.eclipse.cdt.core.prefs.tpl -> build\lib\platformio\assets\templates\ide-projects\eclipse\.settings
  copying platformio\assets\templates\ide-projects\eclipse\.settings\PlatformIO Debugger.launch.tpl -> build\lib\platformio\assets\templates\ide-projects\eclipse\.settings
  creating build\lib\platformio\assets\templates\ide-projects\vscode\.vscode
  copying platformio\assets\templates\ide-projects\vscode\.vscode\c_cpp_properties.json.tpl -> build\lib\platformio\assets\templates\ide-projects\vscode\.vscode
  copying platformio\assets\templates\ide-projects\vscode\.vscode\extensions.json.tpl -> build\lib\platformio\assets\templates\ide-projects\vscode\.vscode
  copying platformio\assets\templates\ide-projects\vscode\.vscode\launch.json.tpl -> build\lib\platformio\assets\templates\ide-projects\vscode\.vscode
  creating build\lib\platformio\assets\templates\ide-projects\netbeans
  creating build\lib\platformio\assets\templates\ide-projects\netbeans\nbproject
  copying platformio\assets\templates\ide-projects\netbeans\nbproject\configurations.xml.tpl -> build\lib\platformio\assets\templates\ide-projects\netbeans\nbproject
  copying platformio\assets\templates\ide-projects\netbeans\nbproject\project.xml.tpl -> build\lib\platformio\assets\templates\ide-projects\netbeans\nbproject
  creating build\lib\platformio\assets\templates\ide-projects\netbeans\nbproject\private
  copying platformio\assets\templates\ide-projects\netbeans\nbproject\private\configurations.xml.tpl -> build\lib\platformio\assets\templates\ide-projects\netbeans\nbproject\private
  copying platformio\assets\templates\ide-projects\netbeans\nbproject\private\launcher.properties.tpl -> build\lib\platformio\assets\templates\ide-projects\netbeans\nbproject\private
  copying platformio\assets\templates\ide-projects\netbeans\nbproject\private\private.xml.tpl -> build\lib\platformio\assets\templates\ide-projects\netbeans\nbproject\private
  installing to build\bdist.win-amd64\wheel
  running install
  running install_lib
  creating build\bdist.win-amd64
  creating build\bdist.win-amd64\wheel
  creating build\bdist.win-amd64\wheel\platformio
  creating build\bdist.win-amd64\wheel\platformio\account
  copying build\lib\platformio\account\cli.py -> build\bdist.win-amd64\wheel\.\platformio\account
  copying build\lib\platformio\account\client.py -> build\bdist.win-amd64\wheel\.\platformio\account
  creating build\bdist.win-amd64\wheel\platformio\account\commands
  copying build\lib\platformio\account\commands\destroy.py -> build\bdist.win-amd64\wheel\.\platformio\account\commands
  copying build\lib\platformio\account\commands\forgot.py -> build\bdist.win-amd64\wheel\.\platformio\account\commands
  copying build\lib\platformio\account\commands\login.py -> build\bdist.win-amd64\wheel\.\platformio\account\commands
  copying build\lib\platformio\account\commands\logout.py -> build\bdist.win-amd64\wheel\.\platformio\account\commands
  copying build\lib\platformio\account\commands\password.py -> build\bdist.win-amd64\wheel\.\platformio\account\commands
  copying build\lib\platformio\account\commands\register.py -> build\bdist.win-amd64\wheel\.\platformio\account\commands
  copying build\lib\platformio\account\commands\show.py -> build\bdist.win-amd64\wheel\.\platformio\account\commands
  copying build\lib\platformio\account\commands\token.py -> build\bdist.win-amd64\wheel\.\platformio\account\commands
  copying build\lib\platformio\account\commands\update.py -> build\bdist.win-amd64\wheel\.\platformio\account\commands
  copying build\lib\platformio\account\commands\__init__.py -> build\bdist.win-amd64\wheel\.\platformio\account\commands
  creating build\bdist.win-amd64\wheel\platformio\account\org
  copying build\lib\platformio\account\org\cli.py -> build\bdist.win-amd64\wheel\.\platformio\account\org
  creating build\bdist.win-amd64\wheel\platformio\account\org\commands
  copying build\lib\platformio\account\org\commands\add.py -> build\bdist.win-amd64\wheel\.\platformio\account\org\commands
  copying build\lib\platformio\account\org\commands\create.py -> build\bdist.win-amd64\wheel\.\platformio\account\org\commands
  copying build\lib\platformio\account\org\commands\destroy.py -> build\bdist.win-amd64\wheel\.\platformio\account\org\commands
  copying build\lib\platformio\account\org\commands\list.py -> build\bdist.win-amd64\wheel\.\platformio\account\org\commands
  copying build\lib\platformio\account\org\commands\remove.py -> build\bdist.win-amd64\wheel\.\platformio\account\org\commands
  copying build\lib\platformio\account\org\commands\update.py -> build\bdist.win-amd64\wheel\.\platformio\account\org\commands
  copying build\lib\platformio\account\org\commands\__init__.py -> build\bdist.win-amd64\wheel\.\platformio\account\org\commands
  copying build\lib\platformio\account\org\__init__.py -> build\bdist.win-amd64\wheel\.\platformio\account\org
  creating build\bdist.win-amd64\wheel\platformio\account\team
  copying build\lib\platformio\account\team\cli.py -> build\bdist.win-amd64\wheel\.\platformio\account\team
  creating build\bdist.win-amd64\wheel\platformio\account\team\commands
  copying build\lib\platformio\account\team\commands\add.py -> build\bdist.win-amd64\wheel\.\platformio\account\team\commands
  copying build\lib\platformio\account\team\commands\create.py -> build\bdist.win-amd64\wheel\.\platformio\account\team\commands
  copying build\lib\platformio\account\team\commands\destroy.py -> build\bdist.win-amd64\wheel\.\platformio\account\team\commands
  copying build\lib\platformio\account\team\commands\list.py -> build\bdist.win-amd64\wheel\.\platformio\account\team\commands
  copying build\lib\platformio\account\team\commands\remove.py -> build\bdist.win-amd64\wheel\.\platformio\account\team\commands
  copying build\lib\platformio\account\team\commands\update.py -> build\bdist.win-amd64\wheel\.\platformio\account\team\commands
  copying build\lib\platformio\account\team\commands\__init__.py -> build\bdist.win-amd64\wheel\.\platformio\account\team\commands
  copying build\lib\platformio\account\team\__init__.py -> build\bdist.win-amd64\wheel\.\platformio\account\team
  copying build\lib\platformio\account\validate.py -> build\bdist.win-amd64\wheel\.\platformio\account
  copying build\lib\platformio\account\__init__.py -> build\bdist.win-amd64\wheel\.\platformio\account
  copying build\lib\platformio\app.py -> build\bdist.win-amd64\wheel\.\platformio
  creating build\bdist.win-amd64\wheel\platformio\assets
  creating build\bdist.win-amd64\wheel\platformio\assets\system
  copying build\lib\platformio\assets\system\99-platformio-udev.rules -> build\bdist.win-amd64\wheel\.\platformio\assets\system
  creating build\bdist.win-amd64\wheel\platformio\assets\templates
  creating build\bdist.win-amd64\wheel\platformio\assets\templates\ide-projects
  creating build\bdist.win-amd64\wheel\platformio\assets\templates\ide-projects\atom
  copying build\lib\platformio\assets\templates\ide-projects\atom\.clang_complete.tpl -> build\bdist.win-amd64\wheel\.\platformio\assets\templates\ide-projects\atom
  copying build\lib\platformio\assets\templates\ide-projects\atom\.gcc-flags.json.tpl -> build\bdist.win-amd64\wheel\.\platformio\assets\templates\ide-projects\atom
  copying build\lib\platformio\assets\templates\ide-projects\atom\.gitignore.tpl -> build\bdist.win-amd64\wheel\.\platformio\assets\templates\ide-projects\atom
  creating build\bdist.win-amd64\wheel\platformio\assets\templates\ide-projects\clion
  copying build\lib\platformio\assets\templates\ide-projects\clion\.gitignore.tpl -> build\bdist.win-amd64\wheel\.\platformio\assets\templates\ide-projects\clion
  copying build\lib\platformio\assets\templates\ide-projects\clion\CMakeLists.txt.tpl -> build\bdist.win-amd64\wheel\.\platformio\assets\templates\ide-projects\clion
  copying build\lib\platformio\assets\templates\ide-projects\clion\CMakeListsPrivate.txt.tpl -> build\bdist.win-amd64\wheel\.\platformio\assets\templates\ide-projects\clion
  creating build\bdist.win-amd64\wheel\platformio\assets\templates\ide-projects\codeblocks
  copying build\lib\platformio\assets\templates\ide-projects\codeblocks\platformio.cbp.tpl -> build\bdist.win-amd64\wheel\.\platformio\assets\templates\ide-projects\codeblocks
  creating build\bdist.win-amd64\wheel\platformio\assets\templates\ide-projects\eclipse
  copying build\lib\platformio\assets\templates\ide-projects\eclipse\.cproject.tpl -> build\bdist.win-amd64\wheel\.\platformio\assets\templates\ide-projects\eclipse
  copying build\lib\platformio\assets\templates\ide-projects\eclipse\.project.tpl -> build\bdist.win-amd64\wheel\.\platformio\assets\templates\ide-projects\eclipse
  creating build\bdist.win-amd64\wheel\platformio\assets\templates\ide-projects\eclipse\.settings
  copying build\lib\platformio\assets\templates\ide-projects\eclipse\.settings\language.settings.xml.tpl -> build\bdist.win-amd64\wheel\.\platformio\assets\templates\ide-projects\eclipse\.settings
  copying build\lib\platformio\assets\templates\ide-projects\eclipse\.settings\org.eclipse.cdt.core.prefs.tpl -> build\bdist.win-amd64\wheel\.\platformio\assets\templates\ide-projects\eclipse\.settings
  copying build\lib\platformio\assets\templates\ide-projects\eclipse\.settings\PlatformIO Debugger.launch.tpl -> build\bdist.win-amd64\wheel\.\platformio\assets\templates\ide-projects\eclipse\.settings
  creating build\bdist.win-amd64\wheel\platformio\assets\templates\ide-projects\emacs
  copying build\lib\platformio\assets\templates\ide-projects\emacs\.ccls.tpl -> build\bdist.win-amd64\wheel\.\platformio\assets\templates\ide-projects\emacs
  copying build\lib\platformio\assets\templates\ide-projects\emacs\.gitignore.tpl -> build\bdist.win-amd64\wheel\.\platformio\assets\templates\ide-projects\emacs
  creating build\bdist.win-amd64\wheel\platformio\assets\templates\ide-projects\netbeans
  creating build\bdist.win-amd64\wheel\platformio\assets\templates\ide-projects\netbeans\nbproject
  copying build\lib\platformio\assets\templates\ide-projects\netbeans\nbproject\configurations.xml.tpl -> build\bdist.win-amd64\wheel\.\platformio\assets\templates\ide-projects\netbeans\nbproject
  creating build\bdist.win-amd64\wheel\platformio\assets\templates\ide-projects\netbeans\nbproject\private
  copying build\lib\platformio\assets\templates\ide-projects\netbeans\nbproject\private\configurations.xml.tpl -> build\bdist.win-amd64\wheel\.\platformio\assets\templates\ide-projects\netbeans\nbproject\private
  copying build\lib\platformio\assets\templates\ide-projects\netbeans\nbproject\private\launcher.properties.tpl -> build\bdist.win-amd64\wheel\.\platformio\assets\templates\ide-projects\netbeans\nbproject\private
  error: could not create 'build\bdist.win-amd64\wheel\.\platformio\assets\templates\ide-projects\netbeans\nbproject\private\launcher.properties.tpl': No such file or directory
  [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for platformio
ERROR: Could not build wheels for platformio, which is required to install pyproject.toml-based projects
Error: Could not install PlatformIO Core: If you have antivirus/firewall/defender software in a system, try to disable it for a while.
 Command '['C:\\Users\\Administrator\\.platformio\\penv\\Scripts\\python.exe', '-m', 'pip', 'install', '-U', 'platformio']' returned non-zero exit status 1.
 -> Installer version: 1.1.2
Platform: Windows-10
Python version: 3.9.10 (tags/v3.9.10:f2f3f53, Jan 17 2022, 15:14:21) [MSC v.1929 64 bit (AMD64)]
Python path: C:\Users\Administrator\.platformio\python3\python.exe
Creating a virtual environment at C:\Users\Administrator\.platformio\penv
Updating Python package manager (PIP) in a virtual environment
PIP has been successfully updated!
Virtual environment has been successfully created!
Installing PlatformIO Core
Collecting platformio
  Using cached platformio-6.1.7.tar.gz (239 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting bottle==0.12.* (from platformio)
  Using cached bottle-0.12.25-py3-none-any.whl (90 kB)
Collecting click<9,>=8.0.4 (from platformio)
  Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting colorama (from platformio)
  Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting marshmallow==3.* (from platformio)
  Using cached marshmallow-3.19.0-py3-none-any.whl (49 kB)
Collecting pyelftools<1,>=0.27 (from platformio)
  Using cached pyelftools-0.29-py2.py3-none-any.whl (174 kB)
Collecting pyserial==3.5.* (from platformio)
  Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
Collecting requests==2.* (from platformio)
  Using cached requests-2.30.0-py3-none-any.whl (62 kB)
Collecting urllib3<2 (from platformio)
  Using cached urllib3-1.26.15-py2.py3-none-any.whl (140 kB)
Collecting semantic_version==2.10.* (from platformio)
  Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Collecting tabulate==0.9.* (from platformio)
  Using cached tabulate-0.9.0-py3-none-any.whl (35 kB)
Collecting aiofiles==23.1.* (from platformio)
  Using cached aiofiles-23.1.0-py3-none-any.whl (14 kB)
Collecting ajsonrpc==1.* (from platformio)
  Using cached ajsonrpc-1.2.0-py3-none-any.whl (22 kB)
Collecting starlette==0.26.* (from platformio)
  Using cached starlette-0.26.1-py3-none-any.whl (66 kB)
Collecting uvicorn==0.22.* (from platformio)
  Using cached uvicorn-0.22.0-py3-none-any.whl (58 kB)
Collecting wsproto==1.2.* (from platformio)
  Using cached wsproto-1.2.0-py3-none-any.whl (24 kB)
Collecting packaging>=17.0 (from marshmallow==3.*->platformio)
  Using cached packaging-23.1-py3-none-any.whl (48 kB)
Collecting charset-normalizer<4,>=2 (from requests==2.*->platformio)
  Using cached charset_normalizer-3.1.0-cp39-cp39-win_amd64.whl (97 kB)
Collecting idna<4,>=2.5 (from requests==2.*->platformio)
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting certifi>=2017.4.17 (from requests==2.*->platformio)
  Using cached certifi-2023.5.7-py3-none-any.whl (156 kB)
Collecting anyio<5,>=3.4.0 (from starlette==0.26.*->platformio)
  Using cached anyio-3.6.2-py3-none-any.whl (80 kB)
Collecting typing-extensions>=3.10.0 (from starlette==0.26.*->platformio)
  Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB)
Collecting h11>=0.8 (from uvicorn==0.22.*->platformio)
  Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Collecting sniffio>=1.1 (from anyio<5,>=3.4.0->starlette==0.26.*->platformio)
  Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
Building wheels for collected packages: platformio
  Building wheel for platformio (setup.py): started
  Building wheel for platformio (setup.py): finished with status 'error'
  Running setup.py clean for platformio
Failed to build platformio

    at c:\Users\Administrator\.vscode\extensions\platformio.platformio-ide-3.1.1-win32-x64\node_modules\platformio-node-helpers\dist\index.js:1:5303
    at ChildProcess.o (c:\Users\Administrator\.vscode\extensions\platformio.platformio-ide-3.1.1-win32-x64\node_modules\platformio-node-helpers\dist\index.js:1:4601)
    at ChildProcess.emit (node:events:513:28)
    at ChildProcess.emit (node:domain:489:12)
    at maybeClose (node:internal/child_process:1112:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
cncherisher commented 1 year ago

emmm, seems to duplicate with #3699 Enabling Windows Long Path solve this problem https://www.microfocus.com/documentation/filr/filr-4/filr-desktop/t47bx2ogpfz7.html

Nungki1999 commented 1 year ago

I have tried the steps shown but it still doesn't work

ivankravets commented 1 year ago

Duplicate of https://github.com/platformio/platformio-core/issues/4652

lo1414ful commented 4 months ago

emmm, seems to duplicate with #3699 Enabling Windows Long Path solve this problem https://www.microfocus.com/documentation/filr/filr-4/filr-desktop/t47bx2ogpfz7.html

I also followed the steps mentioned here to enable long paths, but with no success (deleting .platformio after every try). I then found an article which uses regedit to activate windows long path. After restarting and deleting .platformio once more, it finally worked.