Install pypy WSL

#StandWithUkraine
Today, 25th June 2022, Ukraine is still bravely fighting for democratic values, human rights and peace in whole world. Russians ruthlessly kill all civilians in Ukraine including childs and destroy their cities. We are uniting against Putinโ€™s invasion and violence, in support of the people in Ukraine. You can help by donating to Ukrainian's army.

"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