axiom-data-science / extract_model

Facilitates read-in and extraction for ocean model output.
https://extract-model.readthedocs.io/
MIT License
5 stars 4 forks source link

Cannot install conda environment on osx-arm64 #46

Closed yosoyjay closed 2 years ago

yosoyjay commented 2 years ago

conda env create -f environment.yml fails on osx-arm64.

$ conda env create -f environment.yml
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 \
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 pip conflicts for: xcmocean -> python[version='>=3.6'] -> pip matplotlib -> python[version='>=3.8,<3.9.0a0'] -> pip pip dask -> python[version='>=3.8'] -> pip numpy -> python[version='>=3.8,<3.9.0a0'] -> pip pytest -> python[version='>=3.9,<3.10.0a0'] -> pip xesmf -> python[version='>=3.6'] -> pip requests -> python[version='>=3.6'] -> pip scipy -> python[version='>=3.8,<3.9.0a0'] -> pip netcdf4 -> python[version='>=3.10,<3.11.0a0'] -> pip cmocean -> python -> pip cf_xarray[version='>=0.6'] -> python[version='>=3.6'] -> pip

Package numpy conflicts for: xesmf -> numpy[version='>=1.16'] numpy xcmocean -> xarray -> numpy[version='>=1.12|>=1.14|>=1.15|>=1.17|>=1.18'] cmocean -> colorspacious -> numpy[version='>=1.17|>=1.19.5,<2.0a0|>=1.21.4,<2.0a0|>=1.19.4,<2.0a0'] matplotlib -> matplotlib-base[version='>=3.5.1,<3.5.2.0a0'] -> numpy[version='>=1.17|>=1.19.5,<2.0a0|>=1.21.4,<2.0a0|>=1.19.4,<2.0a0'] netcdf4 -> cftime -> numpy[version='>=1.21.5,<2.0a0'] dask -> bokeh[version='>=2.4.2'] -> numpy[version='>=1.11.3|>=1.19.5,<2.0a0|>=1.21.5,<2.0a0|>=1.21.4,<2.0a0|>=1.19.4,<2.0a0|>=1.19.2,<2.0a0'] dask -> numpy[version='>=1.10.4|>=1.11.0|>=1.13.0|>=1.15.1|>=1.16|>=1.18'] netcdf4 -> numpy[version='>=1.19.5,<2.0a0|>=1.21.4,<2.0a0'] xesmf -> cf_xarray[version='>=0.5.1'] -> numpy[version='>=1.12|>=1.13|>=1.15|>=1.19.5,<2.0a0|>=1.21.5,<2.0a0|>=1.21.4,<2.0a0|>=1.17|>=1.18|>=1.19.4,<2.0a0|>=1.19.2,<2.0a0|>=1.14'] scipy -> numpy[version='>=1.19.2,<2.0a0|>=1.19.4,<2.0a0|>=1.19.5,<2.0a0|>=1.21.5,<2.0a0|>=1.21.4,<2.0a0'] cf_xarray[version='>=0.6'] -> pandas[version='>=0.25'] -> numpy[version='>=1.12|>=1.14|>=1.17|>=1.18|>=1.19.2,<2.0a0|>=1.19.4,<2.0a0|>=1.19.5,<2.0a0|>=1.21.5,<2.0a0|>=1.21.4,<2.0a0'] cf_xarray[version='>=0.6'] -> numpy[version='>=1.15']

Package certifi conflicts for: cf_xarray[version='>=0.6'] -> setuptools[version='>=41.2'] -> certifi[version='>=2016.9.26'] matplotlib -> matplotlib-base[version='>=3.5.1,<3.5.2.0a0'] -> certifi[version='>=2020.06.20'] requests -> certifi[version='>=2017.4.17'] xarray -> setuptools[version='>=40.4'] -> certifi[version='>=2016.9.26'] cmocean -> matplotlib-base -> certifi[version='>=2020.06.20'] netcdf4 -> setuptools -> certifi[version='>=2016.9.26'] pip -> setuptools -> certifi[version='>=2016.9.26'] requests -> urllib3[version='>=1.21.1,<1.27'] -> certifi

Package pyparsing conflicts for: pytest -> packaging -> pyparsing[version='<3,>=2.0.2|>=2.0.2,!=3.0.5|>=2.0.2,<3|>=2.0.2'] matplotlib -> matplotlib-base[version='>=3.5.1,<3.5.2.0a0'] -> pyparsing[version='>=2.0.3,!=2.0.4,!=2.1.2,!=2.1.6|>=2.2.1'] cmocean -> matplotlib-base -> pyparsing[version='>=2.0.3,!=2.0.4,!=2.1.2,!=2.1.6|>=2.2.1'] xarray -> packaging[version='>=20.0'] -> pyparsing[version='<3,>=2.0.2|>=2.0.2,!=3.0.5|>=2.0.2,<3|>=2.0.2']

Package python_abi conflicts for: dask -> bokeh[version='>=2.4.2'] -> python_abi[version='3.10.|3.8.|3.9.',build='_cp310|_cp38|_cp39'] xesmf -> shapely -> python_abi[version='3.10.|3.9.|3.8.',build='_cp38|_cp310|_cp39'] cf_xarray[version='>=0.6'] -> numpy[version='>=1.15'] -> python_abi[version='3.10.|3.8.|3.9.',build='_cp310|_cp38|_cp39'] matplotlib -> python_abi[version='3.10.|3.8.|3.9.',build='_cp310|_cp38|_cp39'] xarray -> numpy[version='>=1.18'] -> python_abi[version='3.10.|3.8.|3.9.',build='_cp310|_cp38|_cp39'] netcdf4 -> python_abi[version='3.10.|3.8.|3.9.',build='_cp310|_cp38|_cp39'] pip -> setuptools -> python_abi[version='3.10.|3.8.|3.9.',build='_cp310|_cp38|_cp39'] scipy -> python_abi[version='3.10.|3.8.|3.9.',build='_cp310|_cp38|_cp39'] numpy -> python_abi[version='3.10.|3.8.|3.9.',build='_cp310|_cp38|_cp39'] cmocean -> matplotlib-base -> python_abi[version='3.10.|3.8.|3.9.',build='_cp310|_cp38|_cp39'] requests -> certifi[version='>=2017.4.17'] -> python_abi[version='3.10.|3.9.|3.8.',build='_cp38|_cp310|_cp39'] pytest -> python_abi[version='3.10.|3.9.|3.8.',build='_cp38|_cp310|_cp39']

Package packaging conflicts for: xarray -> packaging[version='>=20.0'] cf_xarray[version='>=0.6'] -> xarray -> packaging[version='>=20.0'] cmocean -> matplotlib-base -> packaging[version='>=20.0'] pip -> wheel -> packaging[version='>=20.2'] xcmocean -> xarray -> packaging[version='>=20.0'] matplotlib -> matplotlib-base[version='>=3.5.1,<3.5.2.0a0'] -> packaging[version='>=20.0'] pytest -> packaging xesmf -> xarray[version='>=0.16.2'] -> packaging[version='>=20.0'] dask -> bokeh[version='>=2.4.2'] -> packaging[version='>=16.8|>=20.0']

Package cf_xarray conflicts for: cf_xarray[version='>=0.6'] xesmf -> cf_xarray[version='>=0.3.1|>=0.5.1']

Package libblas conflicts for: numpy -> libblas[version='>=3.9.0,<4.0a0'] dask -> numpy[version='>=1.18'] -> libblas[version='>=3.9.0,<4.0a0'] xesmf -> numpy[version='>=1.16'] -> libblas[version='>=3.9.0,<4.0a0'] numpy -> libcblas[version='>=3.9.0,<4.0a0'] -> libblas[version='3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0.',build='3_openblas|5_openblas|6_openblas|10_openblas|11_osxarm64_openblas|12_osxarm64_openblas|12_osxarm64_accelerate|13_osxarm64_accelerate|14_osxarm64_openblas|14_osxarm64_accelerate|13_osxarm64_openblas|9_openblas|8_openblas|7_openblas|4_openblas|2_openblas|1_openblas'] netcdf4 -> numpy[version='>=1.21.4,<2.0a0'] -> libblas[version='>=3.9.0,<4.0a0'] xarray -> numpy[version='>=1.18'] -> libblas[version='>=3.9.0,<4.0a0'] scipy -> libcblas[version='>=3.9.0,<4.0a0'] -> libblas[version='3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0.',build='3_openblas|5_openblas|6_openblas|10_openblas|11_osxarm64_openblas|12_osxarm64_openblas|12_osxarm64_accelerate|13_osxarm64_accelerate|14_osxarm64_openblas|14_osxarm64_accelerate|13_osxarm64_openblas|9_openblas|8_openblas|7_openblas|4_openblas|2_openblas|1_openblas'] scipy -> libblas[version='>=3.9.0,<4.0a0'] cf_xarray[version='>=0.6'] -> numpy[version='>=1.15'] -> libblas[version='>=3.9.0,<4.0a0']

Package matplotlib conflicts for: cmocean -> matplotlib xcmocean -> cmocean -> matplotlib matplotlib

Package importlib_metadata conflicts for: xesmf -> xarray[version='>=0.16.2'] -> importlib_metadata xarray -> importlib_metadata cf_xarray[version='>=0.6'] -> xarray -> importlib_metadata pytest -> pluggy[version='>=0.12,<2.0'] -> importlib_metadata[version='>=0.12'] xcmocean -> xarray -> importlib_metadata

Package setuptools conflicts for: xesmf -> cf_xarray[version='>=0.5.1'] -> setuptools[version='>=40.4|>=41.2'] dask -> jinja2 -> setuptools[version='<60.0.0'] matplotlib -> matplotlib-base[version='>=3.4.3,<3.4.4.0a0'] -> setuptools cmocean -> matplotlib-base -> setuptools xcmocean -> xarray -> setuptools[version='>=40.4'] xarray -> pandas[version='>=1.1'] -> setuptools[version='<60.0.0'] cf_xarray[version='>=0.6'] -> setuptools[version='>=41.2'] pip -> setuptools xarray -> setuptools[version='>=40.4'] netcdf4 -> setuptools cf_xarray[version='>=0.6'] -> pandas[version='>=0.25'] -> setuptools[version='<60.0.0|>=40.4']

Package urllib3 conflicts for: dask -> distributed=2022.4.0 -> urllib3 requests -> urllib3[version='>=1.21.1,<1.26,!=1.25.0,!=1.25.1|>=1.21.1,<1.27']

Package six conflicts for: pytest -> packaging -> six[version='>=1.0.0,<2.0.0'] xarray -> packaging[version='>=20.0'] -> six dask -> distributed[version='>=2.3.0'] -> six

Package python-dateutil conflicts for: cmocean -> matplotlib-base -> python-dateutil[version='>=2.1|>=2.7'] cf_xarray[version='>=0.6'] -> pandas[version='>=0.25'] -> python-dateutil[version='>=2.7.3'] dask -> pandas[version='>=1.0'] -> python-dateutil[version='>=2.1|>=2.7.3'] matplotlib -> matplotlib-base[version='>=3.5.1,<3.5.2.0a0'] -> python-dateutil[version='>=2.1|>=2.7'] xarray -> pandas[version='>=1.1'] -> python-dateutil[version='>=2.7.3']

Package pandas conflicts for: xcmocean -> xarray -> pandas[version='>=0.19.2|>=0.24|>=0.25|>=1.0|>=1.1'] cf_xarray[version='>=0.6'] -> pandas[version='>=0.25'] xarray -> pandas[version='>=0.19.2|>=0.24|>=0.25|>=1.0|>=1.1'] dask -> pandas[version='>=0.19.0|>=0.21.0|>=0.23.0|>=0.25.0|>=1.0'] cf_xarray[version='>=0.6'] -> xarray -> pandas[version='>=0.19.2|>=0.24|>=1.0|>=1.1'] xesmf -> cf_xarray[version='>=0.5.1'] -> pandas[version='>=0.19.2|>=0.24|>=0.25|>=1.1|>=1.0']

Package libopenblas conflicts for: scipy -> libblas[version='>=3.9.0,<4.0a0'] -> libopenblas[version='>=0.3.12,<0.3.13.0a0|>=0.3.15,<0.3.16.0a0|>=0.3.17,<0.3.18.0a0|>=0.3.18,<0.3.19.0a0|>=0.3.20,<0.3.21.0a0|>=0.3.20,<1.0a0|>=0.3.18,<1.0a0|>=0.3.17,<1.0a0|>=0.3.15,<1.0a0|>=0.3.12,<1.0a0'] numpy -> libblas[version='>=3.9.0,<4.0a0'] -> libopenblas[version='>=0.3.12,<0.3.13.0a0|>=0.3.15,<0.3.16.0a0|>=0.3.17,<0.3.18.0a0|>=0.3.18,<0.3.19.0a0|>=0.3.20,<0.3.21.0a0|>=0.3.20,<1.0a0|>=0.3.18,<1.0a0|>=0.3.17,<1.0a0|>=0.3.15,<1.0a0|>=0.3.12,<1.0a0']

Package cycler conflicts for: cmocean -> matplotlib-base -> cycler[version='>=0.10'] matplotlib -> matplotlib-base[version='>=3.5.1,<3.5.2.0a0'] -> cycler[version='>=0.10']

Package pytz conflicts for: dask -> pandas[version='>=1.0'] -> pytz[version='>=2017.2'] xarray -> pandas[version='>=1.1'] -> pytz[version='>=2017.2'] cf_xarray[version='>=0.6'] -> pandas[version='>=0.25'] -> pytz[version='>=2017.2']

Package cmocean conflicts for: xcmocean -> cmocean cmocean

Package libgfortran5 conflicts for: netcdf4 -> hdf5[version='>=1.12.1,<1.12.2.0a0'] -> libgfortran5[version='>=11.0.0.dev0|>=11.0.1.dev0'] xesmf -> scipy -> libgfortran5[version='>=11.0.0.dev0|>=11.0.1.dev0'] scipy -> libgfortran=5 -> libgfortran5 scipy -> libgfortran5[version='>=11.0.0.dev0|>=11.0.1.dev0'] numpy -> libblas[version='>=3.9.0,<4.0a0'] -> libgfortran5[version='>=11.0.0.dev0|>=11.0.1.dev0']

Package tornado conflicts for: matplotlib -> tornado dask -> bokeh[version='>=2.4.2'] -> tornado[version='>=5|>=5.1|>=6.0.3'] cmocean -> matplotlib-base -> tornado

Package xarray conflicts for: xcmocean -> xarray xesmf -> xarray[version='!=0.16.1|>=0.16.2|<=0.16.0'] xarray cf_xarray[version='>=0.6'] -> xarray

Package scipy conflicts for: cmocean -> viscm -> scipy scipy xesmf -> sparse -> scipy[version='>=0.19'] xesmf -> scipy

It does work on osx-amd64 as a workaround.

lukecampbell commented 2 years ago

I believe this is resolved.