In order for Spyder to work as expected (especially related to the code
completion and other features) it is assumed that Spyder and your Python
code run in the same Python environment.
Have you tried to either:
* add dolfin Python library to your Spyder's PYTHONPATH environment
variable (under Tools > PYTHONPATH manager) or adding in a script with
"sys.path.append("/some/path/")"?
* install dolfin and Python in the same Python environment
Best regards,
David
On 2 June 2014 00:26, Clas Jacobson <[email protected]> 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.
>
--
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.