Skip to content

geovista.pantry is not a package - VS Code #965

@felixdellner

Description

@felixdellner

🐛 Bug Report

ModuleNotFoundError: No module named 'geovista.pantry.data'; 'geovista.pantry' is not a package

How to Reproduce

Trying to run the examples provided here gives the above error, specifically this line raises the error
from geovista.pantry.data import nemo_orca2_gradient

Expected Behaviour

A working example :)

Environment

Tried

scooby --report geovista

or

----------------------------------------------------------------------------------------

                 OS : Windows (10 10.0.22631 SP0 Multiprocessor Free)
             CPU(s) : 12
            Machine : AMD64
       Architecture : 64bit
                RAM : 15.9 GiB
        Environment : Python
         GPU Vendor : NVIDIA Corporation
       GPU Renderer : NVIDIA GeForce RTX 2060/PCIe/SSE2
        GPU Version : 4.5.0 NVIDIA 537.70

  Python 3.10.5 (tags/v3.10.5:f377153, Jun  6 2022, 16:14:13) [MSC v.1929 64 bit
  (AMD64)]

            cartopy : 0.23.0
              click : 8.1.3
click-default-group : 1.2.4
            cmocean : 4.0.3
           colorcet : Module not found
           geovista : 0.5.0.dev464
         matplotlib : 3.5.2
            netcdf4 : 1.7.1.post1
              numpy : 1.26.4
       platformdirs : 4.1.0
              pooch : 1.8.2
           pykdtree : 1.3.12
             pyproj : 3.6.1
            pyvista : 0.43.10
             scooby : 0.10.0
                vtk : 9.3.1
            IPython : 8.20.0
        fastparquet : 2024.5.0
         ipywidgets : 8.1.3
         jupyterlab : 4.0.10
       nest_asyncio : 1.5.8
             pandas : 2.1.4
              scipy : 1.8.1
              trame : 3.6.3
       trame_client : 3.2.1
       trame_server : 3.0.2
          trame_vtk : 2.8.9
      trame_vuetify : 2.6.0
               tqdm : 4.64.0
             wslink : 2.1.1
----------------------------------------------------------------------------------------

Additional Context

This only happens in Visual Studio Code - in a separate Jupyter Notebook it runs as expected (where I however can not get VTK to run, but I think this might be my own fault, otherwise I'll submit another issue!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    scipy 2024type: bugAuto-labelled for bug/*, fix/* and patch/* branches

    Projects

    Status

    🆕 Candidate

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions