###前提・実現したいこと
wxpythonをインストールしたいです
エラーが全く読めないのでなにすればいいのか全く分からないです
###発生している問題・エラーメッセージ
Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-3.0' found Package gthread-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gthread-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gthread-2.0' found no *** Could not run GTK+ test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK+ is incorrectly installed. configure: error: The development files for GTK+ were not found. For GTK+ 2, please ensure that pkg-config is in the path and that gtk+-2.0.pc is installed. For GTK+ 1.2 please check that gtk-config is in the path, and that the version is 1.2.3 or above. Also check that the libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config --libs' are in the LD_LIBRARY_PATH or equivalent. Error running configure ERROR: failed building wxWidgets Traceback (most recent call last): File "build.py", line 1269, in cmd_build_wx wxbuild.main(wxDir(), build_options) File "/tmp/pip-build-o3knvq_0/wxpython/buildtools/build_wxwidgets.py", line 376, in main "Error running configure") File "/tmp/pip-build-o3knvq_0/wxpython/buildtools/build_wxwidgets.py", line 85, in exitIfError raise builder.BuildError(msg) buildtools.builder.BuildError: Error running configure Finished command: build_wx (0m2.498s) Finished command: build (0m2.498s) Command '"/home/misaki/anaconda3/bin/python" -u build.py build' failed with exit code 1. ---------------------------------------- Command "/home/misaki/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-o3knvq_0/wxpython/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-1rkgjzmi-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-o3knvq_0/wxpython/
###該当のソースコード
ここにご自身が実行したソースコードを書いてください
###試したこと
pip install wxpythonやwxpythonのwebページから直接インストールしてもできませんでした。not found gtk+-3.0と書いてあったのでgtkのバージョン確認しましたがすでにあるようになのでエラーが何言いたいのかさっぱりわからないです。
###補足情報(言語/FW/ツール等のバージョンなど)
ubuntu16.4 anaconda4.4.0 python3.6.1
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/11/09 08:58
2017/11/09 15:33