ecole
ecole copied to clipboard
install error
Describe the bug
When I install ecole from source codes (python setup.py install, installation using pip always get timeout error for installing the dependency), I get the error:
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message): Could NOT find Python (missing: Python_LIBRARIES Interpreter Development NumPy) Call Stack (most recent call first): /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.16/Modules/FindPython.cmake:347 (find_package_handle_standard_args) python/extension-helper/dependencies/public.cmake:1 (find_package) python/extension-helper/CMakeLists.txt:2 (include)
Setting
- OS: Linux
- Compiler:
- Python version: python3.9
- Ecole version: 0.8.0 download from github
Basically CMake is telling you it cannot find Python. This should be set properly in setup.py by scikit-build.
I do not recommend using python setup.py install, pip is more appropriate. You cannot install ecole without the dependencies, but if you know you already have everything, you can use pip with pip install --no-deps --no-build-isolation [...]
Hi! Dear author, does the Ecole installation need to match a specific Scip version? Currently, I have Scip-6.0.1, Soplex-4.0.1, and Pyscipopt-2.1.5 installed as a source build. is it possible to install Ecole-0.8.1 directly?