0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Python環境の構築

Posted at

はじめに

Macbook Air(macOS:High Sierra 10.13.6)にPythonの実行環境を構築しました。

手順1 Command Line Toolsをインストール

$ gcc

Command Line Toolsがインストールされていない場合は、インストールが開始されます。

手順2 Homebrewをインストール

$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

homebrew-core is a shallow clane.というErrorが出たので、
$ git -C/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
を実行しました。

手順3 Pythonをインストール

$ brew install python3

完了

Python 3.10.0がインストールされました。

$ python3
Python 3.10.0 (v3.10.0:b494f5935c, Oct  4 2021, 14:59:20) [Clang 12.0.5 (clang-1205.0.22.11)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>

参考にしたページ

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?