Skip to content

Commit 762ab13

Browse files
committed
Update installation.rst
Add instructions for conda environment setup
1 parent 8ef6a59 commit 762ab13

1 file changed

Lines changed: 16 additions & 5 deletions

File tree

docs/source/installation.rst

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,28 @@ Follow this procedure to prepare the environment and install **FedERA**:
99

1010
See the `Venv installation guide <https://docs.python.org/3/library/venv.html>`_ for details.
1111

12-
2. Create a new Virtualenv environment for the project.
12+
2. Create a new environment for the project.
13+
A. Using Virtual Environment
14+
.. code-block:: console
15+
16+
$ python3 -m venv env
1317
14-
.. code-block:: console
18+
B. Using conda
19+
.. code-block:: console
1520
16-
python3 -m venv venv
21+
$ conda create -n env python=3.9
1722
1823
3. Activate the virtual environment.
1924

20-
.. code-block:: console
25+
A. Virtual Environment
26+
.. code-block:: console
27+
28+
$ source env/bin/activate
29+
30+
B. Conda Environment
31+
.. code-block:: console
2132
22-
source venv/bin/activate
33+
$ conda activate env
2334
2435
4. Install the **FedERA** package.
2536

0 commit comments

Comments
 (0)