11 Feb 2012 22:35
Ubuntu first configuration - Price Network example
Fabio <fabio.nogarotto <at> accenture.com>
2012-02-11 21:35:29 GMT
2012-02-11 21:35:29 GMT
Hello, I'm really really new to Ubuntu and Python, so be gentle with me, and moreover don't give anything for granted with me, thank you! I installed graph tool via 'sudo apt-get install graph-tool', and everything seemed to go fine. I'm now trying to run the example code from the documentation (Price Network example), but I cannot make it work(Continue reading)These are the steps I followed: 1 - sudo gedit first.py 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/ I tried the following: 1: reissue the installing command, but it says that graph-tool is already installed with last version 2: if I write 'graph-tool --help' it says command not found 3: gcc -v says /Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
These are the steps I followed:
1 - sudo gedit first.py
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/
I tried the following:
1: reissue the installing command, but it says that graph-tool is already
installed with last version
2: if I write 'graph-tool --help' it says command not found
3: gcc -v says
/Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
RSS Feed