On Thu, Apr 21, 2016 at 11:08 AM, Arlene Laing <Arlene.Laing@xxxxxxxxxxxx>
wrote:
> ImportError Traceback (most recent call last)
> <ipython-input-17-293570243ae6> in <module>()
> 3 import cartopy.crs as ccrs
> 4 from metpy.cbook import get<em>test</em>data
> ----> 5 from metpy.io.gini import GiniFile
>
> /export/hpc-lw-hmtdev3/alaing/miniconda2/lib/python2.7/site-packages/metpy/io/<strong>init</strong>.py
> in <module>()
> 12 """
> 13
> ---> 14 from .gini import * # noqa
> 15 from .nexrad import * # noqa
> 16 <strong>all</strong> = []
>
> /export/hpc-lw-hmtdev3/alaing/miniconda2/lib/python2.7/site-packages/metpy/io/gini.py
> in <module>()
> 9 from enum import Enum
> 10 except ImportError:
> ---> 11 from enum34 import Enum
> 12 from itertools import repeat
> 13
>
> ImportError: No module named enum34
>
> # ------- End error message block-----------
>
> ------------------------
> I am running Python 2.7.11 with the latest MetPy, 0.3.0 (as shown below)
>
Arlene,
It's weird that installing didn't handle the dependency for you. What
happens if you do:
conda install metpy
You can also try just forcing it to install enum34 by doing:
conda install enum34
Let me know how either of those go.
Ryan
--
Ryan May, Ph.D.
Software Engineer
UCAR/Unidata
Boulder, CO