Installation¶
PyRCS can be installed via uv (recommended for speed, reliability and modern dependency resolution), pixi, traditional pip or conda-forge.
Using uv (Recommended)¶
uv is a fast Python package installer and project manager written in Rust.
Adding to a uv project¶
To add the latest release of PyRCS to your existing project managed by uv:
> uv add pyrcs
Installing in a virtual environment¶
If you are working inside an active virtual environment and wish to install PyRCS directly using uv pip:
> uv pip install --upgrade pyrcs
To install the latest development version directly from GitHub:
> uv pip install --upgrade git+[https://github.com/mikeqfu/pyrcs.git](https://github.com/mikeqfu/pyrcs.git)
Using pixi¶
pixi is a modern package management tool built on top of conda-forge.
Adding to a pixi project¶
To add the core PyRCS package to a workspace using pixi:
> pixi add pyrcs
Alternatively, to install PyRCS with PyPI extras inside a pixi project:
> pixi add --pypi pyrcs
Installing globally¶
To install PyRCS as a globally accessible tool via pixi:
> pixi global install pyrcs
Using pip¶
If you prefer standard Python packaging tools, ensure your virtual environment is activated and use pip install:
> pip install --upgrade pyrcs
To install the development version from GitHub:
> pip install --upgrade git+https://github.com/mikeqfu/pyrcs.git
Note
For general guidelines on Python virtual environments and dependency management, refer to the Python Packaging User Guide.
Using conda or mamba¶
PyRCS is published on conda-forge and can be managed using conda or mamba.
Installing the core package¶
To install PyRCS into an active environment using conda:
> conda install -c conda-forge pyrcs
Or, using mamba:
> mamba install -c conda-forge pyrcs
Verification¶
To verify the installation, import the package in a Python interpreter shell:
>>> import pyrcs
>>> pyrcs.__version__ # Check the latest version
The latest version is: 1.2.1