記事の新規作成 WindowsまたはMacでPythonのバージョンを確認する方法

PDF形式でダウンロードPDF形式でダウンロード

このHow.com.vnでは、WindowsまたはmacOSのコンピュータで、インストールされているPythonのバージョンを調べる方法をご紹介します。

方法 1
方法 1 の 2:

Windows PC

PDF形式でダウンロード
  1. How.com.vn 日本語: Step 1 Windowsの検索ボックスを開く 
    タスクバーに検索ボックスが表示されていない場合は、
    How.com.vn 日本語: Windows Start
    の横にある虫眼鏡または円アイコンをクリックするか、もしくは Win+Sを押下します。
  2. How.com.vn 日本語: Step 2 検索ボックスにpythonと入力する 
    検索語に一致する結果の一覧が表示されます。
  3. How.com.vn 日本語: Step 3 検索結果の中からPython [コマンドライン]をクリックする 
    黒いターミナルウィンドウが表示され、Pythonのプロンプトが起動されます。
  4. How.com.vn 日本語: Step 4 一行目に表示されているバージョン番号を探す 
    ウィンドウの左上角に表示される「Python」という単語の直後に記載されている番号(例:2.7.14)が、Pythonのバージョンです。
    広告
方法 2
方法 2 の 2:

macOS

PDF形式でダウンロード
  1. How.com.vn 日本語: Step 1 Macで「ターミナル」を開く 
    Finderでアプリケーションフォルダを開き、ユーティリティフォルダをダブルクリックします。そして、ターミナルをダブルクリックします。
  2. How.com.vn 日本語: Step 2 プロンプトにpython -V(注:Vは大文字)と入力する
  3. How.com.vn 日本語: Step 3 キーボードの⏎ Returnを押下する 
    次の行に、「Python」という単語の後に続いてバージョン番号(例:2.7.3)が表示されます。
    広告

このHow.com.vn記事について

How.com.vn 日本語: Kevin Burnett
共著者 ::
ソフトウェア開発者
この記事の共著者 : Kevin Burnett. ケビン・バーネットは20年以上の経験を持つソフトウェア開発者で、言語学習ソフトウェア会社である「Rosetta Stone」にてキャリアを積み上げてきました。フロントエンドとバックエンドの開発経験があり、主にRuby、Python、JavaScriptを使用。 この記事は1,430回アクセスされました。
カテゴリ: コンピューター
このページは 1,430 回アクセスされました。

この記事は役に立ちましたか?

⚠️ Disclaimer:

Content from Wiki How 日本語 language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

Notices:
  • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
  • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
  • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
  • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

広告