Skip to content

Commit

Permalink
(doc:) update python version from 3.7 to 3.10 (#14300)
Browse files Browse the repository at this point in the history
* docs(doc): change python version from 3.7 to 3.10
  • Loading branch information
koji authored Jan 9, 2024
1 parent f327ec9 commit 8b939ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ You will need the following tools installed to develop on the Opentrons platform
- git
- curl
- ssh
- Python v3.7
- Python v3.10
- Node.js v16
- [Yarn 1][yarn]

Expand Down
12 changes: 6 additions & 6 deletions DEV_SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You will need the following tools installed to develop on the Opentrons platform
- git
- curl
- ssh
- Python v3.7
- Python v3.10
- Node.js v16

### macOS
Expand Down Expand Up @@ -124,10 +124,10 @@ Close and re-open your terminal to verify that `pyenv` is installed
pyenv --version
```

Now, install the required version of Python. Use the latest available version of `3.7.x`, which is `3.7.15` at the time of writing.
Now, install the required version of Python. Use the latest available version of `3.10.x`, which is `3.10.13` at the time of writing.

```shell
pyenv install 3.7.15
pyenv install 3.10.13
```

If your `pyenv` command isn't working, confirm that your shell is set up properly. If you print out the contents of `~/.zprofile` and `~/.zshrc`, you should see something similar to the following:
Expand Down Expand Up @@ -198,15 +198,15 @@ cd ./opentrons
Once you are inside the repository for the first time, you should do two things:

1. Confirm that `nvs` selected the proper version of Node.js to use
2. Tell `pyenv` to use Python 3.7
3. Run `python --version` to confirm your chosen version. If you get the incorrect version and you're using an Apple silicon Mac, try running `eval "$(pyenv init --path)"` and then `pyenv local 3.7.15`. Then check `python --version` again.
2. Tell `pyenv` to use Python 3.10
3. Run `python --version` to confirm your chosen version. If you get the incorrect version and you're using an Apple silicon Mac, try running `eval "$(pyenv init --path)"` and then `pyenv local 3.10.13`. Then check `python --version` again.

```shell
# confirm Node v16
node --version

# set Python version, and confirm
pyenv local 3.7.15
pyenv local 3.10.13
python --version
```

Expand Down

0 comments on commit 8b939ed

Please sign in to comment.