dwyl / dwyl/learn-python

Download the latest Python

Abierto
#6 1 comentario 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
HTML
Estrellas
7
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Check your `python` version by running the following command:
```sh
python --version
```

If you see an older version e.g:

```sh
Python 2.7.16
```

First try:

```sh
python3 --version
```

Use [Homebrew](https://brew.sh) to install the latest version:

```
brew install python
```

Or if you prefer to use an installer,
follow the instructions to download/install the latest version:
https://www.python.org/downloads/mac-osx

### Set `python3` as the default version of Python on Mac/Linux:

Locate the `python3` binary:

```
which python3
/usr/bin/python3
```

Create symbolic link:

```
ln -s -f /usr/local/bin/python3 /usr/local/bin/python
```

Confirm it worked:

```
python --version
Python 3.9.0
```

## `Pip`

You also need `pip` the `Python` Package Manger.
Check if you have it by running the following command:

```sh
pip --version
```

If you see a recent version e.g. `20.2`
you're all set to install `MkDocs`.

If you see "not found":

```
zsh: command not found: pip
```

### Download + install the latest pip:

```
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
```

You should see:

```
Successfully installed pip-20.2.4 wheel-0.35.1
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.