Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

numpy import error in 3.0.0 if no cython #158

Closed
DocBO opened this issue Jan 6, 2019 · 2 comments
Closed

numpy import error in 3.0.0 if no cython #158

DocBO opened this issue Jan 6, 2019 · 2 comments

Comments

@DocBO
Copy link

DocBO commented Jan 6, 2019

Python version

3.7.1

Platform information

Linux-4.15.0-42-generic-x86_64-with-debian-buster-sid

Numpy version

1.15.4

mdfreader version

3.0.0

Description

The setup.py is not working correctly if cython is not installed. You get an numpy error (which is not defined in that case since it is never imported).

If cython is installed by hand previously, everything works fine. So either include cython into your depencies or import numpy on another place too.

@ratal
Copy link
Owner

ratal commented Apr 28, 2019

Hi,
there was a remaining include_dirs=[numpy.get_include()] in case extension could not be compiled, removed and this error should not happen.
If you have occasion can you confirm ?

@ratal
Copy link
Owner

ratal commented Sep 3, 2019

Seems it is fixed, thanks for reporting, closing issue.

@ratal ratal closed this as completed Sep 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants