7

The package pypy in bionic is compatible with Python 2.7.13 (5.10.0+dfsg-3build2, Feb 06 2018, 18:37:50)

I see no "pypy3" in bionic. I see a snap for pypy3, but only the edge version is up-to-date with code that can run, e.g., pandas (version >= 5.9)

I would prefer an apt package, and would assume that there would be more focus on pypy3 than pypy for python 2, but I'm either missing something, or that isn't true. What's up?

muru
  • 207,228
nealmcb
  • 3,715

2 Answers2

8

Results of snap find pypy3 :

Name   Version  Publisher    Notes    Summary  
pypy3  5.8.0    pypyproject  classic  PyPy is a fast, compliant alternative implementation of the Python language 

Installing the native pypy3 snap package with sudo snap install pypy3 --classic is the most secure way to install PyPy3.5 in Ubuntu, and it also is updated automatically or can be updated manually with sudo snap refresh pypy3. The current version of the pypy3 snap package is 5.10.1.

Version 6.0 of the pypy3 snap package is not yet available, but it will be available as a snap package eventually. Meanwhile the native pypy3 snap package (PyPy3.5 v5.8 v5.10.1) is able to run pandas.


Download PyPy3.5 v6.0 from the official PyPy website here.

Installation instructions

All binary versions are packaged in a tar.bz2 or zip file. When uncompressed, they run in-place. For now you can uncompress them either somewhere in your home directory or, say, in /opt, and if you want, put a symlink from somewhere like /usr/local/bin/pypy to /path/to/pypy_expanded/bin/pypy. Do not move or copy the executable pypy outside the tree – put a symlink to it, otherwise it will not find its libraries.

karel
  • 122,292
  • 133
  • 301
  • 332
2

In the PyPy PPA.

It wasn't packaged for the main archive, yet, in time for the 18.04 release.

Installation instructions

sudo add-apt-repository ppa:pypy/ppa
sudo apt update
sudo apt install pypy3
tumbleweed
  • 8,106