Skip to content

ModuleNotFoundError: No module named 'cartopy._crs' #1

@singhvasu1626

Description

@singhvasu1626

I AM TRYING TO PRACTICE THE STEPS AS INSTRUCTED BY DR. MELANIE IN NASA ARSET LECTURE : "NASA ARSET_ MODIS to VIIRS Transition for Air Quality Applications, Part 1_1" AND I AM GETTING THE ERROR AS FOLLOW:

Requirement already satisfied: netCDF4 in /usr/local/lib/python3.7/dist-packages (1.5.7)
Requirement already satisfied: cftime in /usr/local/lib/python3.7/dist-packages (from netCDF4) (1.5.1)
Requirement already satisfied: numpy>=1.9 in /usr/local/lib/python3.7/dist-packages (from netCDF4) (1.19.5)
Found existing installation: Shapely 1.7.1
Uninstalling Shapely-1.7.1:
Successfully uninstalled Shapely-1.7.1
Collecting shapely
Using cached Shapely-1.7.1.tar.gz (383 kB)
Skipping wheel build for shapely, due to binaries being disabled for it.
Installing collected packages: shapely
Running setup.py install for shapely ... done
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
albumentations 0.1.12 requires imgaug<0.2.7,>=0.2.5, but you have imgaug 0.2.9 which is incompatible.
Successfully installed shapely-1.7.1

ModuleNotFoundError Traceback (most recent call last)
in ()
10 get_ipython().system('pip install shapely --no-binary shapely;')
11
---> 12 import cartopy.crs as ccrs
13 import cartopy.feature as cfeature
14 from cartopy.mpl.ticker import LongitudeFormatter, LatitudeFormatter

1 frames
/usr/lib/python3/dist-packages/cartopy/crs.py in ()
34 import six
35
---> 36 from cartopy._crs import CRS, Geocentric, Geodetic, Globe, PROJ4_VERSION
37 import cartopy.trace
38

ModuleNotFoundError: No module named 'cartopy._crs'


NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.

PLEASE SOLVE THIS ISSUE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions