spyder 2.2.5 with Anaconda requires x11 to run preferences

307 views
Skip to first unread message

Lewis Levin

unread,
Dec 12, 2013, 11:55:05 PM12/12/13
to spyd...@googlegroups.com
Spyder and python crash immediately when x11 is not installed and you choose the preferences command.

I am installing xquartz, but what a waste. 164Meg to get a lousy gui when Spyder itself already uses a very good gui that must already be installed:  QT.

Will either Anaconda (if that is the issue) or Spyder switch to building the preferences "app" on QT?

This is not a problem with the dmg installer of Spyder.  But, as nice as that is I don't want to use it.  It is really nice and installs perfectly but....      It becomes its own distinct python install and all of the necessary libraries are duplicated.  As a really clean simple thing that is great but...    ...all of the Python library that is supplied via the application package is totally inaccessible outside of Spyder itself.  That sort of seems to violate how one expects to use Python.

No worries.  It was easy to use conda to get the latest version of Spyder installed in the anaconda distro of Python.  But, then we have the preference issue.

It would be nice to be rid of x11.  Maybe an ask for 2.3?

Thanks,
Lewis

Christopher Graham

unread,
Dec 13, 2013, 3:14:58 AM12/13/13
to spyd...@googlegroups.com
Yes, I am running the latest (non-beta) Spyder, with the latest Anaconda (and its packages), and the latest XQuartz on OS X Mavericks.
I have to manually run XQuartz before running Spyder. Spyder seems to work fine, except that it always crashes when it's closed.
I did not use the .dmg installer (for the same reasons you chose not to).
It looks like the reliance upon X11 is going to continue into Spyder version 3, now in beta ?!
If so... alas.

Christopher Graham

unread,
Dec 13, 2013, 3:17:56 AM12/13/13
to spyd...@googlegroups.com
cf. my previous post... I meant to type Spyder 2.3, now in beta.


On Thursday, December 12, 2013 11:55:05 PM UTC-5, Lewis Levin wrote:

Carlos Córdoba

unread,
Dec 14, 2013, 12:16:05 PM12/14/13
to spyd...@googlegroups.com
Hi Lewis,

My answers are below

El 12/12/13 23:55, Lewis Levin escribió:
> Spyder and python crash immediately when x11 is not installed and you
> choose the preferences command.

This seems like a bug. I haven't tested Anaconda on Mac but I'll do as
soon as I get home (I'm on a trip right now).

> I am installing xquartz, but what a waste. 164Meg to get a lousy gui
> when Spyder itself already uses a very good gui that must already be
> installed: QT.
>
> Will either Anaconda (if that is the issue) or Spyder switch to
> building the preferences "app" on QT?
>
> This is not a problem with the dmg installer of Spyder. But, as nice
> as that is I don't want to use it. It is really nice and installs
> perfectly but.... It becomes its own distinct python install and
> all of the necessary libraries are duplicated. As a really clean
> simple thing that is great but... ...all of the Python library that
> is supplied via the application package is totally inaccessible
> outside of Spyder itself. That sort of seems to violate how one
> expects to use Python.

This is probably the most common misunderstanding with our dmg app: it
comes with a bunch of preinstalled libraries so that people can start to
program with the SciPy stack right away, but it's dead easy to use with
Anaconda's Python or any other one. You just need to

1. Open Anaconda's Python, then run in it:

import sys
sys.executable

2. Open Spyder and go to:

Spyder > Preferences > Console > Advanced Settings > Python Executable

select

Use the following Python interpreter

and finally paste there the result of step 1.

Cheers,
Carlos

> No worries. It was easy to use conda to get the latest version of
> Spyder installed in the anaconda distro of Python. But, then we have
> the preference issue.
>
> It would be nice to be rid of x11. Maybe an ask for 2.3?
>
> Thanks,
> Lewis
> --
> 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 spyderlib+...@googlegroups.com.
> To post to this group, send email to spyd...@googlegroups.com.
> Visit this group at http://groups.google.com/group/spyderlib.
> For more options, visit https://groups.google.com/groups/opt_out.

Lewis Levin

unread,
Dec 27, 2013, 2:31:48 AM12/27/13
to spyd...@googlegroups.com

Thank you, Carlos.

Yes, I have Spyder pointed to the Anaconda install and it is fine. Maybe it is just hygiene, but the rest of the stuff is still there.  But, disks are big, so perhaps not really anything to worry about.

But, what about the preferences applet?  It seems to require x11/quartz, which is really unfortunate.  Is it tinter?   It would be nice if the preferences also ran on QT.  Or did I do something wrong in the install.

- Lewis
Reply all
Reply to author
Forward
0 new messages