Skip to content

Installation Guide

Pochung Chen edited this page Sep 24, 2025 · 3 revisions

Cytnx Installation Guide

Conda binary install (linux only for now)

Install conda or miniconda or ...

conda config --add channels conda-forge

Add conda-forge to the channel

conda config --add channels conda-forge

Create a virtual environment

conda create --channel conda-forge --name cytnx python=3.10 _openmp_mutex=*=*_llvm

Currently, python 3.? to python 3.11 is supported

Activate the virtual environment and install the cytnx package

conda activate cytnx
conda install -c kaihsinwu cytnx

Python venv + pip

Create python virtual environment and upgrade the pip.

python3 -m venv /path/to/new/virtual/environment
source /path/to/venv/bin/activate
pip install --upgrade pip

Clone the cytnx repository then pip install

git clone https://github.com/Cytnx-dev/Cytnx.git
pip install ./Cytnx -vv

Column 1 Column 2 Column 3
cmake 3.?
pip >=23?
GCC >=13.x

Clone this wiki locally