Discussion:
problem in importing mahotas (undefined symbol: _ZNSt8ios_base4InitD1Ev)
Antonis Polykratis
2015-02-28 20:13:55 UTC
Permalink
Hello,

I have the following problem.
I installed latest version of mahotas with no errors.
If I try to import mahotas in my session then I have the following error.











*---------------------------------------------------------------------------------------------------------->>>
import mahotas as mhCould not import submodules (exact error was:
/home/ant/new_mahotas/local/lib/python2.7/site-packages/mahotas/_bbox.so:
undefined symbol: _ZNSt8ios_base4InitD1Ev).There are many reasons for this
error the most common one is that you haveeither not built the packages or
have built (using `python setup.py build`) orinstalled them (using `python
setup.py install`) and then proceeded to testmahotas **without changing the
current directory**.Try installing and then changing to another directory
before importing
mahotas.------------------------------------------------------*

The second time I try to import it I have success but I encounter an error
when I try to import surf.
---------------------------------------------------------------------------------------------------------------------
import mahotas as mh
from mahotas.features import surf
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/home/ant/new_mahotas/local/lib/python2.7/site-packages/mahotas/features/__init__.py",
line 6, in <module>
from .texture import haralick
File
"/home/ant/new_mahotas/local/lib/python2.7/site-packages/mahotas/features/texture.py",
line 8, in <module>
from . import _texture
ImportError:
/home/ant/new_mahotas/local/lib/python2.7/site-packages/mahotas/features/_texture.so:
undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE
---------------------------------------------------------------------------------------------------------------------

Any help is highly appreciated.

Thanks,
Antonis
--
You received this message because you are subscribed to the Google Groups "pythonvision" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonvision+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...