dbader / schedule

Python job scheduling for humans.
https://schedule.readthedocs.io/
MIT License
11.83k stars 965 forks source link

Error on installation on Raspberry Pi #474

Open 1CM69 opened 3 years ago

1CM69 commented 3 years ago

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

asenov commented 3 years ago

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