###前提・実現したいこと
python3.5.2にwxpython Phoenixをインストールしたいと考えています。
方法は、「pip」と「easy install」の2通りあり、この度は「easy install」でのエラーについて質問させていただきたく思います。
ご参考までにpipの方は、以下の方法を試しましたが、いずれもエラーでした。
「pip install wxpython」
「pip install –f http://wxpython.org/Phoenix/snapshot-builds wxpython-phoenix」
「pip install --pre –f http://wxpython.org/Phoenix/snapshot-builds wxpython-phoenix」
さて、本題のeasy installに関してですが、
「easy_install.exe -f http://wxpython.org/Phoenix/snapshot-builds wxpython-phoenix」を実行しました。
インストール作業は実行されましたが、不十分に終わったようです。その際にでた、エラーの解決についてお聞きしたいです。
再度実行すれば解決するかとも思いましたが、改善は見られませんでした。(以下に記載するエラーメッセージは再度実行した2回目のものになります)
###発生している問題・エラーメッセージ
※ユーザー名は日本語の2文字です。「◯◯」で置き換えています。
エラーメッセージ C:\Users\◯◯\Desktop\P\Scripts>easy_install.exe -f http://wxpython.org/Phoenix/ snapshot-builds wxpython-phoenix Searching for wxpython-phoenix Reading http://wxpython.org/Phoenix/snapshot-builds Best match: wxPython-Phoenix 3.0.3.dev2295+a108359 Downloading https://wxpython.org/Phoenix/snapshot-builds/wxPython_Phoenix-3.0.3. dev2295+a108359.tar.gz Processing wxPython_Phoenix-3.0.3.dev2295+a108359.tar.gz Writing C:\Users\◯◯\AppData\Local\Temp\easy_install-dkmnp0bl\wxPython_Phoenix- 3.0.3.dev2295+a108359\setup.cfg Running wxPython_Phoenix-3.0.3.dev2295+a108359\setup.py -q bdist_egg --dist-dir C:\Users\◯◯\AppData\Local\Temp\easy_install-dkmnp0bl\wxPython_Phoenix-3.0.3.de v2295+a108359\egg-dist-tmp-mzzsiftm WARNING: Building this way assumes that all generated files have been generated already. If that is not the case then use build.py directly to generate the source and perform the build stage. You can use --skip-build with the bdist_* or install commands to avoid this message and the wxWidgets and Phoenix build steps in the future. "c:\users\◯◯\desktop\p\python.exe" -u build.py build Build using: "c:\users\◯◯\desktop\p\python.exe" 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:01:18) [MSC v.1900 32 bit (Intel)] Python's architecture is 32bit cfg.VERSION: 3.0.3.dev2295+a108359 Running command: build Running command: build_wx Traceback (most recent call last): File "build.py", line 1713, in <module> main(sys.argv[1:]) File "build.py", line 186, in main function(options, args) File "build.py", line 1092, in cmd_build cmd_build_wx(options, args) File "build.py", line 1102, in cmd_build_wx checkCompiler() File "build.py", line 696, in checkCompiler CC = runcmd('"%s" -c "%s"' % (PYTHON, cmd), getOutput=True, echoCmd=False) File "C:\Users\◯◯\AppData\Local\Temp\easy_install-dkmnp0bl\wxPython_Phoenix- 3.0.3.dev2295+a108359\buildtools\config.py", line 799, in runcmd output = output.decode(outputEncoding) File "c:\users\◯◯\desktop\p\lib\encodings\cp1252.py", line 15, in decode return codecs.charmap_decode(input,errors,decoding_table) UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 95: chara cter maps to <undefined> Finished command: build_wx (0.374s) Finished command: build (0.390s) Command '"c:\users\◯◯\desktop\p\python.exe" -u build.py build' failed with exi t code 1. error: Setup script exited with 1
###該当のソースコード
コマンドプロンプトでPythonのpipやeasyinstallを置いてあるアドレスまで「cd」で移動して(…\Scripts)、 「easy_install.exe -f http://wxpython.org/Phoenix/snapshot-builds wxpython-phoenix」を実行
###試したこと
2回、同じコマンド(easy install)を実行したが、改善は見られませんでした。
###補足情報(言語/FW/ツール等のバージョンなど)
OS:Windows 8.1
対象:Python3.5.2, wxpython Phoenix
※easy installは、コマンドプロンプト上で操作
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/07/15 09:58
2016/07/15 14:22