Hi Clas I can't answer your question specifically, but I use spyder in both Mac and Windows, with my very own launcher file, either a batch file for windows or a shell script fo rmac. It looks like this (Windows version):
cd F:\home\repos\spyderlib hg.exe pull hg.exe update python.exe bootstrap.py Here, \spyderlib is a mercurial checkout of the spyder repository that I keep somewhere in my home folder. So basically I update my spyder every single time I run it (to get the latest) and then I also execute spyder using whatever python executable I want. The mac version looks similar. If I remember I will post it later, I'm not at my mac right now. So far, this has been a bulletproof way for me to always run the latest spyder and with my own python, sidestepping the problems with multiple python versions and installs. It also makes it easy to fix any issues you find in spyderlib itself and immediately submit the patch to the spyder issue tracker. regards Caleb On Monday, June 2, 2014 8:26:16 AM UTC+10, Clas Jacobson wrote: > > Its the standard biharmonic demo > > > http://fenicsproject.org/documentation/dolfin/dev/cpp/demo/documented/biharmonic/cpp/documentation.html > > But, in playing with this the environmental variables don't really look to > be the problem. Rather, Spyder is looking at its own python and not the one > I use. I reset the interpreter path to /opt/local/bin/python but this is > not enough. Spyder has all sorts of paths back to its own spyderlib which I > cannot seemingly undo to get it only to point to my python and associated > libraries. Too hard. > > Clas > > On Sunday, June 1, 2014 11:40:48 AM UTC-4, David wrote: >> >> Can you provide a link/file to the demo you are running? >> >> >> On 1 June 2014 17:39, David Verelst <[email protected]> wrote: >> >>> Hi, >>> >>> I am not a Mac OS X user, so I am afraid I am not much of help here. >>> What I seem to remember from other OS X users reporting to the mailing list >>> is that these issues are related to how you have installed Spyder (dmg >>> spyder installer, MacPorts, anaconda, otherwise?). Maybe a more experienced >>> OS X user here can point out how to deal with environment variables and >>> Spyder? >>> >>> Regards, >>> David >>> >>> >>> On 31 May 2014 22:01, Clas Jacobson <[email protected]> wrote: >>> >>>> Thanks for the reply. >>>> >>>> I am running on a macbook with OS X. I have tried this...or thought I >>>> have. When I run a demo inside spyder it cannot run - no environment >>>> variables from the dolfin.conf file are there. >>>> >>>> When I source dolfin.conf and python a demo it's fine. When I launch >>>> ipython I can run demos inside. >>>> >>>> From inside spyder nothing. >>>> >>>> Frustrating. It's a nice environment. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "spyder" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> Visit this group at http://groups.google.com/group/spyderlib. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >> -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.
