Skip to content

When building from source for Python, "Installing OR-Tools on your operating system" step failed #3833

@proshkin

Description

@proshkin

What version of OR-Tools and what language are you using?
Version: main
Language: Python

Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
CP-SAT

What operating system (Linux, Windows, ...) and version?
Windows 11 Enterprise 10.0.22621

What did you do?
Following instructions from "Building from source OR-Tools Python on Windows"

Steps to reproduce the behavior:
Using Visual Studio Community 2022 Preview 17.7.0 Preview 2.0 x64 prompt running as Administrator:

  1. cmake -S . -B build -DBUILD_DEPS=ON -DBUILD_PYTHON=ON
  2. cmake --build build --config Release --target ALL_BUILD -j -v
  3. cmake --build build --config Release --target RUN_TESTS -v
  4. cmake --build build --config Release --target INSTALL -v
    (Failed, see install_python.log)

What did you expect to see
INSTALL step to succeed
What did you see instead?
INSTALL step is failed. See install_python.log

Make sure you include information that can help us debug (full error message, model Proto).

Anything else we should know about your project / environment
configure_build_python.log
build_source_python.log
test_python.log
install_python.log

Metadata

Metadata

Assignees

Labels

Doc: Optimization SiteIssue related to https://developers.google.com/optimization/ or Documentation in generalHelp NeededModeling/Usage problemLang: PythonPython wrapper issueOS: WindowsWindows OS

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions