[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [igraph] Igraph python install problem
From: |
Chubb, Daniel |
Subject: |
RE: [igraph] Igraph python install problem |
Date: |
Wed, 3 Sep 2008 13:05:50 +0100 |
That worked! Thanks a lot.
LD_PRELOAD=/bmm/home/dc101/igraph/lib/libigraph.so ~/python/bin/python2.5
Python 2.5.2 (r252:60911, Aug 29 2008, 10:48:12)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import igraph
>>> help(igraph)
So now I just have the mystery of why it's not being loaded automatically....
-----Original Message-----
From: address@hidden on behalf of Tamas Nepusz
Sent: Wed 03/09/2008 12:58
To: Help for igraph users
Subject: Re: [igraph] Igraph python install problem
> I run code on a number of nodes that we have on our farm and
> unfortunately I don't have permission to create symbolic links (or
> anything else) in their usr/lib directories.
>
> If you think it would work I could try and get permissions to give
> it a test.
The only reason why I'm asking that is that it seems that Python is
not able to load the C core of the library for some strange reason,
and I'm almost sure that it should be looking for that in /lib, /usr/
lib and /usr/local/lib.
Another thing that you could try is to preload the igraph C library
explicitly:
LD_PRELOAD=/home/your-username/igraph/lib/libigraph.so python
>>> import igraph
Please let me know whether it worked for you or not.
--
Tamas
_______________________________________________
igraph-help mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/igraph-help
<<winmail.dat>>
- [igraph] Igraph python install problem, Daniel Chubb, 2008/09/02
- Re: [igraph] Igraph python install problem, Tamas Nepusz, 2008/09/02
- RE: [igraph] Igraph python install problem, Chubb, Daniel, 2008/09/03
- Re: [igraph] Igraph python install problem, Tamas Nepusz, 2008/09/03
- RE: [igraph] Igraph python install problem, Chubb, Daniel, 2008/09/03
- Re: [igraph] Igraph python install problem, Tamas Nepusz, 2008/09/03
- RE: [igraph] Igraph python install problem, Chubb, Daniel, 2008/09/03
- Re: [igraph] Igraph python install problem, Tamas Nepusz, 2008/09/03
- RE: [igraph] Igraph python install problem,
Chubb, Daniel <=