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

Failed building wheel for ecole on Windows #293

Closed
ZedongPeng opened this issue Nov 30, 2021 · 2 comments
Closed

Failed building wheel for ecole on Windows #293

ZedongPeng opened this issue Nov 30, 2021 · 2 comments
Labels
type/bug 🐛 Something isn't working

Comments

@ZedongPeng
Copy link

Describe the bug

I am trying to install ecole on Windows. But some errors came out.
Does ecole support Windows now?

Setting

  • OS: Windos
  • Compiler: Visual Studio C++
  • Python version: 3.10
  • Ecole version: ecole-0.7.3

To Reproduce

Expected behavior

Additional context

  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\pengzedong1\AppData\Local\Programs\Python\Python310\python.exe' 'C:\Users\pengzedong1\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\PENGZE~1\AppData\Local\Temp\tmph0l3lk1p'
       cwd: C:\Users\pengzedong1\AppData\Local\Temp\pip-install-o42v7h8a\ecole_1553332495be429c8054a46ca8652607
  Complete output (319 lines):
  Not searching for unused variables given on the command line.
  -- The CXX compiler identification is MSVC 19.30.30705.0
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - failed
  -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx86/x86/cl.exe
  -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx86/x86/cl.exe - broken
  CMake Error at C:/Users/pengzedong1/AppData/Local/Temp/pip-build-env-w4nd6j98/overlay/Lib/site-packages/cmake/data/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:62 (message):
    The C++ compiler

      "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx86/x86/cl.exe"

    is not able to compile a simple test program.

    It fails with the following output:

      Change Dir: C:/Users/pengzedong1/AppData/Local/Temp/pip-install-o42v7h8a/ecole_1553332495be429c8054a46ca8652607/_cmake_test_compile/build/CMakeFiles/CMakeTmp

      Run Build Command(s):C:/Users/pengzedong1/AppData/Local/Temp/pip-build-env-w4nd6j98/overlay/Scripts/ninja.exe cmTC_bd531 && [1/2] Building CXX object CMakeFiles\cmTC_bd531.dir\testCXXCompiler.cxx.obj
      [2/2] Linking CXX executable cmTC_bd531.exe
      FAILED: cmTC_bd531.exe
      cmd.exe /C "cd . && C:\Users\pengzedong1\AppData\Local\Temp\pip-build-env-w4nd6j98\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_bd531.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests  -- C:\PROGRA~1\MICROS~4\2022\COMMUN~1\VC\Tools\MSVC\1430~1.307\bin\Hostx86\x86\link.exe /nologo CMakeFiles\cmTC_bd531.dir\testCXXCompiler.cxx.obj  /out:cmTC_bd531.exe /implib:cmTC_bd531.lib /pdb:cmTC_bd531.pdb /version:0.0 /machine:X86  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
@ZedongPeng ZedongPeng added the type/bug 🐛 Something isn't working label Nov 30, 2021
@ZedongPeng
Copy link
Author

Or, is there any binary wheel file of ecole for Windows?

@AntoinePrv
Copy link
Member

Hi @ZedongPeng ,
We currently do not support Windows. This is in our ToDo list (#116).

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

2 participants