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
The piece of code that created this so called error:
from graph_tool.all import *
from random import *
import smallworld
I figured that after installing py-graph-tool, it should work. What I
already tried is adding this line to .profile:
export PYTHONPATH=/usr/local/lib/python2.7/site-packages/
However, no success.
Please, help me out here.
Regards
--
View this message in context:
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/ImportError-no-module-named-graph-tool-all-tp4025233.html
Sent from the Main discussion list for the graph-tool project mailing list
archive at Nabble.com.
_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool