Linux 中 引入wxPython 包 报错 The development files for GTK+ were not founERROR: failed building wxWidgets

报错:

Linux 中 引入wxPython 包 报错 The development files for GTK+ were not founERROR: failed building wxWidgets

 

 

解决方案:

  看wxPython 的官网 --download 中有教程 。。。

Linux 中 引入wxPython 包 报错 The development files for GTK+ were not founERROR: failed building wxWidgets

由于,linux 中的内核默认的python是2.7   所以我们需要使用pip3 最好(pip  我没试过,不知道行不行。)如下

安装完成之后,就可以正常使用了

 

Linux 中 引入wxPython 包 报错 The development files for GTK+ were not founERROR: failed building wxWidgets