PlatformIO Community

What's with all this yellow python stuff?

I see this from time to time. What is it?
What do I do when this happens?

Hm. This is a second python thing posting, I guess the other didn’t stick.
901 errors now, up from 876, down from >1K. Up from one, which was failure to find a .exe file I found in the location is was supposed to be looking.

Processing wemos_d1_mini32 (platform: espressif32; board: wemos_d1_mini32; framework: arduino)
Verbose mode can be enabled via `-v, --verbose` option
PLATFORM: Espressif 32 (2.0.0) > WeMos D1 MINI ESP32
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
 - framework-arduinoespressif32 3.10004.200129 (1.0.4)
 - tool-esptoolpy 1.20600.0 (2.6.0)
 - toolchain-xtensa32 2.50200.80 (5.2.0)
LDF: Library Dependency Finder ->
LDF Modes: Finder ~ chain, Compatibility ~ soft
Library Manager: Installing Arduino
Library Manager: Warning! More than one package has been found by Arduino requirements:
 - mbed-aluqard/arduino @ 0.0.0+sha.3b83fc30bbdf
 - mbed-eduardog26/Arduino @ 0.0.0-alpha+sha.abbc3308dfa1
 - mbed-thechrisyd/Arduino @ 0.0.0+sha.272d0276d474
 - mbed-gastonfeng/arduino @ 0.0.0-alpha+sha.b000674ff8b3
 - mbed-rahulsitaram/Arduino @ 0.0.0+sha.d0b32a4209f0
 - mbed-team2/Arduino @ 0.0.0+sha.d96590319bcf
Library Manager: Please specify detailed REQUIREMENTS using package owner and version (showed above) to avoid name conflicts
Library Manager: arduino @ 0.0.0+sha.3b83fc30bbdf has been installed!
Library Manager: Installing Adafruit/Adafruit Sensor Library
KeyError: 'versions':
  File "C:\Users\joema\.platformio\penv\lib\site-packages\platformio\builder\", line 169:
  File "C:\Users\joema\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Script\", line 598:
    return _SConscript(self.fs, *files, **subst_kw)
  File "C:\Users\joema\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Script\", line 287:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "C:\Users\joema\.platformio\platforms\espressif32\builder\", line 223:
    target_elf = env.BuildProgram()
  File "C:\Users\joema\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\", line 219:
    return self.method(*nargs, **kwargs)
  File "C:\Users\joema\.platformio\penv\lib\site-packages\platformio\builder\tools\", line 62:
  File "C:\Users\joema\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\", line 219:
    return self.method(*nargs, **kwargs)
  File "C:\Users\joema\.platformio\penv\lib\site-packages\platformio\builder\tools\", line 140:
    project_lib_builder = env.ConfigureProjectLibBuilder()
  File "C:\Users\joema\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\", line 219:
    return self.method(*nargs, **kwargs)
  File "C:\Users\joema\.platformio\penv\lib\site-packages\platformio\builder\tools\", line 1062:
  File "C:\Users\joema\.platformio\penv\lib\site-packages\platformio\builder\tools\", line 898:
  File "c:\users\joema\.platformio\penv\lib\site-packages\platformio\package\manager\", line 49:
    spec, silent=silent, skip_dependencies=skip_dependencies, force=force
  File "c:\users\joema\.platformio\penv\lib\site-packages\platformio\package\manager\", line 86:
  File "c:\users\joema\.platformio\penv\lib\site-packages\platformio\package\manager\", line 99:
    pkg = self.install_from_registry(spec, search_filters, silent=silent)
  File "c:\users\joema\.platformio\penv\lib\site-packages\platformio\package\manager\", line 86:
    version = self.pick_best_registry_version(package["versions"], spec)
==================================================================================================== [FAILED] 

Where is the bulltetproof installation that installs everything correcly?

You are being asked to fix your lub_deps and supply library names in the given format of supplier/library_name. You need to pick one of the listed Arduio libraries which is compatible with your device, and enter its full name in lib_deps. This is new behaviour in the 5.0.0 release which you appear to be running. It fixes this problem with multiple libraries with the same name.

That was a clue! :wink:

That was/is explained in the release notes for 5.0.0. It’s on the forum home page under the Announcements forum.


1 Like

What platformio.ini do you have so that it attempts installation of the Arduino core… while using the Arduino core? o_O

From his post above: