open-meteo / python-requests

Open-Meteo Python Library using `requests`
MIT License
15 stars 4 forks source link

openmateo_requests import fails #39

Closed pfriedland closed 9 months ago

pfriedland commented 9 months ago

Python 3.9.18 (main, Aug 24 2023, 18:16:58) [Clang 15.0.0 (clang-1500.1.0.2.5)] on darwin Type "help", "copyright", "credits" or "license" for more information.

import openmeteo_requests Traceback (most recent call last): File "", line 1, in File "/Users/pfriedland/Documents/projects/self/weather/openmeteo_requests.py", line 10, in openmeteo = openmeteo_requests.Client(session = retry_session) AttributeError: partially initialized module 'openmeteo_requests' has no attribute 'Client' (most likely due to a circular import)

I've tried different python versions 3.9, 3.11 on macos

pfriedland commented 9 months ago

mistake.

patrick-zippenfenig commented 9 months ago

What was the issue? Some kind of venv package install mixup?

pfriedland commented 9 months ago

lol, I named the file openmateo_requests.py.