bjlittle / geovista

Cartographic rendering and mesh analytics powered by PyVista

Home Page:https://geovista.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No module named 'geovista.pantry'

PBrockmann opened this issue · comments

I get a ModuleNotFoundError: No module named 'geovista.pantry'

I have installed anaconda 2020.11
and I get a geovista at 0.1.dev1 release
after a classic conda install -c conda-forge geovista

Did I miss something ?

Hey @PBrockmann,

Great to hear from you! 😃

That's definitely not expected, and you don't seem to be doing anything obviously wrong.

The latest release is 0.1.4, see the releases, which is available on the anaconda conda-forge geovista channel, see https://anaconda.org/conda-forge/geovista/files

The 0.1.dev1 release was just a placeholder package with no content to reserve the geovista namespace.

What platform are you attempting to install on?

When you do conda search -c conda-forge geovista what do you get?

You don't have any weird channel priority settings or some other configuration in your ~/.condarc that might explain this?

I get the following:

itwl@vld173:> conda search -c conda-forge geovista
Loading channels: done
# Name                       Version           Build  Channel             
geovista                       0.1a0    pyhd8ed1ab_0  conda-forge         
geovista                    0.1.dev1    pyhd8ed1ab_0  conda-forge         
geovista                       0.1.0    pyhd8ed1ab_0  conda-forge         
geovista                       0.1.1    pyhd8ed1ab_0  conda-forge         
geovista                       0.1.2    pyhd8ed1ab_0  conda-forge         
geovista                       0.1.3    pyhd8ed1ab_0  conda-forge         
geovista                       0.1.4    pyhd8ed1ab_0  conda-forge         

Indeed
conda install -c conda-forge geovista=0.1.4

and a
conda install -c conda-forge appdirs

has solved this issue.
Thnks.

@PBrockmann Thanks!

In the next release there'll be no need to install appdirs, that was a package oversight that's now been fixed in main.

Note that, we've migrated away from appdirs which is deprecated as a package, instead we're using platformdirs.

Also, your issue might be related to the badly formed version string 0.1.dev1, which might be getting chosen over >=0.1.0.

The next release is 0.2.0, so that should resolve this, if that's the source of this issue.