-
Notifications
You must be signed in to change notification settings - Fork 0
README.md - people should use exactly 3.13, update instructions about pyenv #62
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
base: live
Are you sure you want to change the base?
Conversation
c78486d
to
be8f874
Compare
be8f874
to
550e29e
Compare
@@ -24,13 +24,22 @@ Subsequent instructions assume that your current working directory is `os4d`, un | |||
|
|||
#### Create and activate a Python virtual environment | |||
|
|||
The following instructions assume you have [Python 3.10](https://www.python.org/downloads/) or newer installed on your machine. | |||
The following instructions assume you have [Python 3.13](https://www.python.org/downloads/) installed on your machine, as we need to use the same version of python the docs are built with. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the instructions now include installing Python 3.13, I think it's simpler to state it as a requirement, rather than an assumption followed by a 'need to' clause.
The following instructions assume you have [Python 3.13](https://www.python.org/downloads/) installed on your machine, as we need to use the same version of python the docs are built with. | |
The build requires [Python](https://www.python.org/downloads/) 3.13. |
If you already have 3.13 you can use `python3-venv` or a Python environment manager of your choice. | ||
|
||
If not we recommend pyenv. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you already have 3.13 you can use `python3-venv` or a Python environment manager of your choice. | |
If not we recommend pyenv. | |
If you already have Python 3.13 installed, you can create a virtual environment using [pyenv-virtualenv](https://github.com/pyenv/pyenv-virtualenv), `python3-venv`, or a Python environment manager of your choice. | |
If not, we recommend using `pyenv` to install Python 3.13 and `pyenv-virtualenv` to create a virtual environment. |
1. Set up Python 3.13 using pyenv: | ||
|
||
```bash | ||
pyenv install 3.13 | ||
pyenv local 3.13 | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have pyenv on my machine any more, but I'm pretty sure that you can just do pyenv virtualenv 3.13 os4d
at the next step, which makes the instructions the same regardless of whether the reader already has Python 3.13 installed or not.
I think we should also remove the first clause from the following sentence, since anyone reading this bit should have Python 3.13 installed. Line 63 in 550e29e
|
No description provided.