On 12/11/2013 01:46 AM, Rampo wrote:
> Hello,
>
> I am new to graph-tool. So, I installed it on Mac OS X using the command
> sudo port install py-graph-tool. Installation was complete and I went on to
> run my python code.
>
> This is what I got:
>
> Traceback (most recent call last):
>   File "SIR.py", line 1, in <module>
>     from graph_tool.all import *
> ImportError: No module named graph_tool.all

It seems that you are not invoking the version of python which belongs
to macports, but rather the system's version, which does not know
anything about the modules installed by macports.

Make sure to call the correct python interpreter, which probably is
something like: /usr/local/bin/python2.7

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