jay3332 / pilmoji

Pilmoji is a fast and reliable emoji renderer for PIL.
MIT License
77 stars 28 forks source link

SYNTAX ERROR coming from the package #8

Closed saheedniyi02 closed 2 years ago

saheedniyi02 commented 2 years ago

The code: from pilmoji import Pilmoji The error: File "/usr/local/lib/python3.7/dist-packages/pilmoji/sync/core.py", line 103 asset = asset.resize((width := int(emoji_size_factor * font.size), width), Image.ANTIALIAS) ^ SyntaxError: invalid syntax

From my observation, the error came from the package. @jay3332

saheedniyi02 commented 2 years ago

Turns out my python version (on Google colab) is Lower than the required version, sorry for creating a wrong issue. @jay3332