How do I resolve the error "ModuleNotFoundError: No module named 'matlabengineforpython3_X'"?
Afficher commentaires plus anciens
I am currently setting up MATLAB Engine for Python 3.X. I used the standard setup process that is described in the documentation page on installing MATLAB Engine API for Python.
When I try to import the module "matlab.engine" in Python, I get the following error:
ModuleNotFoundError: No module named 'matlabengineforpython3_X'
The error also indicates that it is searching for the module in the directory
C:\Users\username\AppData\Local\Programs\Python\Python3X\lib\matlab\engine
instead of the directory
C:\Users\username\AppData\Local\Programs\Python\Python3X\Lib\site-packages\matlab\engine
which is where it appears that everything was installed.
How do I resolve this issue?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Call MATLAB from Python dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!