Skip to content

Commit 00647ba

Browse files
committed
Reccomend isolated env
1 parent 1537830 commit 00647ba

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/development.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,21 +79,20 @@ $ sudo apt install python3-dev python-is-python3 build-essential doxygen
7979
```
8080

8181
Python packages required for development are listed in `python/requirements/development.txt`.
82-
These can be installed using `pip`::
82+
These can be installed using `pip`. We recommend using an isolated environment as below:
8383

8484
```bash
85+
$ python3 -m venv env
86+
$ source env/bin/activate
8587
$ python3 -m pip install -r python/requirements/development.txt
8688
```
8789

88-
You may wish isolate your development environment using a `virtualenv
89-
<https://docs.python-guide.org/dev/virtualenvs/>`_.
90-
9190
A few extra dependencies are required if you wish to work on the
9291
{ref}`C library <sec_development_c_requirements>`.
9392

9493
For OSX and Windows users we recommending using
95-
[conda](https://docs.conda.io/projects/conda/en/latest/)_,
96-
and isolating development in a dedicated environment as follows::
94+
[conda](https://docs.conda.io/projects/conda/en/latest/),
95+
and isolating development in a dedicated environment as follows:
9796

9897
```bash
9998
$ conda env create -f python/requirements/development.yml

0 commit comments

Comments
 (0)