Installation#
Note
PyDPEET requires Python 3.12 or newer.
You can use the editor or IDE of your choice. We recommend VS Code, but PyDPEET also works with other editors, notebooks, and Python environments.
You can install and use PyDPEET with different Python environment tools, such as uv, Python/pip, or conda. We recommend uv, because it is fast, simple to use, and provides reproducible project environments.
1. Install Python or an environment manager#
Install uv by following the official installation instructions:
https://docs.astral.sh/uv/getting-started/installation/
uv can automatically install and manage Python versions for your project.
Install Python 3.12 or newer from:
https://www.python.org/downloads/
Install Miniconda from:
https://docs.anaconda.com/miniconda/
2. Open or create a project folder#
Choose or create a folder in which you want to use PyDPEET and open a terminal in this folder.
You can use either a system terminal or the integrated terminal of your editor or IDE (for example VS Code).
3. Create an environment#
Create a new uv project with Python 3.12:
uv init
uv python pin 3.12
Create a local virtual environment:
python -m venv .venv
Activate the environment.
Windows
.venv\Scripts\activate
Linux/macOS
source .venv/bin/activate
Create a dedicated conda environment:
conda create -n pydpeet python=3.12
Activate it:
conda activate pydpeet
4. Install PyDPEET#
Add PyDPEET to your uv project:
uv add pydpeet
Install PyDPEET with pip:
python -m pip install --upgrade pip
python -m pip install pydpeet
Install PyDPEET from PyPI inside your conda environment:
python -m pip install --upgrade pip
python -m pip install pydpeet
Note
PyDPEET is currently distributed via PyPI. Therefore, even when using conda, PyDPEET itself is installed with pip.
5. Update PyDPEET#
Note
PyDPEET is actively developed. We recommend updating regularly.
uv add --upgrade pydpeet
python -m pip install --upgrade pydpeet
python -m pip install --upgrade pydpeet
Next steps#
We recommend starting with the examples.