[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[python #TGX-142180]: ImportError: No module named units

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [python #TGX-142180]: ImportError: No module named units
  • Date: Fri, 22 Feb 2019 14:20:31 -0700

Hi,

You should install cartopy in the same way you installed pint 0.8.1. So if that 
was using pip, you should do:

pip install cartopy

This *will* require the compilation of the library for your system, so you'll 
need to have a proper compiler installed. If you are using Anaconda/conda, you 
should do:

conda install -c conda-forge cartopy

There is more information available here: 
https://scitools.org.uk/cartopy/docs/latest/installing.html#installing

Ryan

> Please, tell me How
> 
> 
> address@hidden> wrote:
> 
> > Hi,
> >
> > You need to install cartopy.
> >


Ticket Details
===================
Ticket ID: TGX-142180
Department: Support Python
Priority: Low
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.