Hi Fabio,

On 02/11/2012 10:35 PM, Fabio wrote:
> These are the steps I followed:
> 1 - sudo gedit first.py

You do not need to run "sudo", since there is no need to edit the
program as the superuser.

> 2 - copy and paste of example code
> 3 - save (so it gets in my home)
> 4 - python first.py
> Here I get the following error:
> /Traceback (most recent call last):
> File "first.py", line 10, in <module>
> from graph_tool.all import *
> ImportError: No module named graph_tool.all/

Is the trailing slash "/" really in the error message?

Try the following to see if graph-tool was properly installed: 1. Type
"python"; 2. inside the python prompt, type "import graph_tool". If not
error is given, then graph-tool was properly installed.

> 6: If I look for python on the computer, I see there is both python2.6
> and python2.7 and python3 under usr/lib

Try the same command as before, but with "python2.6" instead of "python".

Cheers,
Tiago

-- 
Tiago de Paula Peixoto <[email protected]>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to