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)
相關文章
- 在 Ubuntu 12.10 安裝 wxPythonUbuntuPython
- brew 安裝python3:如何使用brew安裝Python3Python
- Python 3安裝MySQLdbPythonMySql
- linux安裝python3(原始碼安裝)LinuxPython原始碼
- python3.* windows安裝PythonWindows
- Linux安裝Python3LinuxPython
- CentOS 安裝Python3CentOSPython
- centOS安裝python3CentOSPython
- mac安裝python3MacPython
- CentOS探索之路3—安裝python3CentOSPython
- 為CentOS安裝python3CentOSPython
- python3安裝scrapy框架Python框架
- Python3安裝requests庫Python
- python3環境安裝Python
- Python 3安裝IPython過程分享Python
- rhel7安裝python3Python
- 怎麼解除安裝python3Python
- python3環境如何安裝Python
- mac上如何安裝python3MacPython
- windows10 安裝python3WindowsPython
- wxpython - 快速開發封裝手冊Python封裝
- 如何在 CentOS 7 上安裝 Python 3CentOSPython
- 如何在MacOS下安裝Python3MacPython
- mac m3安裝python2MacPython
- CentOS7快速安裝python3CentOSPython
- python3如何安裝bs4Python
- Win10 安裝 Python3 (上)Win10Python
- Mac安裝python2和python3,並配置MacPython
- 【python】python安裝Python
- Centos 安裝 python3.x 為預設CentOSPython
- centos7編譯安裝python3CentOS編譯Python
- CentOS下編譯安裝Python3教程CentOS編譯Python
- Python3爬蟲利器:Appium的安裝Python爬蟲APP
- CentOS 7下編譯安裝Python3CentOS編譯Python
- CentOS 7 如何編碼安裝Python3?CentOSPython
- Python2、3並存,Python3無法安裝requests模組Python
- python安裝Python
- python ----python的安裝Python