Closed agcclimate closed 1 month ago
Could you specify the full python version? Is it >=3.11.9 ?
This is very probably the same problem as in #943, and related to https://github.com/dask/dask/issues/11038
The current best course of action would be to downgrade python to < 3.11.9, assuming you are on >= 3.11.9.
Please confirm this solves your problem and close the issue if that is the case.
I have the same issue. I downgraded Python to 3.11.8, but the problem persists.
Ok, I will try to reproduce and see what works on my side, in the meantime:
Did you a) use a fresh python 3.11.8 environment or b) update an already existing one?
If b) could you try a)? And if a) could you try with python 3.10?
Could you also tell me whether you use conda
or mamba
and which version you use? As well as your operating system?
Ok so, running the following installs python 3.11.6 (Trying with 3.11.8 fails to solve dependencies with gdal) and works on my side (Ubuntu 22.04 - mamba 1.5.5 - conda 23.11.0)
mamba create -n climada_env -c conda-forge "python<3.11.9" climada
mamba activate climada_env
python -m unittest climada.engine.test.test_impact
Great! It works. Many thanks
It also works on my end. I uninstalled python without noticing the version but I assume it had to do with it. Many thanks!
Describe the bug I followed the simple installation instructions for Windows using miniforge prompt. After activating the cliamda environment, the unittest fails, showing the following error: TypeError: descriptor 'call' for 'type' objects doesn't apply to a 'property' object
To Reproduce Steps to reproduce the behavior/error:
Code example:
Expected behavior The test should pass and display an "Ok!"
Screenshots
Climada Version: 5.0.0
System Information (please complete the following information):
Additional context Add any other context about the problem here.