pySTEPS / pysteps

Python framework for short-term ensemble prediction systems.
https://pysteps.github.io/
BSD 3-Clause "New" or "Revised" License
466 stars 168 forks source link

No module named 'pysteps.motion._proesmans' #268

Closed relmonta closed 2 years ago

relmonta commented 2 years ago

I installed pysteps on linux machine, using conda and pip, and with both installations when I try to import the packge, I get the same error: ModuleNotFoundError: No module named 'pysteps.motion._proesmans'

dnerini commented 2 years ago

Hi @relmonta, welcome to pysteps!

Can you provide more details on your setup please? What python version are using? Are you installing from source within a conda environment or from PYPI?

relmonta commented 2 years ago

Hi @dnerini , Thank you for your reply, I am installing it in a new environment from conda-forge following this guide, my python version is 3.9.7

aperezhortal commented 2 years ago

Hi @relmonta ,

Are you executing the import pysteps... from a directory containing a clone of the pysteps repository or containing a folder named pysteps? That could cause that kind of import error.

dnerini commented 2 years ago

Exactly, could you check that you're not running in the same issue described in #40?

relmonta commented 2 years ago

Thank you, that's true.

dnerini commented 2 years ago

Very good. I'm not sure how often this issue happens in reality, but I think we'll consider adding a specific note in the documentation ...

Happy nowcasting!