Cartopy-Pip-Installationsfehler 'Proj 4.9.0 must be installed.' beheben
English
Deutsch
Problem:
Beim Versuch, cartopy z.B. mit pip install -U cartopy zu installieren, erscheint diese Fehlermeldung:
cartopy_proj_error.txt
Collecting cartopy
Downloading Cartopy-0.19.0.post1.tar.gz (12.1 MB)
|████████████████████████████████| 12.1 MB 13.2 MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /tmp/tmp2q7tvpo8 get_requires_for_build_wheel /tmp/tmpfwd5htse
cwd: /tmp/pip-install-dg2i313t/cartopy
Complete output (1 lines):
Proj 4.9.0 must be installed.
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 /tmp/tmp2q7tvpo8 get_requires_for_build_wheel /tmp/tmpfwd5htse Check the logs for full command output.Lösung
proj installieren mit z.B.
install_proj.sh
sudo apt -y install libproj-devund dann cartopy erneut installieren mit z.B.
install_cartopy.sh
pip install -U cartopyCheck out similar posts by category:
Cartopy, Geoinformatics, Python
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow