-
Hello, I am moving a project from development on Windows to deployment under a somwhat old Ubuntu, and running trough a lot of required downgrades. As I am through the list, there remains a conflict in LeafMap 0.37.6 requiring numpy >= 1.25.0, but the latest available numpy is 1.24.4. How far do I have to downgrade LeafMap? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Leafmap does not pin numpy version. The problem is that numpy>1.24.4 depends on distutils, which was removed from the standard library in Python 3.12. Therefore, you won't able to able to build numpy if distutils does not exist in your env. You can use uv to install Python 3.11 and leafmap. uv venv --python 3.11
uv pip install leafmap numpy==1.24.4 |
Beta Was this translation helpful? Give feedback.
Leafmap does not pin numpy version. The problem is that numpy>1.24.4 depends on distutils, which was removed from the standard library in Python 3.12. Therefore, you won't able to able to build numpy if distutils does not exist in your env.
You can use uv to install Python 3.11 and leafmap.