Closed TheoLong closed 2 years ago
That looks like a python version issue; you'll need to use python 3 or above with most python scripts in the repo, as python 2 is end-of-life. You should be able to execute the file directly (i.e. ./generate_fonts.py
) which will use python 3, or if you are are running the script by invoking python you'd need to use a python 3 interpreter (generally available as python3
if it's installed).
Just checking in - did this work?
Closing due to no response, since this seems likely to be a python environment issue not a code issue. Please comment/reopen if using python3 does not resolve the issue.
Here is the command I'm running: python scripts/generate_fonts.py -t '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ,.?-/=$%()' --ncolumns 10
I'm running this at the 3d directory.
Here's the traceback:
I'm running this on Mac OS BigSur v11.1