Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Installing & Upgrading

Mac Robeson edited this page Jul 3, 2022 · 6 revisions

The latest release of PaGMO can be downloaded from the Github release page. Platform-specific instructions follow. PaGMO is Free-Software, released under the GPL License.

Windows

For Windows systems binaries are available for download: autoinstaller The binaries contain most of pygmo, except the algorithms ipopt and snopt. If you do want these you need to compile pagmo yourself and link it properly to these third-party solvers

OSX: Mountain Lion - homebrew

Rui Lopes provided us the following instructions:

Being a fan of Homebrew I scripted the the brew formulas for pagmo/pygmo (although a copy of the source is not kept currenlty, only the dylib). I submitted a pull request to the homebrew/science tap (taps are a new feature), but I believe it will take a couple of months for it to get accepted. In the meanwhile you can tap my homebrew/science fork and a have an automated installation. It is still very basic, but provides the essentials and

it should work with any Python distribution. However, I have only tested with pythonbrew. Feel free to contribute, there is a branch for each at: https://github.com/rmlopes/homebrew-science.git Installation (you need to have homebrew - http://mxcl.github.io/homebrew/): First tap the science fork:

$ brew tap rmlopes/science

Then, if you already have (brewed) boost linked to the correct python library:

$ brew install -v pagmo

If not,

$ brew install -v pagmo [--with-boost,--build-boost]

For more information on this:

$ brew info pagmo

About the boost options:

--build-boost: builds boost from source using the python path set in the first entry of PYTHONPATH

As an example mine is: /Users/rmlopes/.pythonbrew/pythons/Python-2.7.3/lib

--with-boost: installs a bottled version of boost compiled for the Apple python framework.
Clone this wiki locally