Skip to content

Installation

pyDOE can be installed from pypi, conda-forge, and git.

PyPI

For using the PyPI package in your project, you can update your configuration file by adding following snippet.

[project.dependencies]
pyDOE = "*" # (1)!
  1. Specifying a version is recommended
pyDOE>=0.3.8

pip

pip install --upgrade --user pyDOE # (1)!
  1. You may need to use pip3 instead of pip depending on your python installation.
python -m venv .venv
source .venv/bin/activate
pip install --require-virtualenv --upgrade pyDOE # (1)!
  1. You may need to use pip3 instead of pip depending on your python installation.

Note

Command to activate the virtual env depends on your platform and shell. More info

pipenv

pipenv install pyDOE

uv

uv add pyDOE
uv sync
uv venv
uv pip install pyDOE

poetry

poetry add pyDOE

pdm

pdm add pyDOE

hatch

hatch add pyDOE

conda-forge

You can update your environment spec file by adding following snippets.

environment.yml
channels:
  - conda-forge
dependencies:
  - pyDOE # (1)!
  1. Specifying a version is recommended

Installation can be done using the updated environment spec file.

conda env update --file environment.yml
micromamba env update --file environment.yml

Note

replace environment.yml with your actual environment spec file name if it's different.

Or directly in your conda environment.

conda install -c conda-forge pyDOE
micromamba install -c conda-forge pyDOE

git

Sometimmes release can fall behind the latest changes in the repository. pip can directly install from the git repository.

pip install --upgrade "git+github.com/pydoe/pyDOE.git#egg=pyDOE"

Dependencies