ARM version of python for Mac M1 to install Perceval 0.4.1

Hello,

I encountered some issues to install Perceval 0.4.1 which originated from having an Intel x86 version of Python which I could tell from the command

file path/to/bin/python

I had installed a x86 version of python from anaconda which uses Rosetta2 to compile in ARM. I followed this article to get a proper ARM version of Python with an optimised numpy: thread ARM python (see graphitump’s answer). It basically installs python from Miniforge3-MacOSX-arm64.sh.
Note that the optimised numpy is not necessary for a proper installation of Perceval.