cancel
Showing results for 
Search instead for 
Did you mean: 

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

ShivaRagu
Senior

"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.

1 ACCEPTED SOLUTION

Accepted Solutions
ShivaRagu
Senior

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.

View solution in original post

3 REPLIES 3
Khouloud ZEMMELI
ST Employee

Hello @ShivaRagu​ 

Thanks for your post,

Could you please provide me steps to reproduce the issue?

Thanks, Khouloud

ShivaRagu
Senior

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.

Hi @ShivaRagu​ ,

Great to know :)

Thanks for your contribution, Khouloud