problems with anaconda/python install for HYSPLIT
Posted: January 18th, 2021, 2:42 pm
Dear HYSPLIT support,
I'm working through the June 2020 tutorial material and I hit a snag when I got to the portion using python display examples.
I backed up and installed the hysplit environment in my PC's anaconda build, which all seemed to go well until I ran the tests for hysplitplot. FYI, the tests passed right away for hysplitdata.
Pretty much all the python test files failed in hysplitplot due to a common import error, it appears:
_________________________________________ ERROR collecting tests/test_util.py _________________________________________
ImportError while importing test module 'C:\hysplit\python\hysplitplot\tests\test_util.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
test_util.py:16: in <module>
from hysplitplot import util, const
..\hysplitplot\__init__.py:2: in <module>
from .conc.plot import ConcentrationPlot
..\hysplitplot\conc\plot.py:24: in <module>
from hysplitplot import cmdline, const, datem, mapbox, mapproj, \
..\hysplitplot\plotbase.py:16: in <module>
from hysplitplot import cmdline, const, labels, logo, multipage, \
..\hysplitplot\streetmap.py:13: in <module>
import geopandas
C:\Users\jlcase\Anaconda3\envs\hysplit\lib\site-packages\geopandas-0.4.1-py3.7.egg\geopandas\__init__.py:1: in <module>
from geopandas.geoseries import GeoSeries
C:\Users\jlcase\Anaconda3\envs\hysplit\lib\site-packages\geopandas-0.4.1-py3.7.egg\geopandas\geoseries.py:12: in <module>
from geopandas.base import GeoPandasBase, _series_unary_op, _CoordinateIndexer
C:\Users\jlcase\Anaconda3\envs\hysplit\lib\site-packages\geopandas-0.4.1-py3.7.egg\geopandas\base.py:6: in <module>
from pandas.core.indexing import _NDFrameIndexer
E ImportError: cannot import name '_NDFrameIndexer' from 'pandas.core.indexing' (C:\Users\jlcase\Anaconda3\envs\hysplit\lib\site-packages\pandas-1.2.0-py3.7-win-amd64.egg\pandas\core\indexing.py)
Do you have any recommendations on how I can proceed with hysplitplot at this point?
Thanks much,
Jonathan Case
I'm working through the June 2020 tutorial material and I hit a snag when I got to the portion using python display examples.
I backed up and installed the hysplit environment in my PC's anaconda build, which all seemed to go well until I ran the tests for hysplitplot. FYI, the tests passed right away for hysplitdata.
Pretty much all the python test files failed in hysplitplot due to a common import error, it appears:
_________________________________________ ERROR collecting tests/test_util.py _________________________________________
ImportError while importing test module 'C:\hysplit\python\hysplitplot\tests\test_util.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
test_util.py:16: in <module>
from hysplitplot import util, const
..\hysplitplot\__init__.py:2: in <module>
from .conc.plot import ConcentrationPlot
..\hysplitplot\conc\plot.py:24: in <module>
from hysplitplot import cmdline, const, datem, mapbox, mapproj, \
..\hysplitplot\plotbase.py:16: in <module>
from hysplitplot import cmdline, const, labels, logo, multipage, \
..\hysplitplot\streetmap.py:13: in <module>
import geopandas
C:\Users\jlcase\Anaconda3\envs\hysplit\lib\site-packages\geopandas-0.4.1-py3.7.egg\geopandas\__init__.py:1: in <module>
from geopandas.geoseries import GeoSeries
C:\Users\jlcase\Anaconda3\envs\hysplit\lib\site-packages\geopandas-0.4.1-py3.7.egg\geopandas\geoseries.py:12: in <module>
from geopandas.base import GeoPandasBase, _series_unary_op, _CoordinateIndexer
C:\Users\jlcase\Anaconda3\envs\hysplit\lib\site-packages\geopandas-0.4.1-py3.7.egg\geopandas\base.py:6: in <module>
from pandas.core.indexing import _NDFrameIndexer
E ImportError: cannot import name '_NDFrameIndexer' from 'pandas.core.indexing' (C:\Users\jlcase\Anaconda3\envs\hysplit\lib\site-packages\pandas-1.2.0-py3.7-win-amd64.egg\pandas\core\indexing.py)
Do you have any recommendations on how I can proceed with hysplitplot at this point?
Thanks much,
Jonathan Case