Skip to content

Latest LeafMap version that works with numpy 1.24.4? #1010

Answered by giswqs
nve-sak asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nve-sak
Comment options

Answer selected by giswqs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants