LoginSignup
1
1

More than 5 years have passed since last update.

Mac (10.9〜10.12) で Python 3 (3.6, 3.5, 3.4) をインストール (Fink)

Last updated at Posted at 2017-05-01

1. XCode のインストール

$ xcode-select --install

XCode ライセンスを承諾する必要があります。これは、

$ sudo xcodebuild -license

と入力し、

agree

と入力します。

2. Fink のインストール

Install Fink

を開き、テキストとしてデスクトップに保存します。

その後、ターミナルを開き、以下のコマンドを入力します。

$ cd Desktop 書類フォルダに保存した場合は、 $ cd Documents

$ chmod +x Install\ Fink.tool.txt

$ ./Install\ Fink.tool.txt

いくつか質問されますが、だたいリターンキーを押すだけでも大丈夫です。

JDK と X11 のインストール方法が途中で示されます。「詳しい情報...」をクリックしてインストールしてください。その後、ターミナルに戻って、再び

$ ./Install\ Fink.tool.txt

とします。

3. Python のインストール

ターミナルで、

$ fink install python36 (3.6の場合)

$ fink install python35 (3.5の場合)

$ fink install python34 (3.4の場合)

と入力します。

python は、/sw/bin/python3.6 のようにインストールされます。

Fink でインストールできる Python 3 関連のパッケージです。
http://pdb.finkproject.org/pdb/browse.php?summary=python3
http://pdb.finkproject.org/pdb/browse.php?summary=py36&sec=libs%2Fpythonmods

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