Error when calling python module from MATLAB
Ältere Kommentare anzeigen
Hi,
When I tried running
py.mymod.search({'john','johnson','james'})
I got this error message:
Error using py.mymod.search. The specified superclass 'python.internal.MutableSequence' contains a parse error, cannot be found on MATLAB's search path, or is shadowed by another file with the same name.
I know the module is on the path because MATLAB returns the related information when I run
py.importlib.import_module('mymod')
So it must be due to a parsing error or an identical name. How should I solve this problem? Does "the same name" in the error message refer to mymod or the superclass name MutableSequence?
Thanks in advance.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Call Python from MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!