-
Notifications
You must be signed in to change notification settings - Fork 15
Description
When installing pyaerocom in developing mode into an existing conda environment via
pip install --no-deps -e .the command line interface crashes, that is:
pya --ppiaccesscrashes as somewhere during the import of pyaerocom the "scitools-pyke>=1.1.1" is not given:
pkg_resources.DistributionNotFound: The 'scitools-pyke>=1.1.1' distribution was not found and is required by pyaerocomI think this is due to the fact that "scitools-pyke>=1.1.1" is listed in setup.py as requirement @avaldebe, which is actually not a direct requirement for pyaerocom but I believe for iris (and pip should install that via iris). We could add this in the conda env but I resist a little and think we should re-discuss the recommended installation pathways (I, personally do not like the setup.py to be too smart, trying to solve the dependencies - via pip - as well, particularly because this has such high potential to mess with conda environments if not invoked in the correct way, with pip and --no-deps).
@jgriesfeller also had some issues in his pycharm configuration because of that, I think.
For now I will make a PR that removes pyke from setup.py so that the CLI works again.
We should discuss this on Monday I think.