[Numpy-discussion] building numpy with python3.7

Nathaniel Smith njs at pobox.com
Fri Dec 15 05:53:39 EST 2017


On Fri, Dec 15, 2017 at 2:42 AM, Hannes Breytenbach <hannes at saao.ac.za> wrote:
>
> I don't think this is a cython version issue - cloned the latest version from git yesterday...
>
> python3.7 -c "import cython; print(cython.__version__)"
> 0.28a0

It is a cython version issue: https://github.com/cython/cython/issues/1955

It's supposed to be fixed though, so I don't know why you it isn't
working for you. Are you sure that cython is installed in the same
virtualenv as you're using to build numpy? If you were using a numpy
sdist then it would make sense because we include the pre-generated .c
files in the sdists instead of running cython, but given that you're
building from a numpy checkout I dunno.

-n

-- 
Nathaniel J. Smith -- https://vorpus.org


More information about the NumPy-Discussion mailing list