Install pypy WSL

"If you want your code to run faster,

you should probably just use PyPy."

-- Guido van Rossum (creator of Python)

As official lab data state: on average, PyPy is 4.2 times faster than CPython which most people always use. This hint suggests easy steps to install PyPy on Windows Subsystem for Linux

First, download binary:

wget https://downloads.python.org/pypy/pypy3.6-v7.3.1-linux64.tar.bz2
sudo tar xf pypy3.6-v7.3.1-linux64.tar.bz2 -C /opt/
sudo ln -s /opt/pypy3.6-v7.3.1-linux64/bin/pypy3 /usr/local/bin/pypy

Now, you can for example create Pipenv project:

mkdir myproject
cd myproject
pipenv --python pypy
#wsl #python
0
Ivan Borshchov profile picture
Aug 23, 2020
by Ivan Borshchov
Did it help you?
Yes !
No

Best related