python-gcs-image
python-gcs-image copied to clipboard
bccache.py", line 26: def get(self, key: str) -> bytes: ^ SyntaxError: invalid syntax
Hi, I used this in the past and all worked well. The services still work and return valid URL of the image.
Not on a brand new instalation I get error when accessing any URL like the one bellow:
File "/base/data/home/apps/e~uwin-develop-d6298/20211119t184208.439520163638429856/lib/jinja2/bccache.py", line 26: def get(self, key: str) -> bytes: ^ SyntaxError: invalid syntax
at
I installed the latest version, python is 2.7... any advice is apreciated.
@bogdannedelcu I face the same issue, did you find a solution? Thank you!
Did not, the old services still work but installing a mew one gives this error.
@bogdannedelcu I was able to fix it by downgrading Flask to 0.12.5 in requirements.txt. Delete the lib directory and run pip install -r requirements.txt -t lib
again.
@PS-istarostenko great job! it works for me too