JiaweiZhuang / xESMF

Universal Regridder for Geospatial Data
http://xesmf.readthedocs.io/
MIT License
269 stars 49 forks source link

installation impossible with anaconda #115

Closed matteodefelice closed 3 years ago

matteodefelice commented 3 years ago

I don't know if this is related to https://github.com/JiaweiZhuang/xESMF/issues/105 However, I have failed creating a new environment with xESMF on my Windows machine:

conda install -c conda-forge xesmf
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

If I ask for Python 3.7:

conda create -n scf xesmf python=3.7 -c conda-forge
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package python conflicts for:
python=3.7
xesmf -> python[version='>=3|>=3.6']
xesmf -> numpy[version='>=1.16'] -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0|>=3.5,<3.6.0a0|3.4.*|>=3.5.3|>=3.5']

Do you know any solution?

Cat7102 commented 3 years ago

xesmf dont support Windows,you can see this in https://anaconda.org/conda-forge/xesmf . If you want to use this package, you should change to linux.

ocefpaf commented 3 years ago

The problem is ESMF not being available on Windows.

matteodefelice commented 3 years ago

Thanks for the reply, I didn't notice that.