On 05/24/2014 03:58 AM, fmunoz wrote:
> Hi I'm very new at Python, sorry for the basic questions.
>
> I just installed graph-tool in the terminal and it worked well. Now I'm
> using spyder for python but whenever I write from graph_tool.all import * it
> gives me the error ImportError: No module named graph_tool.all.
>
> I wrote export PYTHONPATH=/usr/local/lib/python2.7/site-packages/ in the
> terminal and then I installed graph-tool in the terminal again with sudo
> port install py-graph-tool and I got
> --->  Computing dependencies for py-graph-tool
> --->  Cleaning py-graph-tool
> --->  Scanning binaries for linking errors: 100.0%
> --->  No broken files found.
>
> However the problem is still there. Should I change something in sypder or
> in the terminal?

This is most likely just a configuration issue with Spyder. You should
configure it to use the correct python interpreter, i.e. not the one
that comes with the system, but the one installed via macports.

Best,
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