简体   繁体   English

是否可以在 Windows 10 上的 Spyder 中使用 PyPy 解释器?

[英]Is it possible to use the PyPy interpreter in Spyder on Windows 10?

I'm looking to run pypy using spyder on Windows 10. I'm not sure if this is possible or even makes sense to do, but I'm used to using spyder to run python programs so I wanted to also use it to run pypy.我希望在 Windows 10 上使用 spyder 运行 pypy。我不确定这是否可行,甚至是否有意义,但我习惯于使用 spyder 来运行 python 程序,所以我也想用它来运行皮皮。 I tried chaning the interpreter in tools->preferences->python interpreter to C:/PyPy/pypy.exe but that gives me the warning that I selected an invalid python interpreter for the console.我尝试将 tools->preferences->python interpreter 中的解释器更改为 C:/PyPy/pypy.exe 但这给了我警告,我为控制台选择了一个无效的 python 解释器。 Any ideas on what else I need to do to make this possible?关于我还需要做什么才能使这成为可能的任何想法? Any comments would be appreciated.任何意见将不胜感激。

( Spyder maintainer here ) This is not possible at moment, for the following reasons: 这里Spyder 维护者)目前这是不可能的,原因如下:

  1. We require a Python interpreter and doesn't accept PyPy as an option in Tools > Preferences > Python interpreter (as you pointed out).我们需要 Python 解释器,并且不接受 PyPy 作为Tools > Preferences > Python interpreter (如您所指出的)。
  2. There are no Pyzmq wheels for PyPy on Windows, only macOS. Windows 上没有 PyPy 的Pyzmq 轮子,只有 macOS。 Pyzmq is the only binary package required to run Jupyter kernels (all the rest are pure Python), but without it our IPython consoles can't work. Pyzmq 是运行 Jupyter 内核所需的唯一二进制包(其余都是纯 Python),但没有它我们的 IPython 控制台就无法工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM