suncalcPy icon indicating copy to clipboard operation
suncalcPy copied to clipboard

AttributeError: module 'suncalc' has no attribute 'getMoonTimes'

Open Arickaji opened this issue 4 years ago • 1 comments

import suncalc import datetime print(suncalc.getMoonTimes(datetime.now(), 37.7749, -122.4194))

when run this program return this error how to solve this "AttributeError: module 'suncalc' has no attribute 'getMoonTimes'" ?

Arickaji avatar Jan 19 '22 11:01 Arickaji

The packages are conflicting between this module and the other module (suncalc-py by kylebarron) suncalc.py module also uses the suncalc module, so they are both conflicting modules.

lulunac27a avatar Nov 04 '23 19:11 lulunac27a