ESMValGroup / ESMValTool

ESMValTool: A community diagnostic and performance metrics tool for routine evaluation of Earth system models in CMIP
https://www.esmvaltool.org
Apache License 2.0
217 stars 126 forks source link

Error finding esmvalcore after a pull operation #1215

Closed rswamina closed 5 years ago

rswamina commented 5 years ago

I wanted to do a code update to the latest version of the code. After a git pull, I updated the environment and ran setup as shown below but encountered an error with setup:

conda env update --file environment.yml -name esmvaltool -vv conda activate esmvaltool python ./setup.py develop

I get the following error:

Processing dependencies for ESMValTool==2.0.0b0 Searching for esmvalcore<2.1,>=2.0.0b0 Reading https://pypi.org/simple/esmvalcore/ Couldn't find index page for 'esmvalcore' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/ No local packages or working download links found for esmvalcore<2.1,>=2.0.0b0 error: Could not find suitable distribution for Requirement.parse('esmvalcore<2.1,>=2.0.0b0')

This is the first time I am seeing this error with an update and am not sure I understand the whole esmvalcore-esmvaltool dependency issue. What am I doing wrong and how can I fix this problem?

bouweandela commented 5 years ago

The esmvalcore package is not on PyPI yet (I will put it there once we have the first release), it needs to be installed from conda. I don't understand why the conda env update command doesn't do that for you though, can you check if something went wrong? Run conda env export to see all packages installed in the current environment.

rswamina commented 5 years ago

I do not see esmvalcore installed when I ran the command. Should I install it separately?

bouweandela commented 5 years ago

The command conda env update --file environment.yml -name esmvaltool should update the esmvaltool environment according to the specification in the environment.yml file. Can you check the contents of that file and check that they are identical to what is in the version2_development branch? And check that you have actually correctly activated the esmvaltool environment before running conda env export, e.g. by doing which python and looking at the path, it should be /your/conda/installation/envs/esmvaltool/bin/python?

rswamina commented 5 years ago

Hi, here are the first few lines from my environment.yml file..seems to be the same (checked the whole file of course). Also checked the path before doing the conda env export.

name: esmvaltool channels:

dependencies:

Python packages that cannot be installed from PyPI:

rswamina commented 5 years ago

I am not sure that a fresh code checkout and new environment will help either because I did do a checkout followed by an update so am really not sure where this problem is coming from? The same steps (pull followed by env update followed by setup) done after the first time esmvaltool was split into esmvalcore and esmvaltool worked fine. I am guessing something else has changed?

rswamina commented 5 years ago

I installed esmvalcore separately conda install -c esmvalgroup -c conda-forge esmvalcore

and then ran setup and did not get an error. I tried running a simple recipe and it seemed to work. Is it alright to proceed on or is this a wrong fix?

valeriupredoi commented 5 years ago

you can of course install esmvalcore as any pip (not yet pip, but will be pip-ed by @bouweandela ) and then proceed with a fresh installation of esmvaltool in a suitable esmvaltool environment should do that for you. As Bouwe mentioned an update of the environment with the environment file environment.yml containing esmvalcore as dependency should also do the trick.

Note the following:

because the installer looks for the esmvalcore package first in $HOME/$USER/anaconda3/envs/esmvaltool/lib/python3.7/site-packages/ and if it can't find it it will default to https://pypi.org/simple/esmvalcore which don't exist. So your error is perfectly reproducible -

valeriupredoi commented 5 years ago

if you run conda env update --file environment.yml -name esmvaltool -vv that will create a new environment called ame that will in fact have all correct deps including esmvalcore: you have a bash syntax error in your command - it should be --name or -n and this is the root cause of your issues

This fixes your issue @rswamina so I am gonna close this, feel free to reopen if you think it's something else at bay

ValerioLembo commented 5 years ago

Hi all,

I am reopening this issue because I do not want to open a new one, and I think my problem could be related. I am trying to install esmvaltool on a new machine, and apparently I cannot set a new environment with the environment.yml list, because it cannot find the esmvalcore package in the esmvalgroup channel.

When I run conda-env create --name esmvaltool --file environment.yml I get this:

Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound: 
  - esmvalcore

When I try to install esmvalcore on my own ( conda install -c esmvalgroup -c conda-forge esmvalcore ) I also get:

Collecting package metadata (current_repodata.json): done
Solving environment: failed with current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - esmvalcore

Current channels:

  - https://conda.anaconda.org/esmvalgroup/osx-64
  - https://conda.anaconda.org/esmvalgroup/noarch
  - https://conda.anaconda.org/conda-forge/osx-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/osx-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

I encountered exactly the same problem when trying to install esmvaltool on the machine of something who wanted to use it, and I had to give up in the end (hope other potential users have been more successful than us!).

Any idea on why this is happening? I do not think I have to attach the environment.yml because I got it today from the repository in the version2_development branch.

Thank you, Valerio

rswamina commented 5 years ago

@ValerioLembo - just checking that when installing from source you cloned form the ESMValCore github reporistory for the esmvalcore package? That worked for me. I did not try the conda installations.

valeriupredoi commented 5 years ago

hey @ValerioLembo I can not reproduce the issue on two different machines: both the environment creatin and the separate on its own installation of esmvalcore work for me as they should - can you try again and make sure you have connection to esmvalgroup by listing the package info on channel by conda search -c esmvalgroup esmvalcore

ValerioLembo commented 5 years ago

Hi @valeriupredoi. I tried to look for esmvalcore in the channel you suggest, but this is what I get (and same happens to my colleague). Am I missing something?

conda search -c esmvalgroup esmvalcore
Loading channels: done
No match found for: esmvalcore. Search: *esmvalcore*

PackagesNotFoundError: The following packages are not available from current channels:

  - esmvalcore

Current channels:

  - https://conda.anaconda.org/esmvalgroup/osx-64
  - https://conda.anaconda.org/esmvalgroup/noarch
  - https://conda.anaconda.org/conda-forge/osx-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/osx-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.
valeriupredoi commented 5 years ago

looks like you are trying the install on a Mac or at least under OSX (hence the defaulting to noarch or osx-64) - try forcing the installation straight from the (only available) architecture via conda install -c esmvalgroup/linux-64 esmvalcore although I doubt that'll work>

@bouweandela we should create a noarch for esmvalcore

valeriupredoi commented 5 years ago

soz, the correct command is conda install -c esmvalgroup/linux-64 -c conda-forge esmvalcore

ValerioLembo commented 5 years ago

@valeriupredoi I tried to install esmvalcore with the options that you suggested, but there is a mess of package conflicts preventing from having it (they are a lot, but if you want me to do that I can attach them in a separate comment). I have conda updated all the packages in the environment. Now... I have two guesses:

  1. there is some issue between esmvalcore and the newest updates of the packages;
  2. packages with OS architecture are incompatible with esmvalcore having the LINUX architecture;

Either way it seems to me that there is no easy workaround...

valeriupredoi commented 5 years ago

just to confirm - are you performing the installation on an OSX box?

ValerioLembo commented 5 years ago

Yes I do. And to be more precise, the package for which I am having conflicts is libcxx

valeriupredoi commented 5 years ago

right! so I'd suggest halting the installation trials since we need to make esmvalcore noarch-compatible, the stuff that comes with it is too messy to be installed on an OSX right now; either that or we declare we don't support OSX installations but that's not up to me but a decision to be taken by the whole @ESMValGroup/esmvaltool-coreteam

ValerioLembo commented 5 years ago

Alright. I think one has to be clear with users on that. From a few feedbacks I had, some find difficult to retrieve information about the official release of ESMValTool and how to use it.

As for the OSX, I would support the idea of having it available multi-platform. Many people would use it locally, especially for doing simple straightforward diagnostics.

valeriupredoi commented 5 years ago

I'll try grab a Mac one of these days and install it, any specs on OSX and such pls? :beer:

ValerioLembo commented 5 years ago

Hi @valeriupredoi,

I am trying to install the package on MacOS Sierra (10.12.6).

I have Anaconda3 installed (Conda version: 4.7.10). The Conda list (prior to the installation of the default ESMValTool environment, which is when the setup halts with error) is like this:

# Name                    Version                   Build  Channel
_anaconda_depends         2019.03                  py37_0  
_ipyw_jlab_nb_ext_conf    0.1.0                    py37_0  
alabaster                 0.7.12                   py37_0  
anaconda                  2019.07                  py37_0  
anaconda-client           1.7.2                    py37_0  
anaconda-navigator        1.9.7                    py37_0  
anaconda-project          0.8.3                      py_0    conda-forge
appnope                   0.1.0                    py37_0    conda-forge
appscript                 1.1.0            py37h1de35cc_0  
asn1crypto                0.24.0                   py37_0  
astroid                   2.2.5                    py37_0    conda-forge
astropy                   3.2.1            py37h1de35cc_0  
atomicwrites              1.3.0                    py37_1  
attrs                     19.1.0                   py37_1  
babel                     2.7.0                      py_0    conda-forge
backcall                  0.1.0                    py37_0  
backports                 1.0                        py_2    conda-forge
backports.os              0.1.1                    py37_0  
backports.shutil_get_terminal_size 1.0.0                    py37_2  
beautifulsoup4            4.7.1                    py37_1  
bitarray                  0.9.3            py37h1de35cc_0  
bkcharts                  0.2                      py37_0  
blas                      1.0                         mkl    conda-forge
bleach                    3.1.0                    py37_0  
blinker                   1.4                        py_1    conda-forge
blosc                     1.16.3               hd9629dc_0  
bokeh                     1.2.0                    py37_0    conda-forge
boto                      2.49.0                   py37_0  
boto3                     1.9.200                    py_0    conda-forge
botocore                  1.12.200                   py_0    conda-forge
bottleneck                1.2.1            py37h1d22016_1  
bz2file                   0.98                       py_0    conda-forge
bzip2                     1.0.8                h1de35cc_0  
ca-certificates           2019.5.15                     0  
certifi                   2019.6.16                py37_0    conda-forge
cffi                      1.12.3           py37hb5b8e2f_0  
cftime                    1.0.3.4         py37h1e5eb4f_1001    conda-forge
chardet                   3.0.4                    py37_1  
click                     7.0                      py37_0  
cloudpickle               1.2.1                      py_0    conda-forge
clyent                    1.2.2                    py37_1  
colorama                  0.4.1                    py37_0  
conda                     4.7.10                   py37_0    conda-forge
conda-build               3.18.9                   py37_1    conda-forge
conda-env                 2.6.0                         1    conda-forge
conda-package-handling    1.4.0                    py37_0    conda-forge
conda-verify              3.1.1                 py37_1000    conda-forge
contextlib2               0.5.5                    py37_0  
cryptography              2.7              py37ha12b0ac_0  
curl                      7.65.2               ha441bb4_0  
cycler                    0.10.0                   py37_0  
cython                    0.29.12          py37h0a44026_0  
cytoolz                   0.10.0           py37h1de35cc_0  
dask                      2.1.0                      py_0    conda-forge
dask-core                 2.1.0                      py_0    conda-forge
dbus                      1.13.6               h90a0687_0  
decorator                 4.4.0                    py37_1  
defusedxml                0.6.0                      py_0  
distributed               2.1.0                      py_0    conda-forge
docutils                  0.14                     py37_0  
entrypoints               0.3                      py37_0  
et_xmlfile                1.0.1                    py37_0  
expat                     2.2.6                h0a44026_0  
fastcache                 1.1.0            py37h1de35cc_0  
filelock                  3.0.12                     py_0  
flask                     1.1.1                      py_0    conda-forge
freetype                  2.9.1                hb4e5f40_0  
fsspec                    0.4.0                      py_0    conda-forge
future                    0.17.1                py37_1000    conda-forge
gensim                    3.4.0            py37h1de35cc_0  
get_terminal_size         1.0.0                h7520d66_0  
gettext                   0.19.8.1             h15daf44_3  
gevent                    1.4.0            py37h1de35cc_0    conda-forge
glib                      2.56.2               hd9629dc_0  
glob2                     0.7                        py_0    conda-forge
gmp                       6.1.2                hb37e062_1  
gmpy2                     2.0.8            py37h6ef4df4_2  
greenlet                  0.4.15           py37h1de35cc_0  
h5py                      2.9.0            py37h3134771_0  
hdf4                      4.2.13                        0    conda-forge
hdf5                      1.10.4               hfa1e0ec_0  
heapdict                  1.0.0                    py37_2  
html5lib                  1.0.1                    py37_0  
icu                       58.2                 h4b95b61_1  
idna                      2.8                      py37_0  
imageio                   2.5.0                    py37_0    conda-forge
imagesize                 1.1.0                    py37_0  
importlib_metadata        0.17                     py37_1    conda-forge
intel-openmp              2019.4                      233  
ipykernel                 5.1.1            py37h39e3cac_0  
ipython                   7.6.1            py37h39e3cac_0  
ipython_genutils          0.2.0                    py37_0  
ipywidgets                7.5.0                      py_0    conda-forge
isort                     4.3.21                   py37_0    conda-forge
itsdangerous              1.1.0                    py37_0  
jbig                      2.1                  h4d881f8_0  
jdcal                     1.4.1                      py_0    conda-forge
jedi                      0.13.3                   py37_0    conda-forge
jinja2                    2.10.1                   py37_0  
jmespath                  0.9.4                      py_0    conda-forge
joblib                    0.13.2                   py37_0  
jpeg                      9b                   he5867d9_2  
json5                     0.8.4                      py_0    conda-forge
jsonschema                3.0.1                    py37_0    conda-forge
jupyter                   1.0.0                    py37_7  
jupyter_client            5.3.1                      py_0    conda-forge
jupyter_console           6.0.0                    py37_0  
jupyter_core              4.5.0                      py_0  
jupyterlab                1.0.2            py37hf63ae98_0  
jupyterlab_server         1.0.0                      py_0  
keyring                   18.0.0                   py37_0    conda-forge
kiwisolver                1.1.0            py37h0a44026_0  
krb5                      1.16.1               hddcf347_7  
lazy-object-proxy         1.4.1            py37h1de35cc_0  
libarchive                3.3.3                h786848e_5  
libblas                   3.8.0                    11_mkl    conda-forge
libcblas                  3.8.0                    11_mkl    conda-forge
libcurl                   7.65.2               h051b688_0  
libcxx                    4.0.1                hcfea43d_1    conda-forge
libcxxabi                 4.0.1                hcfea43d_1    conda-forge
libedit                   3.1.20181209         hb402a30_0  
libffi                    3.2.1                h475c297_4  
libgfortran               3.0.1                h93005f0_2  
libiconv                  1.15                 hdd342a3_7  
liblapack                 3.8.0                    11_mkl    conda-forge
liblapacke                3.8.0                    11_mkl    conda-forge
liblief                   0.9.0                h2a1bed3_2  
libnetcdf                 4.6.1                hd5207e6_2  
libopenblas               0.3.6                hd44dcd8_6    conda-forge
libpng                    1.6.37               ha441bb4_0  
libsodium                 1.0.16               h3efe00b_0  
libssh2                   1.8.2                ha12b0ac_0  
libtiff                   4.0.10               hcb84e12_2  
libxml2                   2.9.9                hf6e021a_1  
libxslt                   1.1.33               h33a18ac_0  
llvm-openmp               4.0.1                hcfea43d_1  
llvmlite                  0.29.0           py37h98b8051_0  
locket                    0.2.0                    py37_1  
lxml                      4.3.4            py37hef8c89e_0  
lz4-c                     1.8.1.2              h1de35cc_0  
lzo                       2.10                 h362108e_2  
markupsafe                1.1.1            py37h1de35cc_0    conda-forge
matplotlib                3.1.0            py37h54f8f79_0  
matplotlib-base           3.1.1            py37h3a684a6_1    conda-forge
mccabe                    0.6.1                    py37_1  
mistune                   0.8.4            py37h1de35cc_0  
mkl                       2019.4                      233  
mkl-service               2.0.2            py37h1de35cc_0  
mkl_fft                   1.0.12           py37h5e564d8_0  
mkl_random                1.0.2            py37h27c97d8_0  
mock                      3.0.5                    py37_0    conda-forge
more-itertools            7.0.0                    py37_0  
mpc                       1.1.0                h6ef4df4_1  
mpfr                      4.0.1                h3018a27_3  
mpmath                    1.1.0                    py37_0  
msgpack-python            0.6.1            py37h04f5b5a_1  
multipledispatch          0.6.0                    py37_0  
navigator-updater         0.2.1                    py37_0  
nbconvert                 5.5.0                      py_0    conda-forge
nbformat                  4.4.0                    py37_0  
ncurses                   6.1                  h0a44026_1  
netcdf4                   1.4.2            py37h13743db_0  
networkx                  2.3                        py_0    conda-forge
nltk                      3.4.4                    py37_0  
nose                      1.3.7                    py37_2    conda-forge
notebook                  6.0.0                    py37_0    conda-forge
numba                     0.44.1           py37h6440ff4_0  
numexpr                   2.6.9            py37h7413580_0  
numpy                     1.16.4           py37hacdab7b_0  
numpy-base                1.16.4           py37h6575580_0  
numpydoc                  0.9.1                      py_0    conda-forge
oauthlib                  3.0.1                      py_0    conda-forge
olefile                   0.46                     py37_0  
openpyxl                  2.6.2                      py_0    conda-forge
openssl                   1.1.1c               h1de35cc_1  
packaging                 19.0                     py37_0  
pandas                    0.24.2           py37h0a44026_0    conda-forge
pandoc                    2.2.3.2                       0  
pandocfilters             1.4.2                    py37_1  
parso                     0.5.0                      py_0    conda-forge
partd                     1.0.0                      py_0    conda-forge
path.py                   12.0.1                     py_0    conda-forge
pathlib2                  2.3.4                    py37_0    conda-forge
patsy                     0.5.1                    py37_0  
pcre                      8.43                 h0a44026_0  
pep8                      1.7.1                    py37_0  
pexpect                   4.7.0                    py37_0    conda-forge
pickleshare               0.7.5                    py37_0  
pillow                    6.1.0            py37hb68e598_0  
pip                       19.1.1                   py37_0    conda-forge
pkginfo                   1.5.0.1                  py37_0  
pluggy                    0.12.0                     py_0    conda-forge
ply                       3.11                     py37_0  
prometheus_client         0.7.1                      py_0    conda-forge
prompt_toolkit            2.0.9                    py37_0  
psutil                    5.6.3            py37h1de35cc_0  
ptyprocess                0.6.0                    py37_0    conda-forge
py                        1.8.0                    py37_0  
py-lief                   0.9.0            py37h1413db1_2  
pycodestyle               2.5.0                    py37_0  
pycosat                   0.6.3            py37h1de35cc_0  
pycparser                 2.19                     py37_0  
pycrypto                  2.6.1            py37h1de35cc_9  
pycurl                    7.43.0.3         py37ha12b0ac_0  
pyflakes                  2.1.1                    py37_0  
pygments                  2.4.2                      py_0    conda-forge
pyjwt                     1.7.1                      py_0    conda-forge
pylint                    2.3.1                    py37_0    conda-forge
pyodbc                    4.0.26           py37h0a44026_0    conda-forge
pyopenssl                 19.0.0                   py37_0    conda-forge
pyparsing                 2.4.0                      py_0    conda-forge
pyqt                      5.9.2            py37h655552a_2  
pyrsistent                0.14.11          py37h1de35cc_0    conda-forge
pysocks                   1.7.0                    py37_0    conda-forge
pytables                  3.5.2            py37h5bccee9_1  
pytest                    5.0.1                    py37_0    conda-forge
pytest-arraydiff          0.3              py37h39e3cac_0  
pytest-astropy            0.5.0                    py37_0  
pytest-doctestplus        0.3.0                    py37_0  
pytest-openfiles          0.3.2                    py37_0  
pytest-remotedata         0.3.1                    py37_0  
python                    3.7.3                h359304d_0  
python-crfsuite           0.9.6           py37h04f5b5a_1000    conda-forge
python-dateutil           2.8.0                    py37_0  
python-libarchive-c       2.8                     py37_11  
python.app                2                        py37_9  
pytz                      2019.1                     py_0    conda-forge
pywavelets                1.0.3            py37h1d22016_1  
pyyaml                    5.1.1            py37h1de35cc_0  
pyzmq                     18.0.0           py37h0a44026_0  
qt                        5.9.7                h468cd18_1  
qtawesome                 0.5.7                    py37_1  
qtconsole                 4.5.1                      py_0    conda-forge
qtpy                      1.8.0                      py_0    conda-forge
readline                  7.0                  h1de35cc_5  
requests                  2.22.0                   py37_0    conda-forge
requests-oauthlib         1.2.0                      py_0    conda-forge
ripgrep                   11.0.2                        0    conda-forge
rope                      0.14.0                     py_0    conda-forge
ruamel_yaml               0.15.46          py37h1de35cc_0  
s3transfer                0.2.1                    py37_0    conda-forge
scikit-image              0.15.0           py37h0a44026_0  
scikit-learn              0.21.2           py37h27c97d8_0  
scipy                     1.3.0            py37h1410ff5_0  
seaborn                   0.9.0                    py37_0  
send2trash                1.5.0                    py37_0  
setuptools                41.0.1                   py37_0    conda-forge
simplegeneric             0.8.1                    py37_2  
singledispatch            3.4.0.3                  py37_0  
sip                       4.19.8           py37h0a44026_0  
six                       1.12.0                   py37_0  
smart_open                1.8.4                      py_0    conda-forge
snappy                    1.1.7                he62c110_3  
snowballstemmer           1.9.0                      py_0    conda-forge
sortedcollections         1.1.2                    py37_0  
sortedcontainers          2.1.0                    py37_0  
soupsieve                 1.8                      py37_0    conda-forge
sphinx                    2.1.2                      py_0    conda-forge
sphinxcontrib             1.0                      py37_1  
sphinxcontrib-applehelp   1.0.1                      py_0    conda-forge
sphinxcontrib-devhelp     1.0.1                      py_0    conda-forge
sphinxcontrib-htmlhelp    1.0.2                      py_0    conda-forge
sphinxcontrib-jsmath      1.0.1                      py_0    conda-forge
sphinxcontrib-qthelp      1.0.2                      py_0    conda-forge
sphinxcontrib-serializinghtml 1.1.3                      py_0  
sphinxcontrib-websupport  1.1.2                      py_0    conda-forge
spyder                    3.3.6                    py37_0    conda-forge
spyder-kernels            0.5.1                    py37_0    conda-forge
sqlalchemy                1.3.5            py37h1de35cc_0  
sqlite                    3.29.0               ha441bb4_0  
statsmodels               0.10.0           py37h1d22016_0  
sympy                     1.4                      py37_0    conda-forge
tblib                     1.4.0                      py_0    conda-forge
terminado                 0.8.2                    py37_0    conda-forge
testpath                  0.4.2                    py37_0  
tk                        8.6.8                ha441bb4_0    conda-forge
toolz                     0.10.0                     py_0    conda-forge
tornado                   6.0.3            py37h1de35cc_0  
tqdm                      4.32.1                     py_0    conda-forge
traitlets                 4.3.2                    py37_0    conda-forge
twython                   3.7.0                      py_0    conda-forge
unicodecsv                0.14.1                   py37_0  
unixodbc                  2.3.7                h1de35cc_0  
urllib3                   1.24.2                   py37_0    conda-forge
wcwidth                   0.1.7                    py37_0  
webencodings              0.5.1                    py37_1  
werkzeug                  0.15.4                     py_0    conda-forge
wheel                     0.33.4                   py37_0    conda-forge
widgetsnbextension        3.5.0                    py37_0    conda-forge
wrapt                     1.11.2           py37h1de35cc_0  
wurlitzer                 1.0.2                    py37_0  
xlrd                      1.2.0                    py37_0  
xlsxwriter                1.1.8                      py_0    conda-forge
xlwings                   0.15.8                   py37_0    conda-forge
xlwt                      1.3.0                    py37_0  
xz                        5.2.4                h1de35cc_4  
yaml                      0.1.7                hc338f04_2  
zeromq                    4.3.1                h0a44026_3  
zict                      1.0.0                      py_0    conda-forge
zipp                      0.5.1                      py_0    conda-forge
zlib                      1.2.11               h1de35cc_3  
zstd                      1.3.7                h5bba6e5_0  

As far as I know, this is the default complete Anaconda3 installation on MacOS systems, plus update of all packages.

Hope this helps.

valeriupredoi commented 5 years ago

OK thanks much @ValerioLembo unfortunately I am not able to grab hold of a Sierra-operated Mac since it's pretty darn old but I'll try on a 10.14.5 Mojave machine, just waiting to get an account on it

valeriupredoi commented 5 years ago

OK here's how you can install correctly ESMValTool with esmvalcore even if there is no dedicated osx-64 or noarch package for it in esmvalgroup (and indeed trying to stock install esmvaltool just from the environment.yml file it don't work since the MacOS will tell conda to look in the noarch or osx-64 channels only):

- once in the base channel, grab ESMValCore git ball and create its sudo-environment with this file:

name: esmvaltool channels:

dependencies:

note that python and gcc are gonzo; create the env as usual: conda env create -n esmvaltool -f environment.yml; activate it; then install esmvalcore as usual by pip install -e '.[develop]'; check the installed package in the environment: conda list esmvalcore;

dependencies:

Python packages that cannot be installed from PyPI:

Voila. Not pretty, but it works.

valeriupredoi commented 5 years ago

dedicated issue #1253 -> closing this