From 6a2c416318182a73f0032dd799bac5adefe4983f Mon Sep 17 00:00:00 2001 From: jcteng Date: Sat, 12 Jul 2025 07:01:53 +0800 Subject: [PATCH] add conda python3.12 install scripts --- docs/source/gettingstarted.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/source/gettingstarted.rst b/docs/source/gettingstarted.rst index c7db913..10c426f 100644 --- a/docs/source/gettingstarted.rst +++ b/docs/source/gettingstarted.rst @@ -22,6 +22,18 @@ Setting up dependencies We assume you have Python 3.12 or newer available through your shell ``$PATH`` as ``python3``. To confirm, you can run ``python3 --version``. +Or ,install a conda env for python 3.12 +.. code:: shell + + mkdir -p ~/miniconda3 + wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh + bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3 + rm ~/miniconda3/miniconda.sh + source ~/miniconda3/bin/activate + conda create --name rtlmeter python=3.12 + conda activate rtlmeter + + Python dependencies are manged through a virtual environment that you can set up automatically by running the following command once, after cloning or updating the repository: