-
Notifications
You must be signed in to change notification settings - Fork 11
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
Installing stardist-napari downgrades numpy - any ideas why? #3
Comments
Hi, Yes, I these numpy version issues are quite annoying. Almost always they are related to version pins by either tensorflow/tensorflow#50204 I normally simply upgrade numpy directly after installing tensorflow, numba, stardist etc and keep my fingers crossed :) |
What's really wierd is that Edit2: but |
Maybe tensorflow was already installed at that point? |
Yes, in both cases I've got TF installed first, when setting up the environment following Apple instructions. |
Good luck and thanks for working through all of this. I currently keep up with all of it... |
Good news!
in setup.py the plugin just installs directly with no issue. (note stardist required llvmlite from conda, because I (apparently) have llvm 13 which is not yet supported by llvmlite—but will be in the next release numba/llvmlite#802 (comment) ) |
In mathching.py file there is numba import: from numba import jit and in numba there is a strict numpy requirement pinning it down |
Currently not as we are not in control over numba's numpy dependency. It looks like this will be solved in the next numba release though. |
Experimental numba M1 releases work with numpy 1.21.* |
Sounds good! So the next numba release should at least the current numpy dependency regression problems... |
FYI: |
Nice, thanks for the heads up! :) |
Hi Uwe and Martin @uschmidt83 @maweigert ,
I had repeatedly issues with installing stardist-napari because it downgraded numpy and then breaks environments. I'm not 100%ly sure if the breaking-environment issue is related to numpy, but I'm quite sure that it happens when installing stardist-napari.
Do you have any idea which dependency pins numpy to 1.19.5 and would it maybe be possible to upgrade that dependency and/or create an issue there? Closing this issue because it's not related directly to stardist-napari would also be fine. Anyway, any hint is welcome!
Thanks!
Robert
Here's the log of a recent installation in a new environment. All I did after setting up a fresh conda environment was 'pip install napari[all]' and then the following output is produced by 'pip install stardist-napari':
The text was updated successfully, but these errors were encountered: