platformio / platformio-home

PlatformIO Home
https://docs.platformio.org/page/home/index.html
Apache License 2.0
94 stars 62 forks source link

Could not initialize project #5338

Open dball13 opened 1 year ago

dball13 commented 1 year ago

PIO Core Call Error: "The current working directory C:\Users\Evan\Documents\PlatformIO\Projects\RP 2040 Feather Testing will be used for the project.\r\n\r\nThe next files/directories have been created in C:\Users\Evan\Documents\PlatformIO\Projects\RP 2040 Feather Testing\r\ninclude - Put project header files here\r\nlib - Put here project specific (private) libraries\r\nsrc - Put project source files here\r\nplatformio.ini - Project Configuration File\r\nResolving adafruit_feather_2040 dependencies...\r\n\n\nError: Traceback (most recent call last):\r\n File \"C:\Users\Evan\.platformio\penv\lib\site-packages\platformio\main.py\", line 102, in main\r\n cli() # pylint: disable=no-value-for-parameter\r\n File \"C:\Users\Evan\.platformio\penv\lib\site-packages\click\core.py\", line 1130, in call\r\n return self.main(args, kwargs)\r\n File \"C:\Users\Evan\.platformio\penv\lib\site-packages\click\core.py\", line 1055, in main\r\n rv = self.invoke(ctx)\r\n File \"C:\Users\Evan\.platformio\penv\lib\site-packages\platformio\cli.py\", line 71, in invoke\r\n return super().invoke(ctx)\r\n File \"C:\Users\Evan\.platformio\penv\lib\site-packages\click\core.py\", line 1657, in invoke\r\n return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n File \"C:\Users\Evan\.platformio\penv\lib\site-packages\click\core.py\", line 1404, in invoke\r\n return ctx.invoke(self.callback, ctx.params)\r\n File \"C:\Users\Evan\.platformio\penv\lib\site-packages\click\core.py\", line 760, in invoke\r\n return __callback(args, *kwargs)\r\n File \"C:\Users\Evan\.platformio\penv\lib\site-packages\platformio\project\commands\init.py\", line 94, in project_init_cmd\r\n install_project_dependencies(\r\n File \"C:\Users\Evan\.platformio\penv\lib\site-packages\platformio\package\commands\install.py\", line 106, in install_project_dependencies\r\n already_up_to_date = not install_project_env_dependencies(env, options)\r\n File \"C:\Users\Evan\.platformio\penv\lib\site-packages\platformio\package\commands\install.py\", line 131, in install_project_env_dependencies\r\n _install_project_env_platform(project_env, options),\r\n File \"C:\Users\Evan\.platformio\penv\lib\site-packages\platformio\package\commands\install.py\", line 148, in _install_project_env_platform\r\n PlatformPackageManager().install(\r\n File \"C:\Users\Evan\.platformio\penv\lib\site-packages\platformio\package\manager\platform.py\", line 60, in install\r\n p.configure_project_packages(project_env, project_targets)\r\n File \"C:\Users\Evan\.platformio\penv\lib\site-packages\platformio\platform\base.py\", line 184, in configure_project_packages\r\n self.configure_default_packages(options, targets or [])\r\n File \"C:\Users\Evan\.platformio\platforms\atmelmegaavr\platform.py\", line 32, in configure_default_packages\r\n self.packages[framework_package][\"optional\"] = False\r\nKeyError: 'framework-arduino-megaavr-earlephilhower'\r\n\r\n============================================================\r\n\r\nAn unexpected error occurred. Further steps:\r\n\r\n Verify that you have the latest version of PlatformIO using\r\n pip install -U platformio command\r\n\r\n Try to find answer in FAQ Troubleshooting section\r\n https://docs.platformio.org/page/faq/index.html\r\n\r\n Report this problem to the developers\r\n https://github.com/platformio/platformio-core/issues\r\n\r\n============================================================"

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.