Install Error
HI I am trying to install igraph on anaconda python3.5 However, install completes fully. But I get a import error.
I did install first using pip and then using source 'python setup.py install'
Both times I get this error
File "/home/sulantha/anaconda3/lib/python3.5/site-packages/python_igraph-0.7.0-py3.5-linux-x86_64.egg/igraph/init.py", line 34, in
Installation works just fine for me with Anaconda Python 3.5. You probably have an older version of python-igraph lying around on your machine; apparently the version number of python-igraph in your site-packages folder is 0.7.0, while the current version is 0.7.1-post6.
Try deleting /home/sulantha/anaconda3/lib/python3.5/site-packages/python_igraph-0.7.0-py3.5-linux-x86_64.egg/ and then reinstall using pip. Installation with pip should work fine.
Hi, I removed the dir (/home/sulantha/anaconda3/lib/python3.5/site-packages/python_igraph-0.7.0-py3.5-linux-x86_64.egg/) and installed with pip. Successfully installed python-igraph-0.7.1.post6 But I still get this error. ImportError: /home/sulantha/anaconda3/lib/python3.5/site-packages/igraph/_igraph.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _ZdlPvm Any idea? S
On Oct 13, 2016, at 7:37 AM, Tamás Nepusz [email protected] wrote:
Installation works just fine for me with Anaconda Python 3.5. You probably have an older version of python-igraph lying around on your machine; apparently the version number of python-igraph in your site-packages folder is 0.7.0, while the current version is 0.7.1-post6.
Try deleting /home/sulantha/anaconda3/lib/python3.5/site-packages/python_igraph-0.7.0-py3.5-linux-x86_64.egg/ and then reinstall using pip. Installation with pip should work fine.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/igraph/python-igraph/issues/99#issuecomment-253489119, or mute the thread https://github.com/notifications/unsubscribe-auth/AA-V93ahBvGceFGUxbLbqSyGWtyUOZ2lks5qzhgXgaJpZM4KVUOW.
No idea, sorry, it works just fine for me. It is either something specific to your machine or to Anaconda Python on your particular platform. Try asking around on the support channels of Anaconda Python - maybe they have some ideas.
Did you solve this problem? I have this too... Running Anaconda 4.2 with python 3.5 and igraph 0.7.1.post6 on ubuntu 16.04
Maby Related: I can't make python-igraph work with Anaconda 4.3.1 and Python 3.6.0 under 64-bit windows. I can't even install it - neither with standard pip install nor from wheel.
Others have reported that these packages work on Anaconda Python.
I get an unsatisfiableError beacause my python 3.6* does not match the required python 2.7* :/
I think I know what causes it, but don't have a workaround yet.
_ZdlPvm is a symbol in the C++ standard library, libstdc++ -- but it seems to be something new and only present in the more recent versions of it. When python-igraph is installed, it is compiled against your system's libstdc++ When we try to import igraph, the version of libstdc++ which comes with anaconda is loaded instead. And while the system's version of libstdc++ (libstdc++.so.6.0.24 in my case) does export _ZdlPvm, the version that comes with Anaconda (libstdc++.so.6.0.19) does not.
We need some way to make the same version of the library to be used during compilation and run-time -- but I'm not sure how to achieve that yet.
It seems like other packages are suffering from the same issue; e.g.: https://github.com/Theano/Theano/issues/5845
Same issue. conda install libgcc solve for me!