-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
Updating cdsapi to from 0.7.5 to 0.7.7 causes a name clash between module ecmwf present in ICECAP and a package ecmwf contained in ecmwf-datastores-client which is installed alongside cdsapi==0.7.7.
Need to rename ecmwf.py, e.g. to ecmwf_data_retrievals.py.
What are the steps to reproduce the bug?
- conda install cdsapi==0.7.7
- change into icecap directory with the Python code
python3 -c "import cdsapi; cdsapi.Client()"
--> ModuleNotFoundError: No module named 'ecmwf.datastores'; 'ecmwf' is not a package - change into any other directory and execute
python3 -c "import cdsapi; cdsapi.Client()"
--> no error - conda remove ecmwf-datastores-client (will downgrade to cdsapi==0.7.5)
--> both (2) and (3) work
Version
future
Platform (OS and architecture)
any
Relevant log output
Accompanying data
No response
Organisation
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working