gpt4 book ai didi

python - 没有名为组合的模块(来自导入 wx.combo) - pyspread

转载 作者:行者123 更新时间:2023-12-03 09:58:47 24 4
gpt4 key购买 nike

我正在尝试下载 pyspread .主页列出了一组我使用 conda 下载的依赖项。这一切都很好,但是当我尝试运行 pyspread 时,我收到以下错误消息:

>     Traceback (most recent call last):   
> File "/usr/bin/pyspread", line 191, in OnInit
> from src.gui._main_window import MainWindow File "/usr/share/pyspread/src/gui/_main_window.py", line 54, in <module>
> from src.gui._toolbars import MainToolbar, MacroToolbar, FindToolbar File "/usr/share/pyspread/src/gui/_toolbars.py", line
> 51, in <module>
> from _gui_interfaces import ModalDialogInterfaceMixin File "/usr/share/pyspread/src/gui/_gui_interfaces.py", line 52, in <module>
> from _dialogs import DimensionsEntryDialog, AboutDialog File "/usr/share/pyspread/src/gui/_dialogs.py", line 61, in <module>
> from src.gui._widgets import PythonSTC File "/usr/share/pyspread/src/gui/_widgets.py", line 56, in <module>
> import wx.combo ImportError: No module named combo OnInit returned false, exiting...

看来我没有安装 wx.combo 模块。我尝试重新安装 wxPython,但没有任何改变。如果我键入,我可以找到 combo.py 文件
$ ls /usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx
但我不确定这意味着什么。我对 Linux 很陌生,还没有背景来取消这个。谢谢你。

最佳答案

pip install --upgrade pyod
the result of this above code
Installing collected packages: combo, suod, pyod
Attempting uninstall: pyod
Found existing installation: pyod 0.7.7.1
Uninstalling pyod-0.7.7.1:
Successfully uninstalled pyod-0.7.7.1
Successfully installed combo-0.1.0 pyod-0.7.9 suod-0.0.4

上面的代码将安装combo,pyod,suod,如果您安装了旧版本,它将删除安装新版本
更多信息click here .

关于python - 没有名为组合的模块(来自导入 wx.combo) - pyspread,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59359642/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com