<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>インストール</title>
	<atom:link href="https://javeo.jp/tag/%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/feed/" rel="self" type="application/rss+xml" />
	<link>https://javeo.jp</link>
	<description>ほどほどレベルのプログラミング</description>
	<lastBuildDate>Sun, 23 Jun 2024 15:09:37 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://javeo.jp/wp-content/uploads/2025/08/cropped-ExcelPython_future-32x32.jpg</url>
	<title>インストール</title>
	<link>https://javeo.jp</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>【Python】Pythonをインストールして実行する</title>
		<link>https://javeo.jp/python-install/</link>
					<comments>https://javeo.jp/python-install/#respond</comments>
		
		<dc:creator><![CDATA[ジャベ雄]]></dc:creator>
		<pubDate>Sun, 23 Jun 2024 23:00:00 +0000</pubDate>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[インストール]]></category>
		<guid isPermaLink="false">https://javeo.jp/?p=2354</guid>

					<description><![CDATA[目次 インストーラーをダウンロードインストーラーの実行ファイルの関連付け関連付けの処理関連付けができていることを確認あとがき インストーラーをダウンロード Pythonを利用するためには兎にも角にもインストールが必要 公 [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="codoc-evacuations" style="display:none;" data-shortcode=""></div>
<div class="wp-block-cocoon-blocks-info-box block-box primary-box">
<p>クラウドソーシングでPythonプログラムの作成を受注することが多いのですが、納品したファイルを「<strong>どうやったら使えるのか</strong>」と聞かれることがちょくちょくあるのでPythonのインストールからプログラム実行するまでの手順をまとめてみました</p>



<p>初心者と言うか実行さえできればOKな人向けの簡易版なので細かいところまで確認したい方はまた別の機会に</p>



<p>そしてWindows OS前提なのでMac OSの方はごめんなさい・・</p>
</div>




  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-2" checked><label class="toc-title" for="toc-checkbox-2">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">インストーラーをダウンロード</a></li><li><a href="#toc2" tabindex="0">インストーラーの実行</a></li><li><a href="#toc3" tabindex="0">ファイルの関連付け</a><ol><li><a href="#toc4" tabindex="0">関連付けの処理</a></li><li><a href="#toc5" tabindex="0">関連付けができていることを確認</a></li></ol></li><li><a href="#toc6" tabindex="0">あとがき</a></li></ol>
    </div>
  </div>

<h2 class="wp-block-heading"><span id="toc1">インストーラーをダウンロード</span></h2>



<p>Pythonを利用するためには兎にも角にもインストールが必要</p>



<p>公式サイトに行けば各バージョンの取得ができますが、特に理由がなければトップ画面にある最新版をダウンロードしてしまえばOK</p>



<p>と言うことで公式サイト（<a rel="noreferrer noopener nofollow" target="_blank" href="https://www.python.org/downloads">https://www.python.org/downloads</a>）へ</p>



<figure class="wp-block-image aligncenter size-large is-resized"><a rel="follow noopener noreferrer" target="_blank" href="https://javeo.jp/wp-content/uploads/2024/06/image-13.png"><img fetchpriority="high" decoding="async" width="1024" height="538" src="https://javeo.jp/wp-content/uploads/2024/06/image-13-1024x538.png" alt="" class="wp-image-2355" style="width:840px;height:auto" srcset="https://javeo.jp/wp-content/uploads/2024/06/image-13-1024x538.png 1024w, https://javeo.jp/wp-content/uploads/2024/06/image-13-300x158.png 300w, https://javeo.jp/wp-content/uploads/2024/06/image-13-150x79.png 150w, https://javeo.jp/wp-content/uploads/2024/06/image-13-768x403.png 768w, https://javeo.jp/wp-content/uploads/2024/06/image-13.png 1200w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">この位置に最新版のダウンロードボタンがある</figcaption></figure>



<p>クリックするとインストーラーの「<strong>python-{対象バージョン}-amd64.exe</strong>」がダウンロードされるので実行しちゃってください</p>



<h2 class="wp-block-heading"><span id="toc2">インストーラーの実行</span></h2>



<p>インストール処理は簡単ですが画面を順番に見ていきます</p>



<p>先ほどダウンロードしたインストーラーを実行して画面下部にある</p>



<ul class="is-style-default has-watery-yellow-background-color has-background wp-block-list">
<li>Use admin privileges when installing py.exe</li>



<li>Add python.exe to PATH</li>
</ul>



<p>の2つにチェックを入れることを推奨しつつ、中央の&#8221;<span class="marker-under"><strong>Install Now</strong></span>&#8220;をクリック</p>



<p>そして後で必要になる<span class="bold-red">インストール先</span>が表示されているので控えておく</p>



<figure class="wp-block-image size-full"><a rel="follow noopener noreferrer" target="_blank" href="https://javeo.jp/wp-content/uploads/2024/06/image-17.png"><img decoding="async" width="656" height="405" src="https://javeo.jp/wp-content/uploads/2024/06/image-17.png" alt="" class="wp-image-2364" srcset="https://javeo.jp/wp-content/uploads/2024/06/image-17.png 656w, https://javeo.jp/wp-content/uploads/2024/06/image-17-300x185.png 300w, https://javeo.jp/wp-content/uploads/2024/06/image-17-150x93.png 150w, https://javeo.jp/wp-content/uploads/2024/06/image-17-240x148.png 240w, https://javeo.jp/wp-content/uploads/2024/06/image-17-320x198.png 320w, https://javeo.jp/wp-content/uploads/2024/06/image-17-640x396.png 640w" sizes="(max-width: 656px) 100vw, 656px" /></a></figure>



<p>インストールが進んで・・・</p>



<figure class="wp-block-image size-full"><a rel="follow noopener noreferrer" target="_blank" href="https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_00h33_48.png"><img decoding="async" width="656" height="405" src="https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_00h33_48.png" alt="" class="wp-image-2359" srcset="https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_00h33_48.png 656w, https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_00h33_48-300x185.png 300w, https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_00h33_48-150x93.png 150w, https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_00h33_48-240x148.png 240w, https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_00h33_48-320x198.png 320w, https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_00h33_48-640x396.png 640w" sizes="(max-width: 656px) 100vw, 656px" /></a></figure>



<p>そのままインストール完了！（これだけ）</p>



<figure class="wp-block-image size-full"><a rel="follow noopener noreferrer" target="_blank" href="https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_00h35_15.png"><img decoding="async" width="656" height="405" src="https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_00h35_15.png" alt="" class="wp-image-2360" srcset="https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_00h35_15.png 656w, https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_00h35_15-300x185.png 300w, https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_00h35_15-150x93.png 150w, https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_00h35_15-240x148.png 240w, https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_00h35_15-320x198.png 320w, https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_00h35_15-640x396.png 640w" sizes="(max-width: 656px) 100vw, 656px" /></a></figure>



<h2 class="wp-block-heading"><span id="toc3">ファイルの関連付け</span></h2>



<p>続いてファイルの関連付け処理です</p>



<div class="wp-block-cocoon-blocks-tab-caption-box-1 tab-caption-box block-box has-background has-border-color has-watery-blue-background-color has-key-color-border-color not-nested-style cocoon-block-tab-caption-box" style="--cocoon-custom-background-color:#e3f2fd;--cocoon-custom-border-color:#008dcb"><div class="tab-caption-box-label block-box-label box-label fab-lightbulb"><span class="tab-caption-box-label-text block-box-label-text box-label-text">関連付けとは</span></div><div class="tab-caption-box-content block-box-content box-content">
<p>例えば「<span class="marker-under">拡張子が&#8221;xlsx&#8221;や&#8221;xlsm&#8221;のファイルを&#8221;EXCEL.EXE&#8221;アプリケーションで実行する</span>」のような<strong>ファイルの種類（=拡張子）と実行ファイル（exeファイル）を紐づける処理</strong>のことです</p>
</div></div>



<p>今回はPythonなので&#8221;py&#8221;ファイルをインストールした&#8221;python.exe&#8221;で実行できるように設定してあげます</p>



<h3 class="wp-block-heading"><span id="toc4">関連付けの処理</span></h3>



<p>まずはpyファイルを右クリックで「プロパティ→変更」の順に選択</p>



<figure class="wp-block-image size-large"><a rel="follow noopener noreferrer" target="_blank" href="https://javeo.jp/wp-content/uploads/2024/06/image-23.png"><img decoding="async" width="1024" height="571" src="https://javeo.jp/wp-content/uploads/2024/06/image-23-1024x571.png" alt="" class="wp-image-2374" srcset="https://javeo.jp/wp-content/uploads/2024/06/image-23-1024x571.png 1024w, https://javeo.jp/wp-content/uploads/2024/06/image-23-300x167.png 300w, https://javeo.jp/wp-content/uploads/2024/06/image-23-150x84.png 150w, https://javeo.jp/wp-content/uploads/2024/06/image-23-768x428.png 768w, https://javeo.jp/wp-content/uploads/2024/06/image-23.png 1080w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>



<p>続いて表示されたメニューを下記の手順で処理</p>



<ol class="has-watery-yellow-background-color has-background wp-block-list">
<li>「その他アプリ↓」をクリック</li>



<li>「常にこのアプリを使って～」をチェック</li>



<li>スクロールして最下部にある「このPCで別のアプリを探す」をクリック</li>



<li>最後にOKをクリック</li>
</ol>



<figure class="wp-block-image size-large"><a rel="follow noopener noreferrer" target="_blank" href="https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_20h24_38-1.png"><img decoding="async" width="1024" height="538" src="https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_20h24_38-1-1024x538.png" alt="" class="wp-image-2370" srcset="https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_20h24_38-1-1024x538.png 1024w, https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_20h24_38-1-300x158.png 300w, https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_20h24_38-1-150x79.png 150w, https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_20h24_38-1-768x403.png 768w, https://javeo.jp/wp-content/uploads/2024/06/2024-06-23_20h24_38-1.png 1200w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>



<div class="wp-block-cocoon-blocks-blank-box-1 blank-box block-box has-border-color has-watery-blue-border-color">
<p>※3.のスクロールしている最中にもし↓のように&#8221;Python&#8221;があればそれを選択すればOK</p>



<figure class="wp-block-image size-full"><a rel="follow noopener noreferrer" target="_blank" href="https://javeo.jp/wp-content/uploads/2024/06/image-19.png"><img decoding="async" width="392" height="522" src="https://javeo.jp/wp-content/uploads/2024/06/image-19.png" alt="" class="wp-image-2368" srcset="https://javeo.jp/wp-content/uploads/2024/06/image-19.png 392w, https://javeo.jp/wp-content/uploads/2024/06/image-19-225x300.png 225w, https://javeo.jp/wp-content/uploads/2024/06/image-19-113x150.png 113w" sizes="(max-width: 392px) 100vw, 392px" /></a></figure>
</div>



<p>この後実行ファイル（exeファイル）を選択するためにファイル選択ダイアログが表示されるわけですが、インストールした時に表示されていたフォルダへ移動して&#8221;python.exe&#8221;を選択</p>



<figure class="wp-block-image size-full"><a rel="follow noopener noreferrer" target="_blank" href="https://javeo.jp/wp-content/uploads/2024/06/image-20.png"><img decoding="async" width="946" height="533" src="https://javeo.jp/wp-content/uploads/2024/06/image-20.png" alt="" class="wp-image-2369" srcset="https://javeo.jp/wp-content/uploads/2024/06/image-20.png 946w, https://javeo.jp/wp-content/uploads/2024/06/image-20-300x169.png 300w, https://javeo.jp/wp-content/uploads/2024/06/image-20-150x85.png 150w, https://javeo.jp/wp-content/uploads/2024/06/image-20-768x433.png 768w" sizes="(max-width: 946px) 100vw, 946px" /></a></figure>



<h3 class="wp-block-heading"><span id="toc5">関連付けができていることを確認</span></h3>



<p>関連付けが終わるとファイルのアイコンと種類の説明が変わります</p>



<p>今回はpython.exeに紐づけたので↓のようにアイコンがPythonに変わっているはず</p>



<figure class="wp-block-image size-large"><a rel="follow noopener noreferrer" target="_blank" href="https://javeo.jp/wp-content/uploads/2024/06/image-21.png"><img decoding="async" width="1024" height="538" src="https://javeo.jp/wp-content/uploads/2024/06/image-21-1024x538.png" alt="" class="wp-image-2372" srcset="https://javeo.jp/wp-content/uploads/2024/06/image-21-1024x538.png 1024w, https://javeo.jp/wp-content/uploads/2024/06/image-21-300x158.png 300w, https://javeo.jp/wp-content/uploads/2024/06/image-21-150x79.png 150w, https://javeo.jp/wp-content/uploads/2024/06/image-21-768x403.png 768w, https://javeo.jp/wp-content/uploads/2024/06/image-21.png 1200w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>



<p>※この状態になっているとダブルクリックでファイルを選んだ時にPythonプログラムが実行されることになります</p>



<h2 class="wp-block-heading"><span id="toc6">あとがき</span></h2>



<p>インストールのやり方でpython.exeファイルのインストール先は変わりますし、Pythonプログラムの実行はVSCodeなどで1行ずつデバックしながら実行する方が安パイだったり細かい話は多々ありますが、まず実行するためのまとめでした</p>



<p>発注者の方はこれでも十分ですが、自分でPythonを勉強したい人向けには改めてまとめます</p>
]]></content:encoded>
					
					<wfw:commentRss>https://javeo.jp/python-install/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
