24 May
2014
24 May
'14
9:58 p.m.
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] <ml-node+s982480n4025534h53@n3.nabble.com>: > 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]<http://user/SendEmail.jtp?type=node&node=4025534&i=0>> > > > > _______________________________________________ > graph-tool mailing list > [hidden email] <http://user/SendEmail.jtp?type=node&node=4025534&i=1> > http://lists.skewed.de/mailman/listinfo/graph-tool > > *signature.asc* (919 bytes) Download Attachment<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/attachment/4025534/0/signature.asc> > -- > Tiago de Paula Peixoto <tiago@skewed.de> > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/ImportError-No-module-named-graph-tool-all-tp4025533p4025534.html > To unsubscribe from ImportError: No module named graph_tool.all, click > here<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4025533&code=Zm1tdW5vei5tYUBnbWFpbC5jb218NDAyNTUzM3wyMDQ3OTU1Mzc5> > . > NAML<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- 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-tp4025533p4025539.html Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.