Thanks Tiago, 

Do you know where can I change it and also where to find the right python interpreter installed by macports.

Thanks you very much!


2014-05-24 5:16 GMT-07:00 Tiago Peixoto [via Main discussion list for the graph-tool project] <[hidden email]>:
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 <[hidden email]>


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

signature.asc (919 bytes) Download Attachment
--
Tiago de Paula Peixoto <[hidden email]>



To unsubscribe from ImportError: No module named graph_tool.all, click here.
NAML



View this message in context: Re: ImportError: No module named graph_tool.all
Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.