Installation

Install from source

The sources for PyTUQ can be downloaded from the PyTUQ GitHub repo.

To install from source for the most recent stable release of PyTUQ, start up a Python virtual environment and clone the GitHub repository:

$ source <PYTHON_VENV_DIR>/bin/activate # starting up an example Python virtual environment
$ git clone git@github.com:sandialabs/pytuq.git
$ cd pytuq

Then, install the PyTUQ package and its dependencies via ‘pip’.

To install just the primary PyTUQ dependencies, use the following command:

$ pip install .

To take advantage of the neural network surrogate model capabilites in PyTUQ, use the following commands to install PyTUQ along with its optional dependencies:

$ pip install -r requirements.txt
$ pip install .

If you don’t have pip installed, this Python installation guide can guide you through the process.