Python package import prevents other import
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, I build my own Python package with the Mathlab compiler.
I can import in into Python and run it ok.
However, I cannot import another package such as numpy. I get an ImportError error on loading numpy.
The same happens when I load h5py first and I try to load the Matlab Compiled package afterwads. In this case, I get a
Can't load 'C:\Program Files\MATLAB\R2017b\bin\win64\wkspintrospect.dll': The specified procedure could not be
found.
Error in ctfroot (line 15)
Error in checkRequiredMCRProducts (line 14)
2 Kommentare
Stephen Schmugge
am 25 Nov. 2020
I'm getting this same error. But I'm using the runtime. It seems that when I "import tensorflow", it causes this problem. Did you ever find a fix?
Can't load 'C:\Program Files\MATLAB\MATLAB Runtime\v93\bin\win64\wkspintrospect.dll': The specified procedure could not be found.
Error in ctfroot (line 15)
Error in checkRequiredMCRProducts (line 14)
Stephen Schmugge
am 27 Nov. 2020
I think I found the fix. I needed to downgrade my h5py python library from 2.10.0 to 2.7.0. It works now without crashing.
This discussion helped on this github forum. ( https://github.com/soltanianzadeh/STNeuroNet/issues/11 )
Antworten (0)
Siehe auch
Kategorien
Mehr zu Call Python from MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!