You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a problem when installing pyoptsparse from conda-forge, because the snopt module is not included in the conda-forge release, due to license restrictions.
Consider the case where a user wishes to:
Install pyoptsparse from conda-forge
Provide their own pre-compiled snopt.*.so binding module
As currently implemented, the user would have to copy it into the environment's site-packages folder to allow snopt to be imported correctly. This is not desirable.
Potential solution
An environment variable which allows the snopt module to be loaded non-relatively should do the trick, as a user can put whatever path onto their module search path with PYTHONPATH.
The text was updated successfully, but these errors were encountered:
Description of feature
Currently the
snopt.*.so
binding module is loaded relatively to pySNOPT.py - it is expected to live in the same folder.pyoptsparse/pyoptsparse/pySNOPT/pySNOPT.py
Line 7 in 40af7dc
This is a problem when installing
pyoptsparse
from conda-forge, because thesnopt
module is not included in the conda-forge release, due to license restrictions.Consider the case where a user wishes to:
pyoptsparse
from conda-forgesnopt.*.so
binding moduleAs currently implemented, the user would have to copy it into the environment's site-packages folder to allow
snopt
to be imported correctly. This is not desirable.Potential solution
An environment variable which allows the
snopt
module to be loaded non-relatively should do the trick, as a user can put whatever path onto their module search path withPYTHONPATH
.The text was updated successfully, but these errors were encountered: