Open ciaransweet opened 3 years ago
We're not explicitly installing cartopy
either, I'm unsure what is bring it in out of:
pangeo-forge-recipes==0.3.4
dask-cloudprovider[aws]==2021.3.1
prefect==0.14.19
click==7.1.2
pytest==6.2.4
regionmask==0.6.2
Cython==0.29.23
python-dateutil==2.7.5
fsspec==2021.05.0
I'd recommend trying to installing everything in a single conda install. Doing things in multiple stages with multiple package managers is always risky.
The easiest way is to probably change the Dockerfile to derive from pangeo/base-image, and include an environment.yaml, similar to https://github.com/pangeo-data/pangeo-docker-images/tree/563817400983720227d0d48b0c960cf0e4d7de01/pangeo-notebook. This will be a bit of duplication, but seems like the best way to get things working (unless we wanted to add these additional libraries to the pangeo-notebook image)
Yeah, the original thinking was build on top of pangeo-notebook
(which we are) as this contains pretty much everything we need.
Currently, we're specifying the bakery requirements we need within a
requirements.txt
file, then using:To uninstall old versions and install the versions we specify.
Doing this, we're getting an error installing
cartopy
:I've tried several ways of fixing this, I assume it's because of
gcc
orgxx
not being available or something. I've tried installing them via the OS and via Conda and still,cartopy
fails to build.@rabernat do you have any idea what I might be doing wrong? Or how I might go about fixing this?
Appreciate any insight you might have!