-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing vsp.py file #212
Comments
Have you taken a look at the 2020 Workshop Presentation about how to setup the Python API? You might see something that you missed when setting it up. Also to note is that the last few versions of OpenVSP mistakenly wrapped the API with Python 3.9. I believe this has been fixed in 3.25.0 but am not 100% sure. It will definitely be fixed by the next release, but just something to be aware of if that is causing your issue. |
The Python version must be the same as what OpenVSP was compiled with. For instance OpenVSP 3.21.2 Win64 requires Python 3.6-x64. If a different verison of Python is desired, the user must compile OpenVSP themselves. Python API Instructions |
I'm having the same issue (Ubuntu 18.04) Traceback (most recent call last):
File "/home/ijw/projects/N221-004/OpenVSP/src/python_api/packages/../test.py", line 4, in <module>
import openvsp as vsp
File "/home/ijw/projects/N221-004/OpenVSP/src/python_api/packages/openvsp/openvsp/__init__.py", line 1, in <module>
from .vsp import *
ModuleNotFoundError: No module named 'openvsp.vsp' I have followed the instructions and tried with both Python 3.6 and 3.9 because it wasn't clear to me which 3.26.1 used. |
In my case this issue was the result of trying to
Instead the install location:
|
I'm trying to compile python openvsp but it's giving me this error, I couldn't find the file anywhere
The text was updated successfully, but these errors were encountered: