[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] install error with python-igraph 0.6

From: Arun
Subject: [igraph] install error with python-igraph 0.6
Date: Wed, 7 Jul 2010 16:52:51 -0500


I'm trying to install igraph 0.6 and python-igraph 0.6 LOCALLY (under
a particular user's home directory) on Ubuntu 10.04.  I have installed
igraph (C library) seemingly with no problem under:
/home/username/opt (where username is my user).

I have installed python 2.6.5 locally under /home/username/opt.

Finally, I have installed python-igraph locally using the LOCAL
installation of python mentioned above by modifying the setup.py as
LIBIGRAPH_FALLBACK_INCLUDE_DIRS = ['/home/username/opt/include']
LIBIGRAPH_FALLBACK_LIBRARIES = ['/home/username/opt/lib']
LIBIGRAPH_FALLBACK_LIBRARY_DIRS = ['/home/username/opt/lib']

This approach seemed to have worked for me in the past when doing a
local install of 0.53.  But, when attempting to use python-igraph
here, I receive this error when importing igraph module:

address@hidden ~ $ python
Python 2.6.5 (r265:79063, Jul  7 2010, 16:31:12)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import igraph
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/username/opt/lib/python2.6/site-packages/igraph/__init__.py",
line 34, in <module>
    from igraph.core import *
ImportError: /home/username/opt/lib/python2.6/site-packages/igraph/core.so:
undefined symbol: igraph_vit_destroy

Could someone let me know how to fix and get it working?


P.S. I used

reply via email to

[Prev in Thread] Current Thread [Next in Thread]