I installed Anaconda Python on my RHEL6 system. In order to run gnuradio I need wxPython. For that reason I did
conda install wxpython
The problem is when I try to import Wx module in python. Then the following error arises:
>>> 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
What is missing here?
wx
with~/anaconda/bin/pip
, which also installed the prerequisites. Sadly, this has fallen over with the same error as the one reported here. I then installedwx
independently with~/anaconda/bin/conda install wxpython
, and it works like a charm. wxpython-4.0.4 , Python 3.7.6 – Quarterage