schedule icon indicating copy to clipboard operation
schedule copied to clipboard

Error on installation on Raspberry Pi

Open 1CM69 opened this issue 3 years ago • 1 comments

I tried installing this using:

pip install schedule

but get this error:

File "/tmp/pip-build-SWC7Qi/schedule/schedule/__init__.py", line 85
    def __init__(self) -> None:
                       ^
SyntaxError: invalid syntax

then i tried using:

pip3 install schedule

no the error on line 85 has gone but I get this:

 File "/tmp/pip-build-aqb1bhwu/schedule/schedule/__init__.py", line 86
    self.jobs: List[Job] = []
             ^
SyntaxError: invalid syntax

any help would be appreciated

1CM69 avatar Jul 14 '21 17:07 1CM69

Make sure you are using the right Python version. Python3.6+ is required here

asenov avatar Oct 31 '21 21:10 asenov