Two years after promising myself to start working with Arduino, I’m finally doing it with the intent of blogging about working with an ESP32. However, I cannot get webthing-arduino
to install in PlatformIO. The actual error is at the end of this message.
I see that the PlatformIO webthing-arduino
is version 0.9.0 while for the ArduinoIDE it is version 0.11.5. Is the PlatformIO library broken due to senescence?
The error message:
PIO Core Call Error: "Library Storage: /home/lars/project/platformio/temperature_thing/.pio/libdeps/featheresp32\nLibraryManager: Installing id=5397 @ ^0.9.0\nUsing cache: /home/lars/.platformio/.cache/ad/fe8723da6bb1099b82c6f3dbbdaf80ad\n\n\nError: Traceback (most recent call last):\n File \"/home/lars/.platformio/penv/lib/python3.6/site-packages/platformio/managers/package.py\", line 540, in _install_from_tmp_dir\n ), mismatch_error\nAssertionError: Package version 0.4.1 doesn't satisfy requirements ^0.9.0\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/lars/.platformio/penv/lib/python3.6/site-packages/platformio/__main__.py\", line 109, in main\n cli() # pylint: disable=no-value-for-parameter\n File \"/home/lars/.platformio/penv/lib/python3.6/site-packages/click/core.py\", line 829, in __call__\n return self.main(*args, **kwargs)\n File \"/home/lars/.platformio/penv/lib/python3.6/site-packages/click/core.py\", line 782, in main\n rv = self.invoke(ctx)\n File \"/home/lars/.platformio/penv/lib/python3.6/site-packages/platformio/commands/__init__.py\", line 44, in invoke\n return super(PlatformioCLI, self).invoke(ctx)\n File \"/home/lars/.platformio/penv/lib/python3.6/site-packages/click/core.py\", line 1259, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n File \"/home/lars/.platformio/penv/lib/python3.6/site-packages/click/core.py\", line 1259, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n File \"/home/lars/.platformio/penv/lib/python3.6/site-packages/click/core.py\", line 1066, in invoke\n return ctx.invoke(self.callback, **ctx.params)\n File \"/home/lars/.platformio/penv/lib/python3.6/site-packages/click/core.py\", line 610, in invoke\n return callback(*args, **kwargs)\n File \"/home/lars/.platformio/penv/lib/python3.6/site-packages/click/decorators.py\", line 21, in new_func\n return f(get_current_context(), *args, **kwargs)\n File \"/home/lars/.platformio/penv/lib/python3.6/site-packages/platformio/commands/lib.py\", line 155, in lib_install\n library, silent=silent, interactive=interactive, force=force\n File \"/home/lars/.platformio/penv/lib/python3.6/site-packages/platformio/managers/lib.py\", line 281, in install\n force=force,\n File \"/home/lars/.platformio/penv/lib/python3.6/site-packages/platformio/managers/package.py\", line 704, in install\n pkg_dir = self._install_from_piorepo(name, requirements)\n File \"/home/lars/.platformio/penv/lib/python3.6/site-packages/platformio/managers/lib.py\", line 131, in _install_from_piorepo\n requirements,\n File \"/home/lars/.platformio/penv/lib/python3.6/site-packages/platformio/managers/package.py\", line 499, in _install_from_url\n return self._install_from_tmp_dir(_tmp_dir, requirements)\n File \"/home/lars/.platformio/penv/lib/python3.6/site-packages/platformio/managers/package.py\", line 542, in _install_from_tmp_dir\n assert tmp_manifest[\"version\"] == requirements, mismatch_error\nAssertionError: Package version 0.4.1 doesn't satisfy requirements ^0.9.0\n\n============================================================\n\nAn unexpected error occurred. Further steps:\n\n* Verify that you have the latest version of PlatformIO using\n `pip install -U platformio` command\n\n* Try to find answer in FAQ Troubleshooting section\n https://docs.platformio.org/page/faq.html\n\n* Report this problem to the developers\n https://github.com/platformio/platformio-core/issues\n```