OK, thanks for the link to the issue. I'm not using virtual environments - I built python3.7 (and 2.7) with the `make altinstall` method. I managed to get the numpy build working on 3.7 by removing the
`random/mtrand/mtrand.c` file so that it gets (re-)generated during the build using the latest cython version.
Thanks for the help!