DVGeometryCST import fails silently due to dependency not described in the docs #176
Labels
bug
Something isn't working
documentation
This is related to documentation
good first issue
Good for newcomers
Description
If a user does not have prefoil installed, importing DVGeometryCST at pygeo init will fail silently and produce a "ImportError: cannot import name 'DVGeometryCST' from 'pygeo'" error message when the module is actually used. This hides the underlying cause, which is that prefoil is not installed. The prefoil dependency is not described, as far as I can tell, anywhere in the docs or installation instructions.
Steps to reproduce issue
Install pygeo 1.12.2 on ubuntu-like system
Try to use DVGeometryCST (e.g. from cmplxfoil)
Current behavior
Error message hides reason for import error
Expected behavior
Error message ought to describe the missing dependency
Docs ought to describe prefoil depedency
Code versions
The text was updated successfully, but these errors were encountered: