Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docs for dev env with specific Python #1412

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions docs/source/dev/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,17 @@ It can be changed on the command line with `--name <env-name>`.

```
cd mxcubeweb
conda env create -f conda-environment.yml
conda env create --file conda-environment.yml
# or (to pass a different name)
conda env create -f conda-environment.yml --name another_name
conda env create --file conda-environment.yml --name another_name
```

To choose a specific Python version when creating the conda environment,
for example Python 3.9, one can use a command such as the following:
To switch to a specific Python version inside the conda environment,
one can additionally use a command such as the following after environment creation,
for example for Python 3.9:

```
conda env create -f conda-environment.yml python=3.9
conda install --name mxcubeweb 'python=3.9'
```

### 4. Activate the environment
Expand Down
Loading