ValueError installing erpnext

This similar traceback Telegram Integration Custom App - #10 by youssef

suggests move to Python 3.5+ or v12?