Good day fellow MetPy users,
I am seeking help in fixing the following error that appears to be related to
MetPy.
----------------------------------
# Example code from MetPy document
import numpy as np
import matplotlib.pyplot as plt
import cartopy.crs as ccrs
from metpy.cbook import get<em>test</em>data
#
# the line below generates errors
#
from metpy.io.gini import GiniFile
# -------Start error message block--------
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)
bash-4.1$ anaconda search -t conda metpy
Using Anaconda Cloud api site https://api.anaconda.org
Run 'anaconda show <USER/PACKAGE>' to get more details:
Packages:
Name | Version | Package Types | Platforms
------------------------- | ------ | --------------- | ---------------
Unidata/MetPy | 0.3.0 | conda | linux-64, win-32,
win-64, linux-32, osx-64
: MetPy is a collection of tools in
Python for reading, visualizing and performing calculations with weather data.
conda-forge/metpy | 0.3.0 | conda | linux-64, win-32,
win-64, osx-64
: MetPy is a collection of tools in
Python for reading, visualizing and performing calculations with weather data.
dopplershift/metpy | | conda |
: MetPy is a collection of tools in
Python for reading, visualizing and performing calculations with weather data.
Found 3 packages
Thank you very much for your help.
Arlene Laing