Hello,
I am trying to use the python interface, and when I try to import to sv module is giving me the error below. How do I fix it? I tested in two different version of the SimVascular, and I get the same error for both.
Best,
Marisa
Python Interface - import sv error
- David Parker
- Posts: 1719
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Python Interface - import sv error
Hi Marisa,
How are you executing SV to enter the Python environment? Can you import sv from the SV Python console?
Cheers,
Dave
How are you executing SV to enter the Python environment? Can you import sv from the SV Python console?
Cheers,
Dave
- marisa bazzi
- Posts: 15
- Joined: Wed Aug 28, 2019 3:46 pm
Re: Python Interface - import sv error
Hey Dave,
My bad. I forgot I had to execute sv. But now, I am getting the following error. I am just trying to use a old code to convert STL to vtp.
Best,
Marisa
My bad. I forgot I had to execute sv. But now, I am getting the following error. I am just trying to use a old code to convert STL to vtp.
Best,
Marisa
- David Parker
- Posts: 1719
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Python Interface - import sv error
Hi Marisa,
It seems that you are using a very old version (2020-04-06) of SV; I don't think this version has the new Python API. Please update to the June 2021 release.
Cheers,
Dave
It seems that you are using a very old version (2020-04-06) of SV; I don't think this version has the new Python API. Please update to the June 2021 release.
Cheers,
Dave