Python package is getting exception when initializating.

16 visualizaciones (últimos 30 días)
Michael Forbes
Michael Forbes el 25 de Jun. de 2022
Editada: Somnath Kale el 25 de Jun. de 2022
I have a Python package that was compiled for me (from Matlab 2021a). I have run the installer and installed setup.py according to the instructions. When I attempt to initialize with PerformancePrediction.initialize() - where PerformancePrediction is the name of my package - I am getting the error:
Exception caught during initialization of Python interface. Details: Could not find the directory C:\Program Files\MATLAB\R2021a\toolbox\compiler_sdk\pysdk_py
Why is this happening, and what have I missed in installing the package?
I do have 2021a installed on my machine but I am not licensed for the compiler_sdk, so I am not sure why the package would be searching for that directory. Is this something that is resulting from selections made by the person who compiled the package?
Thanks for any suggestions.
  1 comentario
Somnath Kale
Somnath Kale el 25 de Jun. de 2022
Editada: Somnath Kale el 25 de Jun. de 2022
Try by reinstlling the entire software. If possible remove the delet the root files of earlier installed version!

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Python Package Integration en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by