cartopy: Unable to install cartopy with pip3

Description

I am trying to install cartopy with python 3.5.2 in a virtualenv (on Ubuntu 16.04.5) with the following command:

pip3 install cartopy

The pip3 is used from the virtualenv correctly. pip freeze:

numpy==1.15.4
pyshp==2.0.1
Shapely==1.6.4.post2
six==1.11.0

I get the following error (warning! entire output!):

Collecting cartopy
  Using cached https://files.pythonhosted.org/packages/e5/92/fe8838fa8158931906dfc4f16c5c1436b3dd2daf83592645b179581403ad/Cartopy-0.17.0.tar.gz
  Installing build dependencies ... done
Collecting numpy>=1.10 (from cartopy)
  Using cached https://files.pythonhosted.org/packages/86/04/bd774106ae0ae1ada68c67efe89f1a16b2aa373cc2db15d974002a9f136d/numpy-1.15.4-cp35-cp35m-manylinux1_x86_64.whl
Collecting shapely>=1.5.6 (from cartopy)
  Using cached https://files.pythonhosted.org/packages/a2/6c/966fa320a88fc685c956af08135855fa84a1589631256abebf73721c26ed/Shapely-1.6.4.post2-cp35-cp35m-manylinux1_x86_64.whl
Collecting pyshp>=1.1.4 (from cartopy)
Collecting six>=1.3.0 (from cartopy)
  Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools>=0.7.2 in ./venv/lib/python3.5/site-packages (from cartopy) (40.6.2)
Building wheels for collected packages: cartopy
  Running setup.py bdist_wheel for cartopy ... error
  Complete output from command /home/adietz/temp/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-z_jd_o36/cartopy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-1mhvgilw --python-tag cp35:
  /tmp/pip-install-z_jd_o36/cartopy/setup.py:171: UserWarning: Unable to determine GEOS version. Ensure you have 3.3.3 or later installed, or installation may fail.
    '.'.join(str(v) for v in GEOS_MIN_VERSION), ))
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.5
  creating build/lib.linux-x86_64-3.5/cartopy
  copying lib/cartopy/img_transform.py -> build/lib.linux-x86_64-3.5/cartopy
  copying lib/cartopy/__init__.py -> build/lib.linux-x86_64-3.5/cartopy
  copying lib/cartopy/util.py -> build/lib.linux-x86_64-3.5/cartopy
  copying lib/cartopy/vector_transform.py -> build/lib.linux-x86_64-3.5/cartopy
  copying lib/cartopy/crs.py -> build/lib.linux-x86_64-3.5/cartopy
  copying lib/cartopy/_epsg.py -> build/lib.linux-x86_64-3.5/cartopy
  copying lib/cartopy/_version.py -> build/lib.linux-x86_64-3.5/cartopy
  creating build/lib.linux-x86_64-3.5/cartopy/geodesic
  copying lib/cartopy/geodesic/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/geodesic
  creating build/lib.linux-x86_64-3.5/cartopy/feature
  copying lib/cartopy/feature/nightshade.py -> build/lib.linux-x86_64-3.5/cartopy/feature
  copying lib/cartopy/feature/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/feature
  creating build/lib.linux-x86_64-3.5/cartopy/tests
  copying lib/cartopy/tests/test_shapereader.py -> build/lib.linux-x86_64-3.5/cartopy/tests
  copying lib/cartopy/tests/test_linear_ring.py -> build/lib.linux-x86_64-3.5/cartopy/tests
  copying lib/cartopy/tests/test_crs.py -> build/lib.linux-x86_64-3.5/cartopy/tests
  copying lib/cartopy/tests/test_polygon.py -> build/lib.linux-x86_64-3.5/cartopy/tests
  copying lib/cartopy/tests/test_vector_transform.py -> build/lib.linux-x86_64-3.5/cartopy/tests
  copying lib/cartopy/tests/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/tests
  copying lib/cartopy/tests/test_geodesic.py -> build/lib.linux-x86_64-3.5/cartopy/tests
  copying lib/cartopy/tests/test_features.py -> build/lib.linux-x86_64-3.5/cartopy/tests
  copying lib/cartopy/tests/test_coastline.py -> build/lib.linux-x86_64-3.5/cartopy/tests
  copying lib/cartopy/tests/test_util.py -> build/lib.linux-x86_64-3.5/cartopy/tests
  copying lib/cartopy/tests/test_img_transform.py -> build/lib.linux-x86_64-3.5/cartopy/tests
  copying lib/cartopy/tests/test_img_tiles.py -> build/lib.linux-x86_64-3.5/cartopy/tests
  copying lib/cartopy/tests/test_img_nest.py -> build/lib.linux-x86_64-3.5/cartopy/tests
  copying lib/cartopy/tests/test_line_string.py -> build/lib.linux-x86_64-3.5/cartopy/tests
  copying lib/cartopy/tests/test_crs_transform_vectors.py -> build/lib.linux-x86_64-3.5/cartopy/tests
  copying lib/cartopy/tests/test_coding_standards.py -> build/lib.linux-x86_64-3.5/cartopy/tests
  creating build/lib.linux-x86_64-3.5/cartopy/mpl
  copying lib/cartopy/mpl/gridliner.py -> build/lib.linux-x86_64-3.5/cartopy/mpl
  copying lib/cartopy/mpl/geoaxes.py -> build/lib.linux-x86_64-3.5/cartopy/mpl
  copying lib/cartopy/mpl/slippy_image_artist.py -> build/lib.linux-x86_64-3.5/cartopy/mpl
  copying lib/cartopy/mpl/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/mpl
  copying lib/cartopy/mpl/ticker.py -> build/lib.linux-x86_64-3.5/cartopy/mpl
  copying lib/cartopy/mpl/feature_artist.py -> build/lib.linux-x86_64-3.5/cartopy/mpl
  copying lib/cartopy/mpl/patch.py -> build/lib.linux-x86_64-3.5/cartopy/mpl
  copying lib/cartopy/mpl/clip_path.py -> build/lib.linux-x86_64-3.5/cartopy/mpl
  creating build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/rotated_pole.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/geostationary.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/un_flag.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/eccentric_ellipse.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/global_map.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/tick_labels.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/wms.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/favicon.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/nightshade.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/arrows.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/tissot.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/axes_grid_basic.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/star_shaped_boundary.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/feature_creation.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/always_circular_stereo.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/streamplot.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/wmts_time.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/logo.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/aurora_forecast.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/barbs.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/reprojected_wmts.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/wmts.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/eyja_volcano.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/effects_of_the_ellipse.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/regridding_arrows.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/utm_all_zones.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/tube_stations.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/features.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/hurricane_katrina.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/waves.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  copying lib/cartopy/examples/image_tiles.py -> build/lib.linux-x86_64-3.5/cartopy/examples
  creating build/lib.linux-x86_64-3.5/cartopy/io
  copying lib/cartopy/io/img_tiles.py -> build/lib.linux-x86_64-3.5/cartopy/io
  copying lib/cartopy/io/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/io
  copying lib/cartopy/io/ogc_clients.py -> build/lib.linux-x86_64-3.5/cartopy/io
  copying lib/cartopy/io/srtm.py -> build/lib.linux-x86_64-3.5/cartopy/io
  copying lib/cartopy/io/img_nest.py -> build/lib.linux-x86_64-3.5/cartopy/io
  copying lib/cartopy/io/shapereader.py -> build/lib.linux-x86_64-3.5/cartopy/io
  creating build/lib.linux-x86_64-3.5/cartopy/sphinxext
  copying lib/cartopy/sphinxext/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/sphinxext
  copying lib/cartopy/sphinxext/summarise_package.py -> build/lib.linux-x86_64-3.5/cartopy/sphinxext
  creating build/lib.linux-x86_64-3.5/cartopy/tests/feature
  copying lib/cartopy/tests/feature/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/tests/feature
  copying lib/cartopy/tests/feature/test_nightshade.py -> build/lib.linux-x86_64-3.5/cartopy/tests/feature
  creating build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_images.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_patch.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_crs.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_pseudo_color.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_set_extent.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_quiver.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_plots.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_axes.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_features.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_contour.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_examples.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_ticker.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_caching.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_shapely_to_mpl.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_img_transform.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_ticks.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_gridliner.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_mpl_integration.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_web_services.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_nightshade.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  copying lib/cartopy/tests/mpl/test_feature_artist.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
  creating build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_equal_earth.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_eckert.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_geostationary.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_sinusoidal.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_rotated_geodetic.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_mollweide.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_albers_equal_area.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_robinson.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_nearside_perspective.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_interrupted_goode_homolosine.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_stereographic.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_lambert_azimuthal_equal_area.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_lambert_conformal.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_rotated_pole.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_utm.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_gnomonic.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_orthographic.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_miller.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_transverse_mercator.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_azimuthal_equidistant.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_equidistant_conic.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  copying lib/cartopy/tests/crs/test_mercator.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
  creating build/lib.linux-x86_64-3.5/cartopy/tests/io
  copying lib/cartopy/tests/io/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/tests/io
  copying lib/cartopy/tests/io/test_downloaders.py -> build/lib.linux-x86_64-3.5/cartopy/tests/io
  copying lib/cartopy/tests/io/test_ogc_clients.py -> build/lib.linux-x86_64-3.5/cartopy/tests/io
  copying lib/cartopy/tests/io/test_srtm.py -> build/lib.linux-x86_64-3.5/cartopy/tests/io
  creating build/lib.linux-x86_64-3.5/cartopy/tests/mpl/baseline_images
  creating build/lib.linux-x86_64-3.5/cartopy/tests/mpl/baseline_images/mpl
  creating build/lib.linux-x86_64-3.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_gridliner
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_gridliner/gridliner_labels_1.5.png -> build/lib.linux-x86_64-3.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_gridliner
  creating build/lib.linux-x86_64-3.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_examples
  creating build/lib.linux-x86_64-3.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_img_tiles2
  creating build/lib.linux-x86_64-3.5/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.5/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.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_features
  creating build/lib.linux-x86_64-3.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_crs
  creating build/lib.linux-x86_64-3.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_nightshade
  creating build/lib.linux-x86_64-3.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_web_services
  creating build/lib.linux-x86_64-3.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_img_transform
  creating build/lib.linux-x86_64-3.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_shapely_to_mpl
  creating build/lib.linux-x86_64-3.5/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.5/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.5/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.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_ticks
  creating build/lib.linux-x86_64-3.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/streamplot_mpl_2.0.0.png -> build/lib.linux-x86_64-3.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/streamplot_mpl_1.4.3.png -> build/lib.linux-x86_64-3.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/streamplot_mpl_2.1.0.png -> build/lib.linux-x86_64-3.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
  creating build/lib.linux-x86_64-3.5/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.5/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.5/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.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_images
  creating build/lib.linux-x86_64-3.5/cartopy/data
  creating build/lib.linux-x86_64-3.5/cartopy/data/raster
  creating build/lib.linux-x86_64-3.5/cartopy/data/raster/natural_earth
  copying lib/cartopy/data/raster/natural_earth/50-natural-earth-1-downsampled.png -> build/lib.linux-x86_64-3.5/cartopy/data/raster/natural_earth
  copying lib/cartopy/data/raster/natural_earth/images.json -> build/lib.linux-x86_64-3.5/cartopy/data/raster/natural_earth
  creating build/lib.linux-x86_64-3.5/cartopy/data/raster/sample
  copying lib/cartopy/data/raster/sample/Miriam.A2012270.2050.2km.jpg -> build/lib.linux-x86_64-3.5/cartopy/data/raster/sample
  copying lib/cartopy/data/raster/sample/Miriam.A2012270.2050.2km.README.txt -> build/lib.linux-x86_64-3.5/cartopy/data/raster/sample
  creating build/lib.linux-x86_64-3.5/cartopy/data/netcdf
  copying lib/cartopy/data/netcdf/HadISST1_SST_update.nc -> build/lib.linux-x86_64-3.5/cartopy/data/netcdf
  copying lib/cartopy/data/netcdf/HadISST1_SST_update.README.txt -> build/lib.linux-x86_64-3.5/cartopy/data/netcdf
  creating build/lib.linux-x86_64-3.5/cartopy/data/shapefiles
  creating build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs
  copying lib/cartopy/data/shapefiles/gshhs/README.TXT -> build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs
  creating build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs/c
  copying lib/cartopy/data/shapefiles/gshhs/c/GSHHS_c_L1.shp -> build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs/c
  copying lib/cartopy/data/shapefiles/gshhs/c/GSHHS_c_L1.shx -> build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs/c
  copying lib/cartopy/data/shapefiles/gshhs/c/GSHHS_c_L1.dbf -> build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs/c
  creating build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs/l
  copying lib/cartopy/data/shapefiles/gshhs/l/GSHHS_l_L2.shp -> build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs/l
  copying lib/cartopy/data/shapefiles/gshhs/l/GSHHS_l_L2.dbf -> build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs/l
  copying lib/cartopy/data/shapefiles/gshhs/l/GSHHS_l_L2.shx -> build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs/l
  creating build/lib.linux-x86_64-3.5/cartopy/tests/lakes_shapefile
  copying lib/cartopy/tests/lakes_shapefile/ne_110m_lakes.shx -> build/lib.linux-x86_64-3.5/cartopy/tests/lakes_shapefile
  copying lib/cartopy/tests/lakes_shapefile/ne_110m_lakes.shp -> build/lib.linux-x86_64-3.5/cartopy/tests/lakes_shapefile
  copying lib/cartopy/tests/lakes_shapefile/ne_110m_lakes.dbf -> build/lib.linux-x86_64-3.5/cartopy/tests/lakes_shapefile
  copying lib/cartopy/io/srtm.npz -> build/lib.linux-x86_64-3.5/cartopy/io
  UPDATING build/lib.linux-x86_64-3.5/cartopy/_version.py
  set build/lib.linux-x86_64-3.5/cartopy/_version.py to '0.17.0'
  running build_ext
  cythoning lib/cartopy/trace.pyx to lib/cartopy/trace.cpp
  /tmp/pip-build-env-d0p2xpam/lib/python3.5/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-z_jd_o36/cartopy/lib/cartopy/trace.pyx
    tree = Parsing.p_module(s, pxd, full_module_name)
  building 'cartopy.trace' extension
  creating build/temp.linux-x86_64-3.5
  creating build/temp.linux-x86_64-3.5/lib
  creating build/temp.linux-x86_64-3.5/lib/cartopy
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I./lib/cartopy -I/usr/include/python3.5m -I/home/adietz/temp/venv/include/python3.5m -c lib/cartopy/trace.cpp -o build/temp.linux-x86_64-3.5/lib/cartopy/trace.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  lib/cartopy/trace.cpp:626:20: fatal error: geos_c.h: No such file or directory
  compilation terminated.
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  
  ----------------------------------------
  Failed building wheel for cartopy
  Running setup.py clean for cartopy
Failed to build cartopy
Installing collected packages: numpy, shapely, pyshp, six, cartopy
  Running setup.py install for cartopy ... error
    Complete output from command /home/adietz/temp/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-z_jd_o36/cartopy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-b5abaja6/install-record.txt --single-version-externally-managed --compile --install-headers /home/adietz/temp/venv/include/site/python3.5/cartopy:
    /tmp/pip-install-z_jd_o36/cartopy/setup.py:171: UserWarning: Unable to determine GEOS version. Ensure you have 3.3.3 or later installed, or installation may fail.
      '.'.join(str(v) for v in GEOS_MIN_VERSION), ))
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.5
    creating build/lib.linux-x86_64-3.5/cartopy
    copying lib/cartopy/img_transform.py -> build/lib.linux-x86_64-3.5/cartopy
    copying lib/cartopy/__init__.py -> build/lib.linux-x86_64-3.5/cartopy
    copying lib/cartopy/util.py -> build/lib.linux-x86_64-3.5/cartopy
    copying lib/cartopy/vector_transform.py -> build/lib.linux-x86_64-3.5/cartopy
    copying lib/cartopy/crs.py -> build/lib.linux-x86_64-3.5/cartopy
    copying lib/cartopy/_epsg.py -> build/lib.linux-x86_64-3.5/cartopy
    copying lib/cartopy/_version.py -> build/lib.linux-x86_64-3.5/cartopy
    creating build/lib.linux-x86_64-3.5/cartopy/geodesic
    copying lib/cartopy/geodesic/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/geodesic
    creating build/lib.linux-x86_64-3.5/cartopy/feature
    copying lib/cartopy/feature/nightshade.py -> build/lib.linux-x86_64-3.5/cartopy/feature
    copying lib/cartopy/feature/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/feature
    creating build/lib.linux-x86_64-3.5/cartopy/tests
    copying lib/cartopy/tests/test_shapereader.py -> build/lib.linux-x86_64-3.5/cartopy/tests
    copying lib/cartopy/tests/test_linear_ring.py -> build/lib.linux-x86_64-3.5/cartopy/tests
    copying lib/cartopy/tests/test_crs.py -> build/lib.linux-x86_64-3.5/cartopy/tests
    copying lib/cartopy/tests/test_polygon.py -> build/lib.linux-x86_64-3.5/cartopy/tests
    copying lib/cartopy/tests/test_vector_transform.py -> build/lib.linux-x86_64-3.5/cartopy/tests
    copying lib/cartopy/tests/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/tests
    copying lib/cartopy/tests/test_geodesic.py -> build/lib.linux-x86_64-3.5/cartopy/tests
    copying lib/cartopy/tests/test_features.py -> build/lib.linux-x86_64-3.5/cartopy/tests
    copying lib/cartopy/tests/test_coastline.py -> build/lib.linux-x86_64-3.5/cartopy/tests
    copying lib/cartopy/tests/test_util.py -> build/lib.linux-x86_64-3.5/cartopy/tests
    copying lib/cartopy/tests/test_img_transform.py -> build/lib.linux-x86_64-3.5/cartopy/tests
    copying lib/cartopy/tests/test_img_tiles.py -> build/lib.linux-x86_64-3.5/cartopy/tests
    copying lib/cartopy/tests/test_img_nest.py -> build/lib.linux-x86_64-3.5/cartopy/tests
    copying lib/cartopy/tests/test_line_string.py -> build/lib.linux-x86_64-3.5/cartopy/tests
    copying lib/cartopy/tests/test_crs_transform_vectors.py -> build/lib.linux-x86_64-3.5/cartopy/tests
    copying lib/cartopy/tests/test_coding_standards.py -> build/lib.linux-x86_64-3.5/cartopy/tests
    creating build/lib.linux-x86_64-3.5/cartopy/mpl
    copying lib/cartopy/mpl/gridliner.py -> build/lib.linux-x86_64-3.5/cartopy/mpl
    copying lib/cartopy/mpl/geoaxes.py -> build/lib.linux-x86_64-3.5/cartopy/mpl
    copying lib/cartopy/mpl/slippy_image_artist.py -> build/lib.linux-x86_64-3.5/cartopy/mpl
    copying lib/cartopy/mpl/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/mpl
    copying lib/cartopy/mpl/ticker.py -> build/lib.linux-x86_64-3.5/cartopy/mpl
    copying lib/cartopy/mpl/feature_artist.py -> build/lib.linux-x86_64-3.5/cartopy/mpl
    copying lib/cartopy/mpl/patch.py -> build/lib.linux-x86_64-3.5/cartopy/mpl
    copying lib/cartopy/mpl/clip_path.py -> build/lib.linux-x86_64-3.5/cartopy/mpl
    creating build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/rotated_pole.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/geostationary.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/un_flag.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/eccentric_ellipse.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/global_map.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/tick_labels.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/wms.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/favicon.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/nightshade.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/arrows.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/tissot.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/axes_grid_basic.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/star_shaped_boundary.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/feature_creation.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/always_circular_stereo.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/streamplot.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/wmts_time.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/logo.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/aurora_forecast.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/barbs.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/reprojected_wmts.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/wmts.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/eyja_volcano.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/effects_of_the_ellipse.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/regridding_arrows.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/utm_all_zones.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/tube_stations.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/features.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/hurricane_katrina.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/waves.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    copying lib/cartopy/examples/image_tiles.py -> build/lib.linux-x86_64-3.5/cartopy/examples
    creating build/lib.linux-x86_64-3.5/cartopy/io
    copying lib/cartopy/io/img_tiles.py -> build/lib.linux-x86_64-3.5/cartopy/io
    copying lib/cartopy/io/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/io
    copying lib/cartopy/io/ogc_clients.py -> build/lib.linux-x86_64-3.5/cartopy/io
    copying lib/cartopy/io/srtm.py -> build/lib.linux-x86_64-3.5/cartopy/io
    copying lib/cartopy/io/img_nest.py -> build/lib.linux-x86_64-3.5/cartopy/io
    copying lib/cartopy/io/shapereader.py -> build/lib.linux-x86_64-3.5/cartopy/io
    creating build/lib.linux-x86_64-3.5/cartopy/sphinxext
    copying lib/cartopy/sphinxext/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/sphinxext
    copying lib/cartopy/sphinxext/summarise_package.py -> build/lib.linux-x86_64-3.5/cartopy/sphinxext
    creating build/lib.linux-x86_64-3.5/cartopy/tests/feature
    copying lib/cartopy/tests/feature/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/tests/feature
    copying lib/cartopy/tests/feature/test_nightshade.py -> build/lib.linux-x86_64-3.5/cartopy/tests/feature
    creating build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_images.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_patch.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_crs.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_pseudo_color.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_set_extent.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_quiver.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_plots.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_axes.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_features.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_contour.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_examples.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_ticker.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_caching.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_shapely_to_mpl.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_img_transform.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_ticks.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_gridliner.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_mpl_integration.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_web_services.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_nightshade.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    copying lib/cartopy/tests/mpl/test_feature_artist.py -> build/lib.linux-x86_64-3.5/cartopy/tests/mpl
    creating build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_equal_earth.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_eckert.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_geostationary.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_sinusoidal.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_rotated_geodetic.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_mollweide.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_albers_equal_area.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_robinson.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_nearside_perspective.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_interrupted_goode_homolosine.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_stereographic.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_lambert_azimuthal_equal_area.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_lambert_conformal.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_rotated_pole.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_utm.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_gnomonic.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_orthographic.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_miller.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_transverse_mercator.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_azimuthal_equidistant.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_equidistant_conic.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    copying lib/cartopy/tests/crs/test_mercator.py -> build/lib.linux-x86_64-3.5/cartopy/tests/crs
    creating build/lib.linux-x86_64-3.5/cartopy/tests/io
    copying lib/cartopy/tests/io/__init__.py -> build/lib.linux-x86_64-3.5/cartopy/tests/io
    copying lib/cartopy/tests/io/test_downloaders.py -> build/lib.linux-x86_64-3.5/cartopy/tests/io
    copying lib/cartopy/tests/io/test_ogc_clients.py -> build/lib.linux-x86_64-3.5/cartopy/tests/io
    copying lib/cartopy/tests/io/test_srtm.py -> build/lib.linux-x86_64-3.5/cartopy/tests/io
    creating build/lib.linux-x86_64-3.5/cartopy/tests/mpl/baseline_images
    creating build/lib.linux-x86_64-3.5/cartopy/tests/mpl/baseline_images/mpl
    creating build/lib.linux-x86_64-3.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_gridliner
    copying lib/cartopy/tests/mpl/baseline_images/mpl/test_gridliner/gridliner_labels_1.5.png -> build/lib.linux-x86_64-3.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_gridliner
    creating build/lib.linux-x86_64-3.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_examples
    creating build/lib.linux-x86_64-3.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_img_tiles2
    creating build/lib.linux-x86_64-3.5/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.5/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.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_features
    creating build/lib.linux-x86_64-3.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_crs
    creating build/lib.linux-x86_64-3.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_nightshade
    creating build/lib.linux-x86_64-3.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_web_services
    creating build/lib.linux-x86_64-3.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_img_transform
    creating build/lib.linux-x86_64-3.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_shapely_to_mpl
    creating build/lib.linux-x86_64-3.5/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.5/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.5/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.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_ticks
    creating build/lib.linux-x86_64-3.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
    copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/streamplot_mpl_2.0.0.png -> build/lib.linux-x86_64-3.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
    copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/streamplot_mpl_1.4.3.png -> build/lib.linux-x86_64-3.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
    copying lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/streamplot_mpl_2.1.0.png -> build/lib.linux-x86_64-3.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration
    creating build/lib.linux-x86_64-3.5/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.5/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.5/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.5/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.5/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.5/cartopy/tests/mpl/baseline_images/mpl/test_images
    creating build/lib.linux-x86_64-3.5/cartopy/data
    creating build/lib.linux-x86_64-3.5/cartopy/data/raster
    creating build/lib.linux-x86_64-3.5/cartopy/data/raster/natural_earth
    copying lib/cartopy/data/raster/natural_earth/50-natural-earth-1-downsampled.png -> build/lib.linux-x86_64-3.5/cartopy/data/raster/natural_earth
    copying lib/cartopy/data/raster/natural_earth/images.json -> build/lib.linux-x86_64-3.5/cartopy/data/raster/natural_earth
    creating build/lib.linux-x86_64-3.5/cartopy/data/raster/sample
    copying lib/cartopy/data/raster/sample/Miriam.A2012270.2050.2km.jpg -> build/lib.linux-x86_64-3.5/cartopy/data/raster/sample
    copying lib/cartopy/data/raster/sample/Miriam.A2012270.2050.2km.README.txt -> build/lib.linux-x86_64-3.5/cartopy/data/raster/sample
    creating build/lib.linux-x86_64-3.5/cartopy/data/netcdf
    copying lib/cartopy/data/netcdf/HadISST1_SST_update.nc -> build/lib.linux-x86_64-3.5/cartopy/data/netcdf
    copying lib/cartopy/data/netcdf/HadISST1_SST_update.README.txt -> build/lib.linux-x86_64-3.5/cartopy/data/netcdf
    creating build/lib.linux-x86_64-3.5/cartopy/data/shapefiles
    creating build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs
    copying lib/cartopy/data/shapefiles/gshhs/README.TXT -> build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs
    creating build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs/c
    copying lib/cartopy/data/shapefiles/gshhs/c/GSHHS_c_L1.shp -> build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs/c
    copying lib/cartopy/data/shapefiles/gshhs/c/GSHHS_c_L1.shx -> build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs/c
    copying lib/cartopy/data/shapefiles/gshhs/c/GSHHS_c_L1.dbf -> build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs/c
    creating build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs/l
    copying lib/cartopy/data/shapefiles/gshhs/l/GSHHS_l_L2.shp -> build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs/l
    copying lib/cartopy/data/shapefiles/gshhs/l/GSHHS_l_L2.dbf -> build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs/l
    copying lib/cartopy/data/shapefiles/gshhs/l/GSHHS_l_L2.shx -> build/lib.linux-x86_64-3.5/cartopy/data/shapefiles/gshhs/l
    creating build/lib.linux-x86_64-3.5/cartopy/tests/lakes_shapefile
    copying lib/cartopy/tests/lakes_shapefile/ne_110m_lakes.shx -> build/lib.linux-x86_64-3.5/cartopy/tests/lakes_shapefile
    copying lib/cartopy/tests/lakes_shapefile/ne_110m_lakes.shp -> build/lib.linux-x86_64-3.5/cartopy/tests/lakes_shapefile
    copying lib/cartopy/tests/lakes_shapefile/ne_110m_lakes.dbf -> build/lib.linux-x86_64-3.5/cartopy/tests/lakes_shapefile
    copying lib/cartopy/io/srtm.npz -> build/lib.linux-x86_64-3.5/cartopy/io
    UPDATING build/lib.linux-x86_64-3.5/cartopy/_version.py
    set build/lib.linux-x86_64-3.5/cartopy/_version.py to '0.17.0'
    running build_ext
    skipping 'lib/cartopy/trace.cpp' Cython extension (up-to-date)
    building 'cartopy.trace' extension
    creating build/temp.linux-x86_64-3.5
    creating build/temp.linux-x86_64-3.5/lib
    creating build/temp.linux-x86_64-3.5/lib/cartopy
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I./lib/cartopy -I/usr/include/python3.5m -I/home/adietz/temp/venv/include/python3.5m -c lib/cartopy/trace.cpp -o build/temp.linux-x86_64-3.5/lib/cartopy/trace.o
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    lib/cartopy/trace.cpp:626:20: fatal error: geos_c.h: No such file or directory
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    
    ----------------------------------------
Command "/home/adietz/temp/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-z_jd_o36/cartopy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-b5abaja6/install-record.txt --single-version-externally-managed --compile --install-headers /home/adietz/temp/venv/include/site/python3.5/cartopy" failed with error code 1 in /tmp/pip-install-z_jd_o36/cartopy/

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 45 (9 by maintainers)

Most upvoted comments

try sudo apt-get install libgeos++-dev

Summary to fix the issue on Ubuntu 18.04:

sudo apt-get install libgeos++-dev
sudo apt-get install libproj-dev
pip install geoplot 

Where pip is the package manager of your virtualenv.

Ok thanks. I installed libproj-dev and I was finally(!) able to install cartopy via

pip3 install cartopy

But when I try to import it of course it does not work:

Traceback (most recent call last):
  File "flights.py", line 7, in <module>
    import cartopy.crs as ccrs
  File "/home/adietz/temp/venv/lib/python3.5/site-packages/cartopy/__init__.py", line 107, in <module>
    import cartopy.crs
  File "/home/adietz/temp/venv/lib/python3.5/site-packages/cartopy/crs.py", line 38, in <module>
    import cartopy.trace
ImportError: libproj.so.13: cannot open shared object file: No such file or directory

Maybe I better give up? Seems that project cartopy is at the very early beginning…

Summary to fix the issue on Ubuntu 8.04:

sudo apt-get install libgeos++-dev
sudo apt-get install libproj-dev
pip install geoplot 

Where pip is the package manager of your virtualenv.

I guess you meant Ubuntu 18.04… Thanks a lot, these 2 packages solved my problem after having installed all the Python dependencies.

lib/cartopy/trace.cpp:626:20: fatal error: geos_c.h: No such file or directory

You need to install GEOS devel package; please ensure you have installed everything in the requirements.

For anyone having problems with pip installing cartopy==0.19.0.post1 in a Python 3.10 venv on Ubuntu 20.04, I tried the following and it worked :

sudo apt install python3-dev libproj-dev proj-data proj-bin libgeos-dev
# If using Python 3.x, consider installing python3.x-dev
sudo apt install python3.10-dev

# Activate venv
source venv/bin/activate
pip3 install cartopy==0.19.0.post1

The python3.x-dev was needed in order to solve this error message :

lib/cartopy/trace.cpp:6:10: fatal error: Python.h: No such file or directory
      6 | #include "Python.h"
        |          ^~~~~~~~~~
  compilation terminated.
  error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
  ----------------------------------------
  ERROR: Failed building wheel for cartopy

On my Lubuntu 20.04 LTS system, installing geoplot was not necessary, but the other 2 libs were needed:

sudo apt-get install libgeos++-dev
sudo apt-get install libproj-dev

Now, it works like a charm. I hope the cartopy - team will make the error-messages more informative with the right hints how to resolve the errors. Thanks 😃

I did a conda install -c conda-forge cartopy, but afterwards I still get an error when I try to import cartopy to python (python 3.5.2):

ImportError: No module named 'cartopy'