Python 3安裝wxPython
今天搭建Python GIS平臺。遇到要安裝wxPython的問題。記錄如下:
錯誤一:
checking for GTK+ - version >= 3.0.0... no
安裝libgtk-3-dev
sudo apt-get install libgtk-3-dev
錯誤二:
configure: error: GStreamer not available
安裝libgstreamer-plugins-base1.0-dev
sudo apt install libgstreamer-plugins-base1.0-dev
錯誤三:
configure: error: OpenGL libraries not available
安裝libgl1-mesa-dev libglu1-mesa-dev
sudo apt install libgl1-mesa-dev libglu1-mesa-dev
或
sudo apt-get install freeglut3-dev
還有
sudo apt-get install libwebkitgtk-3.0-dev
最後
pip3 install wxPython
附上全部官方依賴:
You will need the following packages (please consult your distributions package list for the appropriate names) and their dependencies:
python-dev (for your version of python)
gtk (preferably version 3, but depends on your needs)
gstreamer
glut
webkitgtk (matching your gtk version)
相關文章
- mac中安裝wxpythonMacPython
- 在 Ubuntu 12.10 安裝 wxPythonUbuntuPython
- brew 安裝python3:如何使用brew安裝Python3Python
- Python 3安裝MySQLdbPythonMySql
- python3.* windows安裝PythonWindows
- mac安裝python3MacPython
- Mac 安裝Python3MacPython
- CentOS 安裝Python3CentOSPython
- CentOS 安裝 Python3CentOSPython
- centOS安裝python3CentOSPython
- Python wxPython基本教程Python
- linux安裝python3(原始碼安裝)LinuxPython原始碼
- CentOS探索之路3—安裝python3CentOSPython
- 為CentOS安裝python3CentOSPython
- Linux安裝Python3LinuxPython
- python3安裝scrapy框架Python框架
- Python3安裝requests庫Python
- Python3 安裝Opencv方法PythonOpenCV
- python3環境安裝Python
- rhel7安裝python3Python
- 怎麼解除安裝python3Python
- python3環境如何安裝Python
- mac上如何安裝python3MacPython
- windows10 安裝python3WindowsPython
- linux下安裝python3LinuxPython
- python3安裝和使用virtualenvPython
- Linux下Python3安裝LinuxPython
- Python 3安裝IPython過程分享Python
- 如何在MacOS下安裝Python3MacPython
- 如何在 CentOS 7 上安裝 Python 3CentOSPython
- python3如何安裝bs4Python
- Win10 安裝 Python3 (上)Win10Python
- CentOS7快速安裝python3CentOSPython
- VirtualBox CentOS 7安裝Python3CentOSPython
- mac m3安裝python2MacPython
- Python2、3並存,Python3無法安裝requests模組Python
- wxpython - 快速開發封裝手冊Python封裝
- CentOS下編譯安裝Python3教程CentOS編譯Python