MPI4PY installation for MPICH2 on Raspberry Pi
Issue #48
closed
Hi, I installed MPICH and Cython on a Raspberry Pi. When I try to run
python setup.py build
It shows following error,
pi@raspberrypi:~/mpi4py $ sudo python3 setup.py build Unable to find pgen, not compiling formal grammar. warning: no files found matching '.pyx' under directory 'Cython/Debugger/Tests' warning: no files found matching '.pxd' under directory 'Cython/Debugger/Tests' warning: no files found matching '.h' under directory 'Cython/Debugger/Tests' warning: no files found matching '.pxd' under directory 'Cython/Utility'
The installation terminates after that. Can anyone please help me with that?
Comments (2)
-
-
- changed status to closed
- Log in to comment
It seems that setuptools is trying to install Cython to build the C wrapper code. This happens if you do not have Cython installed, and you build mpi4py from a git clone. You could try to install Cython with your package manager, or use the latest mpi4py tarball, which does not requires a pre-installed Cython.