对于我的项目文档,我使用wxpython文档的。到目前为止,它工作得很好,但我没有成功地获得到的链接。我试图在这里和其他论坛中找到关于这方面的信息,但没有找到任何东西。
下面是我的代码:
def my_meth( self, value, aStr ):
"""
:param int value: This is my value
:param str aStr: This is another value
Description using
- :py:class:`wx.CheckBoxState`
- :py:c
我安装了winpdb (一个python调试器)。当我试图运行它的GUI版本时,它显示了这个错误
wxPython was not found.
wxPython 2.6 or higher is required to run the winpdb GUI.
wxPython is the graphical user interface toolkit used by Winpdb.
You can find more information on wxPython at http://www.wxpython.org/
The Unicode version of wxPython is
我已经在windows 10 OS上安装了Python版本2.7.13和wxPython 2.8.12.1 unicode
当我尝试在命令提示符上运行ride.py时,得到以下错误
C:\Users>ride.py
wxPython not found.
You need to install wxPython 2.8.12.1 with unicode support to run RIDE.
wxPython 2.8.12.1 can be downloaded from http://sourceforge.net/projects/wxpython/files/wxPython/
我试过在MAC上安装搭便车,但一再失败。如果有人做了,请分享工作步骤。
我可以得到以下错误:
Wrong wxPython version.
You need to install wxPython 2.8.12.1 with unicode support to run RIDE.
wxPython 2.8.12.1 can be downloaded from http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/
从上面的链接下载wxpython 2.8.12.1,但无法安装。有人能帮我一下吗。会有很大帮助的。
我在pyenv中使用Python 2.7.14
我尝试在macOS上运行Ride IDE for Robotframework。我用pip成功安装了Ride:
pip install robotframework-ride
但是当我运行ride.py时,我得到的错误如下:
wxPython not found.
You need to install wxPython 2.8.12.1 with unicode support to run RIDE.
wxPython 2.8.12.1 can be downloaded from http://sourceforge.net/project
我试图使用Python3.7(在Windows764bit上)运行wxPython,但是我一直收到一条错误消息,说明无法找到dll:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\Joel\AppData\Local\Programs\Python\Python37\lib\site-packages\wx\__init__.py", line 17, in <module>
from
尝试运行会导致
ImportError: No module named wx
打开ipython或python会话似乎工作得很好:
>>> import wx
>>> import sys
>>> print [p for p in sys.path if 'wx' in p]
['/usr/local/lib/wxPython-2.9.4.0/lib/python2.7/site-packages', '/usr/local/lib/wxPython-2.9.4.0/lib/python
我正试图在我的Ubuntu18.04机器上安装wxPython 4。
sudo pip install wxpython
我先收到警告
The directory '/home/user/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, y
我使用的是Enthought发行版(7.2,64位)。它没有wxPython (这是非常重要的)。但是,wxPython-2.9似乎支持64位Cocoa接口,所以我尝试了一下。实际上,一切都很顺利:命令
python build-wxpython.py --osx_cocoa --mac_framework --install
成功编译,甚至进入了环保署的网站软件包。然而,一个简单的wxPython代码
import wx
wx.App()
失败,并显示以下错误:
This program needs access to the screen.
Please run with a Framew
将python从2.7升级到3.8。尝试安装wxPython 4.0.7、4.0.7post2和4.1.0,均失败,错误消息如下:
In file included from /tmp/pip-install-irzbquj6/wxPython/ext/wxWidgets/src/common/xlocale.cpp:31:
/tmp/pip-install-irzbquj6/wxPython/ext/wxWidgets/include/wx/xlocale.h: In fun
我使用的是EPD7.3,并且已经通过wxPython存储库安装了EPD2.9。我试着运行需要wxPython的winPDB,得到了这样的消息:
This program needs access to the screen.
Please run with a Framework build of python, and only when you are
logged in on the main display of your Mac.
我在Mac上的wxPython上也看到过类似的消息,但我还没有找到解决方案。有人知道这条消息吗?还有,有没有人在OSX10.8w/ wxPython 2.
我想我应该从使用Tkinter转到wxPython,但我遇到了一些麻烦。我只知道这个:
>>> import wx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named wx
我安装了wxPython。当我运行卸载程序时,我清楚地看到安装了wxPython:
1. wxPython3.0-osx-cocoa-py2.7 3.0.0.0
Enter t