Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install error #317

Open
zengqg opened this issue Mar 12, 2022 · 2 comments
Open

install error #317

zengqg opened this issue Mar 12, 2022 · 2 comments
Labels
type/bug 🐛 Something isn't working

Comments

@zengqg
Copy link

zengqg commented Mar 12, 2022

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: <!--- if applicable e.g. gcc, clang... with version --->
  • Python version: python3.9
  • Ecole version: 0.8.0 download from github
@zengqg zengqg added the type/bug 🐛 Something isn't working label Mar 12, 2022
@AntoinePrv
Copy link
Member

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 [...]

@xiaofeishu141220
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants