Using Spyder with PyPy?

1,587 views
Skip to first unread message

ufechner

unread,
Aug 28, 2013, 3:29:35 AM8/28/13
to spyd...@googlegroups.com
Hello,

is it possible to use Spyder as code editor and execute the code in PyPy?

If yes, how?

Best regards:

Uwe Fechner

Carlos Córdoba

unread,
Sep 11, 2013, 11:38:01 PM9/11/13
to spyd...@googlegroups.com
You could try to change your interpreter to point to the PyPy one.
Please go to

Tools > Preferences > Console > Advanced Setting > Python executable

and put it there (I guess in Linux it's something like /usr/bin/pypy).

Please let us know how it goes.

Cheers,
Carlos

El 28/08/13 02:29, ufechner escribió:
> --
> 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.

ufechner

unread,
Oct 13, 2013, 11:58:19 AM10/13/13
to spyd...@googlegroups.com
Well, it kind-of works, but not very well:

1. I need to use a virtual environment, otherwise newly installed modules are not recognized by pypy.
2. Then I have to point the python interpreter to the python executable in this virtual environment,
in my case ~/pypy-env/bin/python .

Now I can execute python scripts in the pypy interpreter. But now the ipython console does not work
any more, because it also tries to use the pypy interpreter, which fails (pyp works for ipython in text
mode, but not with the ipython widget, that is integrated in spyder).

This is inconvenient.

So my feature request: Add the option to run a script in a different interpreter, but this setting should
be valid only for this specific script, and not globally.

I will check if this feature request already exists in the bug tracker.

Best regards:

Uwe Fechner

ufechner

unread,
Oct 13, 2013, 12:18:53 PM10/13/13
to spyd...@googlegroups.com
I created an issue to improve this behaviour:
https://code.google.com/p/spyderlib/issues/detail?id=1601
Reply all
Reply to author
Forward
0 new messages