GPlates / pygplates-tutorials

Repository for ipython notebooks demonstrating functionality of pygplates
Other
58 stars 22 forks source link

[Bug] Docker build failures #4

Closed hlydecker closed 2 years ago

hlydecker commented 2 years ago

I'm trying to follow the suggested installation and am running into issues.

My system:

What I did:

After cloning the repository and navigating into the docker directory, I ran

docker build -t gplates/pygplates-tutorials .

My error: image

michaelchin commented 2 years ago

This is because cartopy requires Proj 8, but the version of Proj in Ubuntu 20.04 is 6.3.

  1. we have a old docker image on docker hub, you may try docker pull gplates/pygplates-tutorials and use the old image.
  2. you may try to modify this file https://github.com/GPlates/pygplates-tutorials/blob/master/docker/Dockerfile and use Ubuntu 22.04
hlydecker commented 2 years ago

Thanks for the quick response @michaelchin! I'll try out those options and update you with how it goes.

michaelchin commented 2 years ago

Thanks for the quick response @michaelchin! I'll try out those options and update you with how it goes.

if you try option 2, you also need to get the pygplates for Ubuntu 22.04 from https://www.earthbyte.org/download-pygplates-0-36/

hlydecker commented 2 years ago

Option 1 worked fine; weirdly I had tried that before but it was failing but when I tried it again it works and I can use all the notebooks. thanks for the help :)