Compat error with `numpy>1.20`
See original GitHub issueDescribe the bug
Cannot install the latest version of xarray-spatial
with an up-to-date stack (numpy>1.20
).
Expected behavior
Install the latest version of xarray-spatial
through conda
Screenshots
I’m trying to update the gds_env
and trying an install that pins xarray-spatial
to its latest release returns the following error:
package xarray-spatial-0.2.9-pyhd8ed1ab_0 requires numpy >=1.7,<=1.20, but none of the providers can be installed
The numpy
version it is installing (for compatibility with other libraries) is 1.21.2. Is there any reason why it pins to 1.20 as the most recent version?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
cvxpy 1.1.7 no longer compatible with numpy<1.20? #1229
So: the issue is not that CVXPY is incompatible with older versions of NumPy, but rather installation via pip is building the cvxcore...
Read more >NumPy 1.20.0 Release Notes
The following code stops raising an error: np.array([np.float64(np.nan)], dtype=np.uint64). To avoid backward compatibility issues, at this time assignment ...
Read more >ValueError: numpy.ndarray size changed, may indicate binary ...
I had this issue when using the tensorflow object api. Tensorflow is currently NOT compatible with numpy==1.20 (although this issue is not ...
Read more >[Python] pyarrow<3 incompatible with numpy>=1.20.0 - Apache
pyarrow 1.0 and 2.0 is not compatible with numpy 1.20.0 Running the following command would fail: pa.array(np.arange(10)) with error ...
Read more >TensorFlow and Numpy Issue M1 | Apple Developer Forums
Uninstall your numpy, and conda install numpy~=1.19.5 , this will work. numpy 1.20+ is not compatible with this tensorflow. https://github.com/tensorflow/ ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@darribas My earlier answer was wrong. It turns out that we do need to pin numpy to <=1.20 as that is what numba 0.54.x requires. This restriction has been removed in numba’s master branch, so we will need to wait until their next release. I don’t think will be long, they are finishing off their python 3.10 support and I expect a release after that.
Yes, I agree.