suncalcPy
suncalcPy copied to clipboard
AttributeError: module 'suncalc' has no attribute 'getMoonTimes'
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'" ?
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.