【发布时间】:2015-12-30 11:01:03
【问题描述】:
我在我的 RHEL6 系统上安装了 Anaconda Python。为了运行 gnuradio,我需要 wxPython。为此我做了
conda install wxpython
问题是当我尝试在 python 中导入 Wx 模块时。然后出现如下错误:
>>> import wx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/scr1/nemanja/install/anaconda/lib/python2.7/site-packages/wx-3.0-gtk2/wx/__init__.py", line 45, in <module>
from wx._core import *
File "/scr1/nemanja/install/anaconda/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 4, in <module>
import _core_
ImportError: /scr1/nemanja/install/anaconda/lib/python2.7/site-packages/wx-3.0-gtk2/wx/../../../../libwx_gtk2u-3.0.so.0: undefined symbol: g_malloc_n
这里缺少什么?
【问题讨论】:
-
如果你想使用现在已弃用的 GNU Radio wx gui 组件,你只需要 wxpython。
-
我安装了需要
wx和~/anaconda/bin/pip的自定义Python 模块,它还安装了先决条件。可悲的是,这与此处报告的错误相同。然后我用~/anaconda/bin/conda install wxpython独立安装了wx,它就像一个魅力。 wxpython-4.0.4 , Python 3.7.6
标签: wxpython anaconda gnuradio