geoplotlib icon indicating copy to clipboard operation
geoplotlib copied to clipboard

error: metadata-generation-failed

Open vocaldrain opened this issue 2 years ago • 1 comments

Python Version = 3.10.8 Facing issue while trying to install geoplotlib using pip install geoplotlib Install LOG:

_Collecting geoplotlib Using cached geoplotlib-0.3.2.tar.gz (22 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1 lines of output] error in geoplotlib setup command: use_2to3 is invalid. [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output._

vocaldrain avatar Dec 20 '22 09:12 vocaldrain

Using older version of setuptools fixed it for me pip install setuptools==58

vocaldrain avatar Dec 20 '22 11:12 vocaldrain