-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
Error in numpy/numpy/distutils/misc_util.py #7809
Comments
@emmenlau thanks for the report. Can you please tell us exactly how to reproduce this? That would make it a lot easier to check your proposed fix. |
@rgommers thanks for the quick response. Can you help me isolate a better report? I'm trying to compile CellProfiler (see my link to the issue CellProfiler/CellProfiler#2113). But that is a relatively complex software / complex setup for you to reproduce I guess? |
That is a bit complex, but the link to that issue did help. The issue you're reporting is a secondary problem right, the real issue is the Cython crash when compiling Another question: does this fail when you do Anyway, after looking at your proposed fix I think it is harmless, so even if I can't easily reproduce this and it doesn't make much sense that |
Interesting, it seems that from a |
It's not, the difference is that if you use |
As said above though, if you send your proposed change as a PR I'm happy to merge it. |
MAINT: fix for gh-7809 (distutils): check that _tmpdirs is not None
Thanks rgommers, I think I learned something today :-) So I will change our install instructions to avoid the |
You're welcome. |
Historically the command has always been |
I was getting some compilation errors that looked related to this: CellProfiler/CellProfiler#2113 So, following the advice at numpy/numpy#7809, I am building with "pip install ." now.
I'm trying to install a package that compiles against numpy. It fails with error:
I checked numpy/numpy/distutils/misc_util.py and it seems the problem could be that _tmpdirs is empty? At least the following change compiles for me:
The text was updated successfully, but these errors were encountered: