The library just works for Python 3, but the compilation has a small problem with print no longer being a keyword but a function. This makes it so that CMAKE thinks numpy is not installed.
So this PR changes the CMAKE instructions needed to find numpy so that they work on both Python 3 and Python 2.
Note that Python 2.7 will be end-of-life in about seven months, so getting Python 3 support in is pretty important. Luckily it seems to be very easy.
The library just works for Python 3, but the compilation has a small problem with
print
no longer being a keyword but a function. This makes it so that CMAKE thinksnumpy
is not installed.So this PR changes the CMAKE instructions needed to find
numpy
so that they work on both Python 3 and Python 2.Note that Python 2.7 will be end-of-life in about seven months, so getting Python 3 support in is pretty important. Luckily it seems to be very easy.