leon-thomm / Ryven

Flow-based visual scripting for Python
https://ryven.org
MIT License
3.8k stars 443 forks source link

SyntaxError: annotated name 'instance' can't be global #182

Closed forrestneo closed 5 months ago

forrestneo commented 7 months ago

Traceback (most recent call last): File "/home/zsd/.local/bin/ryven", line 5, in from ryven import run_ryven File "/home/zsd/.local/lib/python3.7/site-packages/ryven/init.py", line 9, in from .main.Ryven import run as run_ryven File "/home/zsd/.local/lib/python3.7/site-packages/ryven/main/Ryven.py", line 6, in from ryven.main.config import Config File "/home/zsd/.local/lib/python3.7/site-packages/ryven/main/config.py", line 69 instance: Optional[Config] = None ^ SyntaxError: annotated name 'instance' can't be global

leon-thomm commented 5 months ago

more information needed