pyemd: I got an error while trying to import pyemd. It only occurred on Ubuntu.
Hi, I’m facing this error message when I tried to import pyemd in my code:
Traceback (most recent call last):
File "vincent.py", line 30, in <module>
from pyemd import emd
File "/home/cragkhit/anaconda3/envs/myenv/lib/python3.6/site-packages/pyemd/__init__.py", line 67, in <module>
from .emd import emd
ImportError: /home/cragkhit/anaconda3/envs/myenv/lib/python3.6/site-packages/pyemd/emd.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZTINSt8ios_base7failureB5cxx11E
I use Anaconda virtual environment in my development. The error message only occur on Ubuntu. Everything works fine on my macOS. I’m using
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 24 (11 by maintainers)
Strange, it doesn’t look like
setup.py
is actually being run. Could you try the following?cd
into itpip install -e .
I updated numpy from 1.14.3-py36hcd700cb_1 --> 1.15.4-py36h1d66e8a_0 and it worked