I'm trying to get the bigfloat Python package onto my mac, but I'm not very good at this sort of thing.
I have downloaded the latest package as described here. The documentation says:
In order to use the bigfloat package you will need to have both the GMP and MPFR libraries already installed on your system.
I think that the GMP and MPFR libraries are already installed on my system - at least when I search for them I see folders with their names and files in them.
When I try to install bigfloat by typing:
python setup.py install
I get lots of error messages. The first ones being:
src/mpfr.c:223:17: error: gmp.h: No such file or directory
src/mpfr.c:224:18: error: mpfr.h: No such file or directory
The gmp.h and mpfr.h files are on my computer, but obviously I need to do something else.
Cleary I don't understand how the whole process works, but any pointers in the right direction would be great. Thank you.
I'm having the same problem and here's what I've tried as per the readme file in the bigfloat installation directory:
"An example: on Mac OS X, using the system Python, but with MPFR and GMP installed in /opt/local (e.g., by MacPorts), one can do":
This didn't throw any errors, but when I checked to see if it installed by running this test:
I got the error:
You can give this a try to see if it works for you, but I'm still lost.
What you should get if it's a successful installation is this: