This is one way to get PyPy to work in VS Code on windows.
- download the zip file, and extract it somewhere. Explorer suggests
C:\Users\matti\Documents\pypy3.6-v7.3.1-win32for me, that is fine.
- Next set up the new PyPy interpreter by getting
setuptoolsinstalled. Click on Start and type "cmd" then click on "Comand Prompt" to open a text terminal. Once there type
<path\to\pypy> -m ensurepip, so for me that would be
C:\Users\matti\Documents\pypy3.6-v7.3.1-win32\pypy3.6-v7.3.1-win32\pypy3.exe -m ensurepipwhich should print at the end
Successfully installed pip-20.0.2 setuptools-44.0.0
- Open a new file in VS Code, and click on the "Python" at the far left of the status bar (bottom left corner in my default VSCode layout), and choose the path to
pypy3.exeas the one to use for this file.
I think that is it? You may want to let VS Code install things like a linter or other tools, that is fine.
PyPy is also available via Conda, which will allow you to
conda install NumPy and SciPy without compiling. matplotlib should be available soon.