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

Add some more details on Windows installation #54

Merged
merged 2 commits into from
Jan 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ Then, execute::

From source on Windows
~~~~~~~~~~~~~~~~~~~~~~

Install the dependencies with conda (Anaconda or Miniconda)::

Install the dependencies with conda::

conda install numpy cython future six setuptools mkl
conda.exe install -c conda-forge numpy cython future six setuptools mkl

Additionally, make sure you have a C compiler setup to compile Python C
extensions, e.g. Visual C++.
extensions, e.g. Visual C++. Build tools for VS2019 https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019 have been tested to work for conda Python 3.7 (see https://github.com/matthias-k/cyipopt/issues/52).

avikde marked this conversation as resolved.
Show resolved Hide resolved
Download and extract the cyipopt source code from Github or PyPi.

Expand All @@ -132,6 +132,9 @@ Finally, execute::

python setup.py install

**NOTE:**
Only conda Python has been tested to work at the moment, and *not* the official python.org distribution. There is likely a binary compatibility issue between the C compiler used to build IPOPT and that used for compiling Python extensions in the official Python distribution (see https://github.com/matthias-k/cyipopt/issues/52).

Example Installation on Ubuntu 18.04 Using Dependencies Installed Via APT
-------------------------------------------------------------------------

Expand Down