How about the CGAL path? The error is : ImportError: libCGAL.so.9: cannot open shared object file: No such file or directory. My CGAL path is /usr/local/lib/ ,but I don't know the name of CGAL environment variable.
2012/7/2 graph-tool-request@skewed.de
Send graph-tool mailing list submissions to graph-tool@skewed.de
To subscribe or unsubscribe via the World Wide Web, visit http://lists.skewed.de/mailman/listinfo/graph-tool or, via email, send a message with subject or body 'help' to graph-tool-request@skewed.de
You can reach the person managing the list at graph-tool-owner@skewed.de
When replying, please edit your Subject line so it is more specific than "Re: Contents of graph-tool digest..."
Today's Topics:
- Re: graph-tool Digest, Vol 54, Issue 1 (Tiago de Paula Peixoto)
Message: 1 Date: Mon, 02 Jul 2012 11:47:34 +0200 From: Tiago de Paula Peixoto tiago@skewed.de To: Main discussion list for the graph-tool project graph-tool@skewed.de Subject: Re: [graph-tool] graph-tool Digest, Vol 54, Issue 1 Message-ID: 4FF16E36.9000809@skewed.de Content-Type: text/plain; charset="utf-8"
On 07/02/2012 10:50 AM, Qiang Ren wrote:
Hi ,all I finished installing graph_tool in Arch linux. There exists directory
/usr/local/lib/python2.7/site-packages/graph_tool.
It seems right but I still can't import graph_tool. The message "File "<stdin>",line 1 in <module> ImportError: No module
named graph_tool.all" appears again and again.
Any help?
The directory "/usr/local/lib/python2.7/site-packages/" is probably not in your python path.
Try something like:
export PYTHONPATH="/usr/local/lib/python2.7/site-packages/"
Before running your python script.
Cheers, Tiago
-- Tiago de Paula Peixoto tiago@skewed.de
On 07/05/2012 09:29 AM, Qiang Ren wrote:
How about the CGAL path? The error is : ImportError: libCGAL.so.9: cannot open shared object file: No such file or directory. My CGAL path is /usr/local/lib/ ,but I don't know the name of CGAL environment variable.
There is no CGAL path... What you need is a path for the dynamic loader. If you're using GNU/Linux, this should be:
export LD_LIBRARY_PATH=/usr/local/lib/
Please take a look at http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html, and the countless other sources online which explain this sort of thing.
Also, when replying, please edit your Subject line so it is more specific than "Re: [graph-tool] graph-tool Digest, vol ..."
Cheers, Tiago