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

【Mac】Pythonの導入方法

Posted at

記事概要

Pythonの開発を行うために実施する、Macの設定方法をまとめる。

前提

  • PCはMacを使用している
  • CPythonで開発環境を構築する

Pythonの開発環境

  • CPython(シーパイソン)
    • 1番基本的な開発環境
  • Anaconda(アナコンダ)
    • Pythonのディストリビューションの1つ
    • CPythonに加えて、代表的なソフトウェア(ライブラリ)が同梱されている
  • Miniconda(ミニコンダ)
    • Anacondaを最小限の構成にしたようなディストリビューション

手順

  1. パイソンの公式サイトを開く
  2. 「Download Python 3.x.x」をクリックする
    ※「x」はバージョン番号なので、随時変更される
  3. ダウンロードしたインストーラーを実行し、CPythonをインストールする
    1. インストーラーをダブルクリックする
    2. はじめにの「続ける」をクリックする
    3. 大切な情報の「続ける」をクリックする
    4. 使用許諾契約の「続ける」をクリックし、「同意する」をクリックする
    5. インストールの種類の「インストール」をクリックし、PCのパスワードを入力する
    6. 概要の「閉じる」をクリックし、「ゴミ箱に入れる」をクリックする
    7. アプリケーションフォルダに、「Python 3.x」がインストールされたことを確認する
  4. ターミナルを起動し、下記コマンドを実行する
    % python3 -V
    
  5. Python 3.13.7のように、インストールしたバージョン番号が表示されることを確認する
    % python3 -V
    Python 3.13.7
    
1
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
1
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?