Skip to content

Commit b64ffbb

Browse files
committed
Sync versions with fixes
1 parent bddf740 commit b64ffbb

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

install-python.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The output should be one of the following (*version numbers will vary*). **C:\us
3535

3636
```
3737
C:\users\username\> python -V
38-
Python 3.10.1
38+
Python 3.11.0
3939
```
4040

4141
If you see this and the reported version number is sufficiently high (often 3.9 or higher), **you are good to go**.
@@ -118,7 +118,7 @@ The Windows Store version of Python is a good option. It's the easiest way to ge
118118

119119
1. Open the Microsoft Store on Windows
120120
2. Search for Python
121-
3. Find the latest version of Python from Microsoft (currently lists 3.7, 3.8, 3.9, and [**3.10**](https://www.microsoft.com/store/productId/9PJPW5LDXLZ5))
121+
3. Find the latest version of Python from Microsoft (currently lists 3.7, 3.8, 3.9, 3.10, and [**3.11**](https://apps.microsoft.com/store/detail/python-311/9NRWMJP3717K?hl=en-us&gl=us))
122122
4. Install from the Microsoft Store
123123
5. Close all terminal and command prompt windows
124124
6. Run `python -V` in a new terminal window to verify you have Python now working
@@ -131,7 +131,7 @@ The Windows Store version of Python is a good option. It's the easiest way to ge
131131
**Pros**
132132

133133
* Will keep Python up-to-date on your system as long as you periodically run the upgrade command
134-
* Will update across versions (e.g. 3.9 -> 3.10)
134+
* Will update across versions (e.g. 3.10 -> 3.11)
135135
* Can inform you of pending upgrade if upgrade command is run
136136

137137
**Cons**
@@ -163,7 +163,7 @@ The Windows Store version of Python is a good option. It's the easiest way to ge
163163

164164
* Generally uses [conda environments](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html) rather than [Python's virtual environments](https://www.geeksforgeeks.org/python-virtual-environment/) - this can lead to a mismatch in instructions when Anaconda is not the primary tool used.
165165
* Packages available here often lag behind in release schedule from PyPI / pip
166-
* Often one whole version behind on Python (e.g. 3.9 rather than 3.10)
166+
* Often one whole version behind on Python (e.g. 3.10 rather than 3.11)
167167

168168
**Install steps - Anaconda distribution on Windows**
169169

@@ -194,10 +194,10 @@ The output should be one of the following (*version numbers will vary*). Do not
194194

195195
```
196196
$ python3 -V
197-
Python 3.10.1
197+
Python 3.11.0
198198
```
199199

200-
If you see this and the reported version number is sufficiently high (often 3.6 or higher), **you are good to go**.
200+
If you see this and the reported version number is sufficiently high (often 3.9 or higher), **you are good to go**.
201201

202202
#### 2.7? Uh oh, your Python is badly outdated!
203203

@@ -234,7 +234,7 @@ Looks like you do not have Python 3 at all. **You will need to continue below to
234234
**Pros**
235235

236236
* Will keep Python up-to-date on your system as long as you periodically run the upgrade command
237-
* Will update across versions (e.g. 3.9 -> 3.10)
237+
* Will update across versions (e.g. 3.10 -> 3.11)
238238
* Can inform you of pending upgrade if upgrade command is run
239239

240240
**Cons**
@@ -291,7 +291,7 @@ The Python official installer can be found on **[python.org](http://python.org)*
291291

292292
* Generally uses [conda environments](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html) rather than [Python's virtual environments](https://www.geeksforgeeks.org/python-virtual-environment/) - this can lead to a mismatch in instructions when Anaconda is not the primary tool used.
293293
* Packages available here often lag behind in release schedule from PyPI / pip
294-
* Often one whole version behind on Python (e.g. 3.9 rather than 3.10)
294+
* Often one whole version behind on Python (e.g. 3.10 rather than 3.11)
295295

296296
**Install steps - Anaconda distribution on Windows**
297297

@@ -324,10 +324,10 @@ The output should be one of the following (*version numbers will vary*). Don't t
324324

325325
```
326326
$ python3 -V
327-
Python 3.10.1
327+
Python 3.11.0
328328
```
329329

330-
If you see this and the reported version number is sufficiently high (often 3.6 or higher), **you are good to go**.
330+
If you see this and the reported version number is sufficiently high (often 3.9 or higher), **you are good to go**.
331331

332332
#### 2.7? Uh oh, your Python is badly outdated!
333333

@@ -366,7 +366,7 @@ Ubuntu manages it's installed software using **[apt](https://ubuntu.com/server/d
366366
**Pros**
367367

368368
* Will keep Python up-to-date on your system as long as you periodically run the upgrade command
369-
* Will update across versions (e.g. 3.9 -> 3.10)
369+
* Will update across versions (e.g. 3.10 -> 3.11)
370370
* Can inform you of pending upgrade if upgrade command is run
371371

372372
**Cons**
@@ -432,14 +432,14 @@ While we would not generally recommend building Python 3 from source, if you nee
432432
3. Install the build tools: `sudo apt-get install -y build-essential checkinstall`
433433
4. Add additional libraries needed by Python to build: `apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libffi-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev`
434434
5. Change into the src directory: `cd /usr/src`
435-
6. Get the latest source from [python.org/downloads/source](https://www.python.org/downloads/source/) and wget it locally, e.g.: `sudo wget https://www.python.org/ftp/python/3.10.1/Python-3.10.1.tgz`
436-
7. Decompress it (varies by version): `sudo tar xzf Python-3.10.1.tgz`
437-
8. Change into the created directory (varies by version): `cd Python-3.10.1`
435+
6. Get the latest source from [python.org/downloads/source](https://www.python.org/downloads/source/) and wget it locally, e.g.: `sudo wget https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tgz`
436+
7. Decompress it (varies by version): `sudo tar xzf Python-3.11.0.tgz`
437+
8. Change into the created directory (varies by version): `cd Python-3.11.0`
438438
9. Prepare it for compilation: `sudo ./configure --enable-optimizations`
439439
10. Compile it without modifying system Python: `sudo make altinstall`
440-
11. Verify this version was built (varies by version): `python3.10 --version`
441-
12. Use `python3.10` instead of `python` or `python3` commands
442-
13. Consider creating an [alias](https://www.howtogeek.com/73768/how-to-use-aliases-to-customize-ubuntu-commands/) of `python3.10` to `python` in your shell profile.
440+
11. Verify this version was built (varies by version): `python3.11 --version`
441+
12. Use `python3.11` instead of `python` or `python3` commands
442+
13. Consider creating an [alias](https://www.howtogeek.com/73768/how-to-use-aliases-to-customize-ubuntu-commands/) of `python3.11` to `python` in your shell profile.
443443

444444
There is a [nice write up of this procedure over here](https://towardsdatascience.com/building-python-from-source-on-ubuntu-20-04-2ed29eec152b).
445445

0 commit comments

Comments
 (0)