I wasn't able to reproduce your issue on a freshly installed Ubuntu 12.04 --
python-igraph installed and imported just fine.

I have noticed that you tried to install python-igraph 0.7.0. Can you try it
again with 0.7.1-post6 (the most recent version of the Python interface)? If it
still fails, the following hack *might* work:

LDFLAGS=-Lz pip install python-igraph

If it does not work, get back to me and provide more details about how you
installed the C core of igraph before trying to install the Python interface,
and whether you are using the system Python or an independent instance.

T.

On 06/10, ashutosh srivastava wrote:
> Hi
> 
> I am using Ubuntu 12.04 LTS
> 
> Thanks
> 
> On Wed, Jun 10, 2015 at 4:23 PM, Tamás Nepusz <[email protected]> wrote:
> 
> > Hi,
> >
> > Which Linux distribution is this?
> >
> > T.
> >
> > On 10 Jun 2015, at 12:30, ashutosh srivastava <[email protected]> wrote:
> >
> > Hi
> >
> > I installed python-igraph using pip. It installed successfully. However
> > while importing it to python following error appears
> >
> >
> >
> >
> > *File
> > "/usr/local/lib/python2.7/dist-packages/python_igraph-0.7.0-py2.7-linux-x86_64.egg/igraph/__init__.py",
> > line 34, in <module>    from igraph._igraph import *ImportError:
> > /usr/lib/x86_64-linux-gnu/libxml2.so.2: undefined symbol: gzopen64*
> > I tried uninstalling it and then building it from source but still the
> > same error is coming.
> > Any suggestions about fixing it?
> >
> > Ashutosh
> >
> > _______________________________________________
> > igraph-help mailing list
> > [email protected]
> > https://lists.nongnu.org/mailman/listinfo/igraph-help
> >
> >
> > _______________________________________________
> > igraph-help mailing list
> > [email protected]
> > https://lists.nongnu.org/mailman/listinfo/igraph-help
> >
> >

> _______________________________________________
> igraph-help mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help


-- 
T.

_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to