![]() The problem is calling the Python script from Matlab as shown above. So I have significant confirmation that what I’ve done to this point works. I’ve even been able to run the code in VS Code after selecting the “work_tools” interpreter. I then activate the “work_tools” environment and run the Python script from there with no problems. Miniconda installs an “Anaconda shell” which activates the base environment. When installing Miniconda, they ask if you want to “add to system PATH” and recommend not to. If it wasn’t clear, I’ve installed my Python interpreter using Miniconda/conda and then created an environment called “work_tools”. ModuleNotFoundError: No module named 'vtkIOVeraOutPython' ![]() ImportError: DLL load failed: The specified procedure could not be found.ĭuring handling of the above exception, another exception occurred:įile "D:\miniconda\envs\work_tools\lib\site-packages\meshmagick\mesh.py", line 13, in įile "D:\miniconda\envs\work_tools\lib\site-packages\vtk.py", line 32, in įile "D:\miniconda\envs\work_tools\lib\site-packages\vtkmodules\all.py", line 88, in įile "D:\miniconda\envs\work_tools\lib\site-packages\vtkmodules\vtkIOVeraOut.py", line 9, in However, on Windows, I get errors: Traceback (most recent call last):įile "D:\miniconda\envs\work_tools\lib\site-packages\vtkmodules\vtkIOVeraOut.py", line 5, in As I said before, it works fine on Linux OS. I’ve tried with relative paths, absolute paths, no paths, etc. In Matlab I call system(), where Matlab defines the arguments, then Python creates a file. I’ve been doing this for the last few weeks/months on a Linux OS without a problem, so I know it’s not the code or method in which I execute the transaction that is causing the problem. The Python script basically creates a file that I need later on during the Matlab execution. I’m using Matlab 2019a and I call a Python script during the execution of the code. I’ve spent the last 24hrs scouring the internet to try and find a solution for this but nothing seems to work.
0 Comments
Leave a Reply. |