Broham / suncalcPy

A python implementation of the SunCalc javascript library.
MIT License
40 stars 18 forks source link

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

Open Arickaji opened 2 years ago

Arickaji commented 2 years ago

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'" ?

lulunac27a commented 9 months ago

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.