@@ -6,21 +6,14 @@ environment is highly recommended because it allows you to maintain a separate
66Python working environment for ETA that operates independently of other
77packages and Python applications on your machine.
88
9- > Note that ETA does not currently support Python 3.7, so you must instead
10- > have a Python 3.6 distribution installed on your machine
11-
129> Note also that it is highly recommended that you do NOT use an Anaconda
1310> Python distribution; if you do, the steps described here may fail... Fear
1411> not, however, as ETA will install all necessary pacakges for you!
1512
1613
1714## Creating a virtual environment
1815
19- * If you want to create a Python 2.7 virtual environment and need a fresh
20- Python installtion, download and install it from
21- https://www.python.org/downloads
22-
23- * If you want to create a Python 3.6 virtual environment and need a fresh
16+ * If you want to create a Python 3.9 virtual environment and need a fresh
2417Python installation, follow the steps below:
2518
2619``` shell
@@ -29,8 +22,8 @@ sudo apt-get update
2922sudo apt-get -y --no-install-recommends install software-properties-common
3023sudo add-apt-repository -y ppa:deadsnakes/ppa
3124sudo apt-get update
32- sudo apt-get -y --no-install-recommends install python3.6 python3.6 -dev
33- sudo ln -s /usr/bin/python3.6 /usr/local/bin/python
25+ sudo apt-get -y --no-install-recommends install python3.9 python3.9 -dev
26+ sudo ln -s /usr/bin/python3.9 /usr/local/bin/python
3427curl https://bootstrap.pypa.io/get-pip.py | sudo python
3528sudo pip install --upgrade pip setuptools
3629sudo pip install virtualenv
@@ -61,10 +54,7 @@ cd "${ENV_DIR}"
6154* Make a virtual environment, modifying the python executable path as needed:
6255
6356``` shell
64- # Example for Python 2.7
65- virtualenv -p /usr/local/bin/python eta2
66-
67- # Example for Python 3.6
57+ # Example for Python 3.9
6858virtualenv -p /usr/local/bin/python3 eta3
6959```
7060
@@ -90,7 +80,7 @@ exit() {
9080To install ETA in a virtual environment, simply activate the environment:
9181
9282``` shell
93- # Example of activating a Python 3.6 environment created above
83+ # Example of activating a Python 3.9 environment created above
9484eta3
9585```
9686
0 commit comments