Skip to content

Commit 814f795

Browse files
authored
Update README_API_INSTALL_PYTHON_LINUX.md
1 parent 56f7571 commit 814f795

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/README_API_INSTALL_PYTHON_LINUX.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,27 +25,27 @@ If you installed the Python 3 version of pip, you should type this instead:
2525

2626
Now, whenever you start a new project, you can create a virtual environment for it. Start by creating and moving into a new project directory:
2727

28-
$ mkdir ~/WeVoteServer3.5
28+
$ mkdir ~/VirtualEnvironments
2929

30-
$ cd ~/WeVoteServer3.5
30+
$ cd ~/VirtualEnvironments
3131

3232
Now, create a virtual environment within the project directory by typing:
3333

34-
$ virtualenv --python=/usr/bin/python3 WeVoteServer
34+
$ virtualenv --python=/usr/bin/python3.11 WeVoteServer3.11
3535

3636
Now activate this new virtual environment for WeVoteServer:
3737

3838
$ cd ~/PythonProjects/WeVoteServer/
39-
$ source ~/WeVoteServer3.5/WeVoteServer/bin/activate
39+
$ source ~/VirtualEnvironments/WeVoteServer3.11/bin/activate
4040
(WeVoteServer) $ export PATH="TBD/Postgres.app/Contents/Versions/latest/bin:$PATH"
4141

4242

4343
## Installing Python 3 on Linux
4444

45-
(WeVoteServer) $ pip3 install django
46-
(WeVoteServer) $ pip3 install --upgrade pip
47-
(WeVoteServer) $ pip3 install -r requirements.txt
48-
(WeVoteServer) $ python3 -m pip install pyopenssl pyasn1 ndg-httpsclient
45+
(WeVoteServer3.11) $ pip3 install django
46+
(WeVoteServer3.11) $ pip3 install --upgrade pip
47+
(WeVoteServer3.11) $ pip3 install -r requirements.txt
48+
(WeVoteServer3.11) $ python3 -m pip install pyopenssl pyasn1 ndg-httpsclient
4949

5050
If installing requirements.txt does not work because of different dependencies, attempt install -r requirements.txt several times.
5151
Also,relying on IDEs like PyCharm may help installing the packages.

0 commit comments

Comments
 (0)