Skip to content

Commit 9a1d089

Browse files
author
Gunnar Pruß
committed
Suggest using pyenv for manging Python versions
Pip fails to install some libraries listed in requirements.txt with Python versions later than 3.11. Address this issue in the readme file and suggest pyenv as a solution. Add pyenv's .python-version file to gitignore.
1 parent f1bba12 commit 9a1d089

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.idea
22
.vscode
3+
.python-version
34
venv
45
.venv
56
docs/build

README.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ Set up virtual environment
2525
python3 -m venv venv
2626
source ./venv/bin/activate
2727
28+
Note: Some libraries included in requirements.txt only work in Python versions up to
29+
and including 3.11. So if you run into troubles installing the required dependencies
30+
(see below), you might want to consider using `pyenv <https://github.com/pyenv/pyenv>`
31+
to install an additional version of Python on your system *before* creating the virtual
32+
environment.
33+
2834
Install Requirements
2935
--------------------
3036

0 commit comments

Comments
 (0)