wxPython安装失败

问题描述 投票:0回答:2

我正在尝试使用命令在新安装的Ubuntu 18.04上安装wxPython

pip3 install wxPython

构建失败,并带有

error: [Errno 2] No such file or directory: 'build/lib.linux-x86_64-3.6/wx/libwx_baseu-3.0.so'

    ----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-30uqzd2e/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-hynl659w-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-30uqzd2e/wxPython/

我不知道在哪里寻找解决方案。有人可以建议我从哪里开始

[EDIT 20200424 08:06]

我看过

/usr/lib/x86_64-linux-gnu/

libwx_baseu-3.0.so.0

缺席。我已经从this site

安装了它

现在存在,但是安装失败并显示相同的消息

wxpython ubuntu-18.04 wxpython-phoenix
2个回答
0
投票

我昨天使用以下命令安装了wx.python 4.1.0:


0
投票

我已经成功安装了wxPython。

© www.soinside.com 2019 - 2024. All rights reserved.