I'm the maintainer for gmpy2. I don't have access to a Mac so I can't test OSX builds.
I assume you've also installed mpfr
since it is a prerequisite of mpc
. Where are the development files (i.e. gmp.h
, mpfr.h
, and mpc.h
) located?
Instead of installing via pip, can you try installing from the command line? I use a command similar to:
python setup.py install --prefix=/opt/local --force
This command assumes that the .h
files are located in /opt/local/include. You will need to adjust the prefix to suit your system.