diff --git a/docs/source/chapt_install/install_optional.rst b/docs/source/chapt_install/install_optional.rst index 227c09daa..300a0a323 100644 --- a/docs/source/chapt_install/install_optional.rst +++ b/docs/source/chapt_install/install_optional.rst @@ -63,12 +63,12 @@ The path to the ALAMO executable will need to be set in the "Settings" panel. So Install NLopt ^^^^^^^^^^^^^ -NLopt is an optional optimization library, which can be used by FOQUS. NLopt is not available to be installed with pip, but can be installed with conda as follows:: +NLopt is an optional optimization library, which can be used by FOQUS. NLopt can be installed as follows:: conda activate ccsi-foqus - conda install -c conda-forge nlopt + pip install nlopt==2.7.1 -For more information, see the `NLopt Installation Instructions `_. +Newer versions of NLopt cannot be used with the latest versions of FOQUS. For more information, see the `NLopt Installation Instructions `_. Install SnobFit diff --git a/setup.py b/setup.py index 8d2f343e1..122d48d90 100644 --- a/setup.py +++ b/setup.py @@ -112,6 +112,8 @@ "winshell; sys_platform == 'win32'", "websocket_client>=1.1.0", ], + # pip install ccsi-foqus[nlopt] See Issue #1274 for details + extras_require={"nlopt": ["nlopt==2.7.1"]}, ) print(f"""