User avatar
paddyg
Posts: 1997
Joined: Sat Jan 28, 2012 11:57 am
Location: UK

pypy with numpy

Tue Apr 25, 2017 2:06 pm

I've just been checking out the progress of pypy (specifically whether or not pi3d will 'just' work with it now) On ubuntu it was surprisingly straightforward and worked very well, just four numpy functions missing (that had little impact).

On the Raspberry Pi, although pypy is already installed on raspbian jessie, the pypy version numpy needs a later version (v4.4 c.f. v4.0). But there is a binary available for raspbian (v5.7.1) and instructions on the pypy docs. However some things were a little obscure so I have written up the steps I took in the pi3d FAQ section. Hopefully someone will find this useful at some stage.

Paddy
also https://groups.google.com/forum/?hl=en-GB&fromgroups=#!forum/pi3d

User avatar
paddyg
Posts: 1997
Joined: Sat Jan 28, 2012 11:57 am
Location: UK

Re: pypy with numpy

Fri Sep 08, 2017 5:05 pm

Just rechecked this following the move to raspbian stretch. The good news is that the pypy 'bundled' with the system is now 5.6 and I found a reasonably simple way to get numpy and PIL using pip. The confusing thing is that the current versions of these two modules don't work! (Not checked if it's just the pypy implementation or armhf generally, which seems unlikely) I had to install the versions that matched the normal (3.5) python version numpy 1.12.1, Pillow 4.0.0

see http://pi3d.github.io/html/FAQ.html#pypy

Paddy
also https://groups.google.com/forum/?hl=en-GB&fromgroups=#!forum/pi3d

Return to “Python”

Who is online

Users browsing this forum: No registered users and 28 guests