dwyl / dwyl/learn-python

Download the latest Python

オープン
#6 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
HTML
スター
7
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

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
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。