Skip to main content
ShivaRagu
Senior
Apr 16, 2021 4:50 AM UTC
Solved

Hi ST Member, Am getting the following error while Analyzing the model file in Stm32CubeMx.

"ImportError: cannot import name 'get_all_providers' from 'onnxruntime.capi._pybind_state' (C:\Users\Systemname\STM32Cube\Repository\Packs\STMicroelectronics\X-CUBE-AI\6.0.0\Utilities\windows\onnxruntime\capi\_pybind_state.pyc)"

Please help me to solve this issue.

This topic has been closed for replies.
ShivaRagu
ShivaRaguBest answer
Senior
Jun 7, 2021 4:53 AM UTC

Hi @Khouloud ZEMMELI​ ,

This error got solved. Actually, the error was due to some dll missing in the repository of Cube AI, So I uninstalled and reinstalled the CubeMX and Cube AI to the latest version and tried. It worked.

Thanks,

shivashankari.

3 replies

Khouloud ZEMMELI
ST Employee
Jun 4, 2021 1:29 PM UTC

Hello @ShivaRagu​ 

Thanks for your post,

Could you please provide me steps to reproduce the issue?

Thanks, Khouloud

ShivaRagu
ShivaRaguAuthorBest answer
Senior
Jun 7, 2021 4:53 AM UTC

Hi @Khouloud ZEMMELI​ ,

This error got solved. Actually, the error was due to some dll missing in the repository of Cube AI, So I uninstalled and reinstalled the CubeMX and Cube AI to the latest version and tried. It worked.

Thanks,

shivashankari.

Khouloud ZEMMELI
ST Employee
Jun 11, 2021 9:48 AM UTC

Hi @ShivaRagu​ ,

Great to know :)

Thanks for your contribution, Khouloud