We recommend that you use Pyomo with a scientific Python distribution. Linux, Mac OS/X and other Unix variants typically have Python pre-installed. However, scientific Python distributions that contain the SciPy Stack include many utilities that Pyomo users will find useful, including SciPy optimizers and MatplotLib plotting capabilities. See SciPy’s list of scientific Python distributions.
Install Optimization Solvers
Pyomo does not include any stand-alone optimization solvers. Consequently, most users will need to install third-party solvers to analyze optimization models built with Pyomo.
Note that Pyomo can remote launch optimization solvers on NEOS. However, this requires the installation of the pyomo "extras" packages (see below).
Installing the Latest Pyomo Release
Install Pyomo with pip
Scientific Python distributions include the pip package that is used to download and install the latest Pyomo release. The Python installation includes a bin or Scripts directory that includes a pip script. Add this directory to your PATH so you can execute the pip script. If you have administrator access, then you can install Pyomo in your system Python installation by executing the following in a shell:
pip install pyomo
Pyomo also has conditional dependencies on a variety of third-party Python packages. These are not installed with Pyomo, and many of them can be installed using the following pyomo subcommand:
INSTALLING Pyomo with CONDA
Some scientific Python distributions also include the conda package, which can also be used to download and install the latest Pyomo release. You can install Pyomo in your system Python installation by executing the following in a shell:
conda install -c conda-forge pyomo
Pyomo also has conditional dependencies on a variety of third-party Python packages. These can also be installed with conda:
conda install -c conda-forge pyomo.extras
Pyomo is available under the BSD license. For more information, see the Pyomo License.