python-connector-api icon indicating copy to clipboard operation
python-connector-api copied to clipboard

meteomatics module not found, with meteomatics lib installed

Open gussabina opened this issue 1 year ago • 1 comments

Hello: I have installed meteomatics 2.11.2 with python 3.8.6 and virtualenv in Windows 10 (using pip install meteomatics), but even when I see meteomatics installed (with pip list), I'm still getting the following error:

import meteomatics.api as api ModuleNotFoundError: No module named 'meteomatics'

I would appreciate any help.

Regards; Gus

gussabina avatar Apr 01 '24 02:04 gussabina

I had the same issue. Then I realized that I named my python script meteomatics.py. This does not work, so just try to rename your script. Then it worked fine for me (Python 3.9, Meteomatics 2.11.3)

lukethi avatar Nov 08 '24 08:11 lukethi

Dear @gussabina and @lukethi

I'm sorry to hear that you had issues importing the connector code into your application. We suspect that @gussabina may have had a similar problem as @lukethi and the solution proposed there should also help here.

I'm closing this issue because it's quite old already. If the issue persists feel free to open another one and we will try to help you there.

Best wishes.

bbuman-meteomatics avatar Nov 03 '25 07:11 bbuman-meteomatics