I want to install PyPy on my Ubuntu and I want it to be installed system-wide so I could call PyPy in terminal everywhere like: pypy main.py
. I also want to have standard python and pip available.
I'm not a very experienced Linux user yet so I'm lost.
As @keith-thompson says, you can do sudo apt install pypy pypy-dev
. If you want a more up-to-date version you can do snap install pypy pypy-dev
. Another way to get a working environment is to use conda, as per this link. The advantage of conda is that you can easily install pre-built packages such as numpy, sciy (coming soon), and more. If you use the first recipes, pip install
will currently have to build many packages from source.
Note that pip
is never "available anywhere", it is tied to the particular python instance, and installs packages into a path for that specific instance. Thus the pip
you use for python2 is different than the pip
you use for python3, likewise for pypy.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With