Windows での,Python(x,y) 2.7.10 と各種パッケージのインストール手順をスクリーンショット等で説明する.
Python(x,y) は次のソフトウエアを一体化したもの (Python(x,y) is a collection of following softwares).
この Web ページでは、Python(x,y)と、Python の各種パッケージのインストールを行う. (In this Web page, we install Python(x,y), several Python packages.)
目次 (Index)
ダウンロードが終わるまで,しばらく待つ.
ライセンス条項に同意できる場合のみ次に進む
Python と Others にチェックする (Check Python and Others)
分かりやすいディレクトリにインストールしたほうが良いので,C:\pythonxy に変える (Set "C:\pythonxy")
インストール終了までしばらく待つ.
python -m pip install -U pip setuptools
コマンドプロンプトを開き、次のコマンドを実行 (Open Cmd.exe, and do the following command)
pip install -U setuptools
python 1 + 2 exit()
pip list
新しい画面が開く
念のため、python, python\scripts, python\lib\site-packages にパスが通っているかの確認を行なっておく
echo %PATH%
python
下の実行例では、バージョン番号として「1500」が表示されている (In the following example, the version number is 1500).
from distutils.msvc9compiler import * get_build_version()
先ほど表示されたバージョン番号(1500)と一致することを確認しておく. (The result of this step is equal to the compiler version number in the previous step?)
インストールしておきたいおすすめパッケージ.
for %i in (setuptools sphinx numpy bottleneck scipy matplotlib ipython pygments pandas theano pillow ggplot prettyplotlib pygraphviz seaborn gloo statsmodels qgis orange scikit-image scikit-learn scikit-video scikits.statsmodels scikits.datasmooth scikits.example scikits.fitting scikits.learn scikits.optimization scikits.pulsefit scikits.timeseries scikits.vectorplot bottle numexpr xlrd xlsxwriter zodb lxml beautifulsoup gdata) do pip install -U %i
pip の実行時に次のようなエラーがでる場合がある.
error: Unable to find vcvarsall.bat
このエラーが出たときは、setuptools の更新を行う
pip install -U setuptools
エラーメッセージが出ていないこと.
本サイトは金子邦彦研究室のWebページです.サイトマップは,サイトマップのページをご覧下さい. 本サイト内の検索は,サイト内検索のページをご利用下さい.
問い合わせ先: 金子邦彦(かねこ くにひこ) ![]()