How to install cartopy on Ubuntu
First, you need to install libproj
(which is a dependency of cartopy) using
sudo apt -y install libproj-dev libgeos-dev
After that, install cartopy using
sudo pip3 install cartopy
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow