Skip to content

Commit

Permalink
Update docs to use Python 3.9 (#2981)
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanmai authored Sep 6, 2024
1 parent 13b718a commit e6d6bc9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/developer_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Set up the Python virtual environment

First, create a Python virtual environment with Python version >= 3.8 and activate it.
First, create a Python virtual environment with Python version >= 3.9 and activate it.

Using [Virtualenv](https://docs.python.org/3/library/venv.html#creating-virtual-environments):

Expand All @@ -18,7 +18,7 @@ Using [Anaconda](https://conda.io/projects/conda/en/latest/user-guide/tasks/mana

# Create a virtual environment.
# Only run this the first time.
conda create -n crfm-helm python=3.8 pip
conda create -n crfm-helm python=3.9 pip

# Activate the virtual environment.
conda activate crfm-helm
Expand Down
6 changes: 3 additions & 3 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

## Create a virtual environment

It is recommended to install HELM into a virtual environment with Python version 3.8 to avoid dependency conflicts. HELM requires Python version 3.8. To create, a Python virtual environment with Python version >= 3.8 and activate it, follow the instructions below.
It is recommended to install HELM into a virtual environment with Python version >=3.9 to avoid dependency conflicts. HELM requires Python >=3.9. To create, a Python virtual environment and activate it, follow the instructions below.

Using [Virtualenv](https://docs.python.org/3/library/venv.html#creating-virtual-environments):

```
# Create a virtual environment.
# Only run this the first time.
python3 -m pip install virtualenv
python3 -m virtualenv -p python3.8 helm-venv
python3 -m virtualenv -p python3.9 helm-venv
# Activate the virtual environment.
source helm-venv/bin/activate
Expand All @@ -21,7 +21,7 @@ Using [Anaconda](https://conda.io/projects/conda/en/latest/user-guide/tasks/mana
```
# Create a virtual environment.
# Only run this the first time.
conda create -n crfm-helm python=3.8 pip
conda create -n crfm-helm python=3.9 pip
# Activate the virtual environment.
conda activate crfm-helm
Expand Down

0 comments on commit e6d6bc9

Please sign in to comment.