pangeo-forge / pangeo-forge-bakery-images

Infrastructure and Image definitions for pangeo-forge bakeries
Apache License 2.0
0 stars 0 forks source link

Issue installing Cartopy in `pangeonotebook-2021.05.15_prefect-0.14.19_pangeoforgerecipes-0.3.4` #2

Open ciaransweet opened 3 years ago

ciaransweet commented 3 years ago

Currently, we're specifying the bakery requirements we need within a requirements.txt file, then using:

RUN conda run -n notebook pip uninstall -y -r requirements.txt

RUN conda run -n notebook pip install -I -r requirements.txt

To uninstall old versions and install the versions we specify.

Doing this, we're getting an error installing cartopy:

Failed to build cartopy
  ERROR: Command errored out with exit status 1:
   command: /srv/conda/envs/notebook/bin/python3.8 /srv/conda/envs/notebook/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmprkfrwq18
       cwd: /tmp/pip-install-ynlp0gae/cartopy_d5c1b54b7b664d4ea2da2c5da1f97599
  Complete output (232 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.8
  creating build/lib.linux-x86_64-3.8/cartopy
  copying lib/cartopy/_epsg.py -> build/lib.linux-x86_64-3.8/cartopy
  copying lib/cartopy/_version.py -> build/lib.linux-x86_64-3.8/cartopy
  copying lib/cartopy/crs.py -> build/lib.linux-x86_64-3.8/cartopy
  copying lib/cartopy/img_transform.py -> build/lib.linux-x86_64-3.8/cartopy
  copying lib/cartopy/__init__.py -> build/lib.linux-x86_64-3.8/cartopy
  copying lib/cartopy/util.py -> build/lib.linux-x86_64-3.8/cartopy
  copying lib/cartopy/vector_transform.py -> build/lib.linux-x86_64-3.8/cartopy
  creating build/lib.linux-x86_64-3.8/cartopy/tests
  copying lib/cartopy/tests/test_util.py -> build/lib.linux-x86_64-3.8/cartopy/tests
  copying lib/cartopy/tests/test_linear_ring.py -> build/lib.linux-x86_64-3.8/cartopy/tests
  copying lib/cartopy/tests/test_img_nest.py -> build/lib.linux-x86_64-3.8/cartopy/tests
  copying lib/cartopy/tests/test_shapereader.py -> build/lib.linux-x86_64-3.8/cartopy/tests
  copying lib/cartopy/tests/conftest.py -> build/lib.linux-x86_64-3.8/cartopy/tests
  copying lib/cartopy/tests/test_crs.py -> build/lib.linux-x86_64-3.8/cartopy/tests
  copying lib/cartopy/tests/test_geodesic.py -> build/lib.linux-x86_64-3.8/cartopy/tests
  copying lib/cartopy/tests/test_img_tiles.py -> build/lib.linux-x86_64-3.8/cartopy/tests
  copying lib/cartopy/tests/test_features.py -> build/lib.linux-x86_64-3.8/cartopy/tests
  copying lib/cartopy/tests/test_line_string.py -> build/lib.linux-x86_64-3.8/cartopy/tests
  copying lib/cartopy/tests/test_polygon.py -> build/lib.linux-x86_64-3.8/cartopy/tests
  copying lib/cartopy/tests/test_crs_transform_vectors.py -> build/lib.linux-x86_64-3.8/cartopy/tests
  copying lib/cartopy/tests/test_coding_standards.py -> build/lib.linux-x86_64-3.8/cartopy/tests
  copying lib/cartopy/tests/test_vector_transform.py -> build/lib.linux-x86_64-3.8/cartopy/tests
  copying lib/cartopy/tests/test_coastline.py -> build/lib.linux-x86_64-3.8/cartopy/tests
  copying lib/cartopy/tests/test_img_transform.py -> build/lib.linux-x86_64-3.8/cartopy/tests
  copying lib/cartopy/tests/__init__.py -> build/lib.linux-x86_64-3.8/cartopy/tests
  creating build/lib.linux-x86_64-3.8/cartopy/geodesic
  copying lib/cartopy/geodesic/__init__.py -> build/lib.linux-x86_64-3.8/cartopy/geodesic
  creating build/lib.linux-x86_64-3.8/cartopy/feature
  copying lib/cartopy/feature/nightshade.py -> build/lib.linux-x86_64-3.8/cartopy/feature
  copying lib/cartopy/feature/__init__.py -> build/lib.linux-x86_64-3.8/cartopy/feature
  creating build/lib.linux-x86_64-3.8/cartopy/sphinxext
  copying lib/cartopy/sphinxext/summarise_package.py -> build/lib.linux-x86_64-3.8/cartopy/sphinxext
  copying lib/cartopy/sphinxext/__init__.py -> build/lib.linux-x86_64-3.8/cartopy/sphinxext
  creating build/lib.linux-x86_64-3.8/cartopy/io
  copying lib/cartopy/io/ogc_clients.py -> build/lib.linux-x86_64-3.8/cartopy/io
  copying lib/cartopy/io/img_tiles.py -> build/lib.linux-x86_64-3.8/cartopy/io
  copying lib/cartopy/io/img_nest.py -> build/lib.linux-x86_64-3.8/cartopy/io
  copying lib/cartopy/io/shapereader.py -> build/lib.linux-x86_64-3.8/cartopy/io
  copying lib/cartopy/io/srtm.py -> build/lib.linux-x86_64-3.8/cartopy/io
  copying lib/cartopy/io/__init__.py -> build/lib.linux-x86_64-3.8/cartopy/io
  creating build/lib.linux-x86_64-3.8/cartopy/mpl
  copying lib/cartopy/mpl/clip_path.py -> build/lib.linux-x86_64-3.8/cartopy/mpl
  copying lib/cartopy/mpl/slippy_image_artist.py -> build/lib.linux-x86_64-3.8/cartopy/mpl
  copying lib/cartopy/mpl/gridliner.py -> build/lib.linux-x86_64-3.8/cartopy/mpl
  copying lib/cartopy/mpl/feature_artist.py -> build/lib.linux-x86_64-3.8/cartopy/mpl
  copying lib/cartopy/mpl/geoaxes.py -> build/lib.linux-x86_64-3.8/cartopy/mpl
  copying lib/cartopy/mpl/ticker.py -> build/lib.linux-x86_64-3.8/cartopy/mpl
  copying lib/cartopy/mpl/style.py -> build/lib.linux-x86_64-3.8/cartopy/mpl
  copying lib/cartopy/mpl/patch.py -> build/lib.linux-x86_64-3.8/cartopy/mpl
  copying lib/cartopy/mpl/geocollection.py -> build/lib.linux-x86_64-3.8/cartopy/mpl
  copying lib/cartopy/mpl/contour.py -> build/lib.linux-x86_64-3.8/cartopy/mpl
  copying lib/cartopy/mpl/__init__.py -> build/lib.linux-x86_64-3.8/cartopy/mpl
  creating build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_rotated_pole.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_robinson.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_azimuthal_equidistant.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_lambert_azimuthal_equal_area.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_stereographic.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_gnomonic.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_equal_earth.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_eckert.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_utm.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/helpers.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_rotated_geodetic.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_albers_equal_area.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_mercator.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_equidistant_conic.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_lambert_conformal.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_geostationary.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_orthographic.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_interrupted_goode_homolosine.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_miller.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_transverse_mercator.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_sinusoidal.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/__init__.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_nearside_perspective.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_mollweide.py -> build/lib.linux-x86_64-3.8/cartopy/tests/crs
  creating build/lib.linux-x86_64-3.8/cartopy/tests/feature
  copying lib/cartopy/tests/feature/__init__.py -> build/lib.linux-x86_64-3.8/cartopy/tests/feature
  copying lib/cartopy/tests/feature/test_nightshade.py -> build/lib.linux-x86_64-3.8/cartopy/tests/feature
  creating build/lib.linux-x86_64-3.8/cartopy/tests/io
  copying lib/cartopy/tests/io/test_ogc_clients.py -> build/lib.linux-x86_64-3.8/cartopy/tests/io
  copying lib/cartopy/tests/io/test_downloaders.py -> build/lib.linux-x86_64-3.8/cartopy/tests/io
  copying lib/cartopy/tests/io/test_srtm.py -> build/lib.linux-x86_64-3.8/cartopy/tests/io
  copying lib/cartopy/tests/io/__init__.py -> build/lib.linux-x86_64-3.8/cartopy/tests/io
  creating build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_ticker.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_axes.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_examples.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_caching.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_patch.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_set_extent.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/conftest.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_ticks.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_quiver.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_crs.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_pseudo_color.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_features.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_mpl_integration.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_gridliner.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_contour.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_plots.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_feature_artist.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_web_services.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_images.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_shapely_to_mpl.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_img_transform.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/__init__.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_style.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_nightshade.py -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl
  creating build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images
  creating build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl
  creating build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_gridliner
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_gridliner/gridliner_labels.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_gridliner
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_gridliner/gridliner_labels_inline.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_gridliner
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_gridliner/gridliner_labels_tight.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_gridliner
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_gridliner/gridliner1.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_gridliner
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_gridliner/gridliner_labels_inline_usa.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_gridliner
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_gridliner/gridliner_labels_bbox_style.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_gridliner
  creating build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_nightshade
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_nightshade/nightshade_platecarree.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_nightshade
  creating build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_img_tiles2
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_img_tiles2/web_tiles.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_img_tiles2
  creating build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_ticks
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_ticks/xticks_cylindrical.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_ticks
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_ticks/xyticks.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_ticks
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_ticks/yticks_no_transform.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_ticks
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_ticks/xticks_no_transform.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_ticks
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_ticks/yticks_cylindrical.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_ticks
  creating build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_web_services
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_web_services/wms.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_web_services
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_web_services/wmts.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_web_services
  creating build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_axes
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_axes/geoaxes_subslice.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_axes
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_axes/geoaxes_set_boundary_clipping.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_axes
  creating build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_images
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_images/image_nest.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_images
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_images/imshow_natural_earth_ortho.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_images
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_images/image_merge.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_images
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_images/web_tiles.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_images
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_images/imshow_regional_projected.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_images
  creating build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_shapely_to_mpl
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_shapely_to_mpl/contour_with_interiors.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_shapely_to_mpl
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_shapely_to_mpl/poly_interiors.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_shapely_to_mpl
  creating build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/global_contour_wrap_mpl_pre_3.0.0.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/pcolormesh_single_column_wrap.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/global_pcolor_wrap.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/barbs_regrid_with_extent.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/global_contourf_wrap.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/barbs_plate_carree.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/streamplot_mpl_3.0.0.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/quiver_regrid.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/global_scatter_wrap.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/streamplot_mpl_2.2.2.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/natural_earth_interface.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/global_contour_wrap.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/global_map.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/global_hexbin_wrap.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/pcolormesh_global_wrap1.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/pcolormesh_global_wrap2.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/multiple_projections5.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/barbs_1d.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/streamplot_mpl_3.2.0.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/barbs_1d_transformed.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/pcolormesh_global_wrap3.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/simple_global.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/pcolormesh_mercator_wrap.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/quiver_regrid_with_extent.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/pcolormesh_limited_area_wrap.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/quiver_plate_carree.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/multiple_projections520.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/pcolormesh_goode_wrap.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/quiver_rotated_pole.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/barbs_regrid.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/multiple_projections4.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  creating build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_img_transform
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_img_transform/regrid_image.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_img_transform
  creating build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_features
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_features/gshhs_coastlines.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_features
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_features/wfs.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_features
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_features/natural_earth_custom.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_features
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_features/natural_earth.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_features
  creating build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_crs
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_crs/mercator_squashed.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_crs
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_crs/lambert_conformal_south.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_crs
  creating build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_examples
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_examples/contour_label_3.4.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_examples
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_examples/contour_label.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_examples
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_examples/global_map.png -> build/lib.linux-x86_64-3.8/cartopy/tests/mpl/baseline_images/mpl/test_examples
  creating build/lib.linux-x86_64-3.8/cartopy/data
  creating build/lib.linux-x86_64-3.8/cartopy/data/raster
  creating build/lib.linux-x86_64-3.8/cartopy/data/raster/natural_earth
  copying lib/cartopy/data/raster/natural_earth/images.json -> build/lib.linux-x86_64-3.8/cartopy/data/raster/natural_earth
  copying lib/cartopy/data/raster/natural_earth/50-natural-earth-1-downsampled.png -> build/lib.linux-x86_64-3.8/cartopy/data/raster/natural_earth
  creating build/lib.linux-x86_64-3.8/cartopy/data/raster/sample
  copying lib/cartopy/data/raster/sample/Miriam.A2012270.2050.2km.README.txt -> build/lib.linux-x86_64-3.8/cartopy/data/raster/sample
  copying lib/cartopy/data/raster/sample/Miriam.A2012270.2050.2km.jpg -> build/lib.linux-x86_64-3.8/cartopy/data/raster/sample
  creating build/lib.linux-x86_64-3.8/cartopy/data/netcdf
  copying lib/cartopy/data/netcdf/HadISST1_SST_update.nc -> build/lib.linux-x86_64-3.8/cartopy/data/netcdf
  copying lib/cartopy/data/netcdf/HadISST1_SST_update.README.txt -> build/lib.linux-x86_64-3.8/cartopy/data/netcdf
  creating build/lib.linux-x86_64-3.8/cartopy/data/shapefiles
  creating build/lib.linux-x86_64-3.8/cartopy/data/shapefiles/gshhs
  copying lib/cartopy/data/shapefiles/gshhs/README.TXT -> build/lib.linux-x86_64-3.8/cartopy/data/shapefiles/gshhs
  creating build/lib.linux-x86_64-3.8/cartopy/data/shapefiles/gshhs/c
  copying lib/cartopy/data/shapefiles/gshhs/c/GSHHS_c_L1.dbf -> build/lib.linux-x86_64-3.8/cartopy/data/shapefiles/gshhs/c
  copying lib/cartopy/data/shapefiles/gshhs/c/GSHHS_c_L1.shx -> build/lib.linux-x86_64-3.8/cartopy/data/shapefiles/gshhs/c
  copying lib/cartopy/data/shapefiles/gshhs/c/GSHHS_c_L1.shp -> build/lib.linux-x86_64-3.8/cartopy/data/shapefiles/gshhs/c
  creating build/lib.linux-x86_64-3.8/cartopy/data/shapefiles/gshhs/l
  copying lib/cartopy/data/shapefiles/gshhs/l/GSHHS_l_L2.dbf -> build/lib.linux-x86_64-3.8/cartopy/data/shapefiles/gshhs/l
  copying lib/cartopy/data/shapefiles/gshhs/l/GSHHS_l_L2.shx -> build/lib.linux-x86_64-3.8/cartopy/data/shapefiles/gshhs/l
  copying lib/cartopy/data/shapefiles/gshhs/l/GSHHS_l_L2.shp -> build/lib.linux-x86_64-3.8/cartopy/data/shapefiles/gshhs/l
  creating build/lib.linux-x86_64-3.8/cartopy/tests/lakes_shapefile
  copying lib/cartopy/tests/lakes_shapefile/ne_110m_lakes.shx -> build/lib.linux-x86_64-3.8/cartopy/tests/lakes_shapefile
  copying lib/cartopy/tests/lakes_shapefile/ne_110m_lakes.dbf -> build/lib.linux-x86_64-3.8/cartopy/tests/lakes_shapefile
  copying lib/cartopy/tests/lakes_shapefile/ne_110m_lakes.shp -> build/lib.linux-x86_64-3.8/cartopy/tests/lakes_shapefile
  copying lib/cartopy/io/srtm.npz -> build/lib.linux-x86_64-3.8/cartopy/io
  running build_ext
  building 'cartopy.trace' extension
  creating build/temp.linux-x86_64-3.8
  creating build/temp.linux-x86_64-3.8/lib
  creating build/temp.linux-x86_64-3.8/lib/cartopy
  /srv/conda/envs/notebook/bin/x86_64-conda-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -Wstrict-prototypes -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /srv/conda/envs/notebook/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /srv/conda/envs/notebook/include -fPIC -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 -I/srv/conda/envs/notebook/include -I./lib/cartopy -I/tmp/pip-build-env-ulcryyo7/overlay/lib/python3.8/site-packages/numpy/core/include -I/srv/conda/envs/notebook/include -I/srv/conda/envs/notebook/include/python3.8 -c lib/cartopy/trace.cpp -o build/temp.linux-x86_64-3.8/lib/cartopy/trace.o
  x86_64-conda-linux-gnu-cc: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
  compilation terminated.
  error: command '/srv/conda/envs/notebook/bin/x86_64-conda-linux-gnu-cc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for cartopy
ERROR: Could not build wheels for cartopy which use PEP 517 and cannot be installed directly

I've tried several ways of fixing this, I assume it's because of gcc or gxx 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!

ciaransweet commented 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
TomAugspurger commented 3 years ago

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)

ciaransweet commented 3 years ago

Yeah, the original thinking was build on top of pangeo-notebook (which we are) as this contains pretty much everything we need.