allisonkarlitskaya / cimg

1 stars 0 forks source link

Syntax error when running `cimg init` #6

Closed croissanne closed 3 years ago

croissanne commented 3 years ago
Traceback (most recent call last):
  File "/home/sanne/.local/bin/cimg", line 11, in <module>
    import image_download
  File "/home/sanne/workstuff/cimg/image_download.py", line 64
    while block := work_queue.get():
                 ^
SyntaxError: invalid syntax
allisonkarlitskaya commented 3 years ago

https://www.python.org/dev/peps/pep-0572/ says assignment expressions are only supported since Python 3.8.