May-04-2021, 12:14 PM
(This post was last modified: May-04-2021, 03:15 PM by Larz60+.
Edit Reason: Changed output tags to error tags
)
Hello,
I am sorry if this forum is closed but I have a similar issue where my code is telling me this:
I am sorry if this forum is closed but I have a similar issue where my code is telling me this:
Error:Traceback (most recent call last):
File "program.py", line 4, in <module>
import moon as m
File "/home/pi/moon.py", line 8
of the moon for a given date; and phase_hunt(), which given a date, finds the dates of the nearest full moon, new moon, etc. """ from math import sin, cos, floor, sqrt, pi, tan, atan # asin, atan2
^
SyntaxError: invalid syntax
why is this? code can be provided. I must also mention that I am writing this on a raspberry pi zero running rasbpian lite.