Server error: {“type”:“AttributeError”,“args”:[“module ‘platformio.platform.ststm32’ has no attribute ‘Ststm32Platform’”],“message”:“module ‘platformio.platform.ststm32’ has no attribute ‘Ststm32Platform’”}
I tried upgrading, redownloading and restarting pc, but nothing changed. This error occured after i tried to create new project for bluepill stm32 f103c8
Also i have errors like this in boards, platforms and projects:
PIO Core Call Error: "
AttributeError: Traceback (most recent call last):
File "C:\Users\Andrewgammes54\.platformio\penv\Lib\site-packages\platformio\**main** .py", line 103, in main
cli() # pylint: disable=no-value-for-parameter
^^^^^
File "C:\Users\Andrewgammes54\.platformio\penv\Lib\site-packages\click\core.py", line 1157, in **call**
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Andrewgammes54\.platformio\penv\Lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\Andrewgammes54\.platformio\penv\Lib\site-packages\platformio\cli.py", line 85, in invoke
return super().invoke(ctx)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\Andrewgammes54\.platformio\penv\Lib\site-packages\click\core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Andrewgammes54\.platformio\penv\Lib\site-packages\click\core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Andrewgammes54\.platformio\penv\Lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Andrewgammes54\.platformio\penv\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Andrewgammes54\.platformio\penv\Lib\site-packages\click\decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Andrewgammes54\.platformio\penv\Lib\site-packages\platformio\commands\platform.py", line 121, in platform_list
_get_installed_platform_data(pkg, with_boards=False, expose_packages=False)
File "C:\Users\Andrewgammes54\.platformio\penv\Lib\site-packages\platformio\commands\platform.py", line 300, in _get_installed_platform_data
p = PlatformFactory.new(platform)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Andrewgammes54\.platformio\penv\Lib\site-packages\platformio\platformactory.py", line 79, in new
platform_cls = getattr(
^^^^^^^^
AttributeError: module 'platformio.platform.ststm32' has no attribute 'Ststm32Platform'
============================================================
An unexpected error occurred. Further steps:
* Verify that you have the latest version of PlatformIO using
`python -m pip install -U platformio` command
* Try to find answer in FAQ Troubleshooting section
[https://docs.platformio.org/page/faq/index.html
](https://docs.platformio.org/page/faq/index.html%5Cr%5Cn%5Cr%5Cn)* Report this problem to the developers
[https://github.com/platformio/platformio-core/issues