degen_geom not importable after pip install -r requirements-dev.txt (OpenVSP 3.49.0, Python 3.11)

31 views
Skip to first unread message

Koaib Kaleem

unread,
May 8, 2026, 6:13:04 AM (7 days ago) May 8
to OpenVSP

Hi,

I'm using OpenVSP 3.49.0 Win64 with Python 3.11.2 on Windows 11, accessing the Python API from a local folder installation.

Current working approach (for basic geometry/STL export):

python
sys.path.insert(0, r"...\python\openvsp_config") sys.path.insert(0, r"...\python\openvsp") sys.path.insert(0, r"...\python\openvsp\openvsp") os.add_dll_directory(r"...\OpenVSP-3.49.0-win64")

With a try/except around the degen_geom_parse imports in __init__.py to avoid a circular import between utilities.py (file in openvsp/openvsp/) and the utilities package (in python/utilities/). Basic geometry and STL export work fine.

Problem: When I run pip install -r requirements-dev.txt from the python/ folder into a fresh venv, all packages appear to install successfully (in develop mode), but degen_geom remains unimportable:

ModuleNotFoundError: No module named 'degen_geom'

Even testing directly: .venv\Scripts\python.exe -c "import degen_geom" fails.

Question: What is the correct procedure to get degen_geom properly importable after requirements-dev.txt on Windows? I need it working for VSPAero integration later.

Thanks

Brandon Litherland

unread,
May 8, 2026, 7:09:41 AM (7 days ago) May 8
to OpenVSP
the degen_geom module is a separate part of the API and isn't required for VSPAERO analysis.  I've used it as a separate piece to only run DegenGeom in a very limited way on simple models in the past, mostly for CHARM automation.  You should be able to run DegenGeom through the API via the Analysis Manager or use VSPAEROComputeGeometry to make the VSPAERO geometry you'll need for that integration.

Koaib Kaleem

unread,
May 8, 2026, 11:19:50 AM (7 days ago) May 8
to OpenVSP
Great, Thank You
Reply all
Reply to author
Forward
0 new messages