Windows10下python2.7安装wxpython

在Windows10下python2.7安装wxpython

使用时出现错误

import wx
Traceback (most recent call last):
File “”, line 1, in
File “wx/init.py”, line 45, in
from wx._core import *
File “wx/_core.py”, line 4, in
import core
ImportError: libwx_gtk2u_xrc-3.0.so.0: cannot open shared object file: No such file or directory

在其官网 下载
https://www.wxpython.org/download.php
开始wxPython3.0-win64-py27 64-bit Python 2.7始终用不起;

后来下载32位就能使用了
wxPython3.0-win32-py27 32-bit Python 2.7

Windows10下python2.7安装wxpython_第1张图片

你可能感兴趣的:(python)