Hello,
I am having trouble installing Basemap on my machine. I am using Jupyter notebook through Anaconda on a Mac.
Things I’ve tried so far:
Typed in Jupyter: from mpl_toolkits.basemap import basemap
Got error: ModuleNotFoundError: No module named ‘mpl_toolkits.basemap’
In Anaconda: went to Environments, searched for basemap, clicked basemap, clicked apply
Got error: No packages will be modified
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
-
basemap -> python[version=’>=3.5,<3.6.0a0|>=3.9,<3.10.0a0’]
-
mpl_sample_data -> python[version=’>=3.9,<3.10.0a0’]
Your python: python=3.8
If python is on the left-most side of the chain, that’s the version you’ve asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package ncurses conflicts for:
python=3.8 -> readline[version=’>=7.0,<8.0a0’] -> ncurses[version=‘6.0.*|>=6.0,<7.0a0’]
python=3.8 -> ncurses[version=’>=6.1,<7.0a0|>=6.2,<7.0a0’]
Package setuptools conflicts for:
basemap -> matplotlib-base[version=’>=1.0.0,!=3.0.1’] -> setuptools
mpl_sample_data -> matplotlib-base[version=’>=3.3.2,<3.4.0a0’] -> setuptools
python=3.8 -> pip -> setuptools
Package matplotlib-base conflicts for:
basemap-data-hires -> basemap[version=’>1.0.7’] -> matplotlib-base[version=’>=1.0.0|>=1.0.0,!=3.0.1’]
basemap -> matplotlib[version=’>=1.0.0’] -> matplotlib-base[version=‘3.1.2|3.1.2|3.1.2|3.1.3|3.1.3|3.1.3|>=3.2.1,<3.2.2.0a0|>=3.2.2,<3.2.3.0a0|>=3.3.1,<3.3.2.0a0|>=3.3.2,<3.3.3.0a0’,build=‘py37h9aa3819_1|py36h9aa3819_1|py36h9aa3819_0|py37h9aa3819_0|py38h9aa3819_0|py38h9aa3819_1’]
mpl_sample_data -> matplotlib-base[version=‘3.1.2|3.1.2|3.1.2|3.1.3|3.1.3|3.1.3|>=3.2.1,<3.3.0a0|>=3.2.2,<3.3.0a0|>=3.3.1,<3.4.0a0|>=3.3.2,<3.4.0a0’,build=‘py37h9aa3819_1|py36h9aa3819_1|py36h9aa3819_0|py37h9aa3819_0|py38h9aa3819_0|py38h9aa3819_1’]
basemap -> matplotlib-base[version=’>=1.0.0|>=1.0.0,!=3.0.1’]
Package libcxxabi conflicts for:
basemap -> libcxx[version=’>=4.0.1’] -> libcxxabi==4.0.1[build=‘hebd6815_0|hcfea43d_1’]
python=3.8 -> libcxx[version=’>=4.0.1’] -> libcxxabi==4.0.1[build=‘hebd6815_0|hcfea43d_1’]
Package kiwisolver conflicts for:
mpl_sample_data -> matplotlib-base[version=’>=3.3.2,<3.4.0a0’] -> kiwisolver[version=’>=1.0.1’]
basemap -> matplotlib-base[version=’>=1.0.0,!=3.0.1’] -> kiwisolver[version=’>=1.0.1’]
Unsatisfiable Error
Can anyone help? Thank you for your time
Screen Link: