Then enter the following command: python -c "from ortools.linear_solver import pywraplp" To test your Python installations, open a 圆4 Native Tools Command Prompt. To uninstall OR-Tools, issue the following commands: python -m pip uninstall ortools Validate your installation Then verify that you have pip 9.01 or higher available in your PATH: python -version python -c "import platform print(platform.architecture())" python -m pip -version Installing OR-ToolsĪssuming the prerequisite software is installed on your Windows, take the following steps: python -m pip install -user ortools Uninstalling OR-Tools You must have one of the following versions of Python installed: Installed on your computer, since OR-Tools library for Python is a wrapper for the Microsoft Visual C++ Redistributable for Visual Studio 2019 (select the 圆4 version) ![]() Microsoft Visual Studio 2019 or Visual Studio Community 2019.Them on machines meeting the following requirements: This guide explains how to install OR-Tools for Python on Windows.Īlthough these instructions might also work on other Windows variants, we have only tested
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |