tryptech / obs-zoom-and-follow

Dynamic zoom and mouse tracking script for OBS Studio
Apache License 2.0
362 stars 63 forks source link

Error when loading script #120

Closed WickedJynx closed 1 year ago

WickedJynx commented 1 year ago

I am having this issue when trying to add the script to obs

[zoom_and_follow_mouse.py] Traceback (most recent call last): [zoom_and_follow_mouse.py] File "C:/Program Files/obs-studio/data/obs-plugins/frontend-tools/scripts\zoom_and_follow_mouse.py", line 14, in [zoom_and_follow_mouse.py] import pywinctl as pwc [zoom_and_follow_mouse.py] File "C:\Users\pikah\AppData\Local\Programs\Python\Python36\lib\site-packages\pywinctl__init__.py", line 4 [zoom_and_follow_mouse.py] from future import annotations [zoom_and_follow_mouse.py] ^ [zoom_and_follow_mouse.py] SyntaxError: future feature annotations is not defined

DureSabih commented 1 year ago

I'm having the same issue. did you figure out how to fix it?

VideoFX commented 1 year ago

Same error here.

[zoom_and_follow_mouse.py] SyntaxError: future feature annotations is not defined

jonlittle514 commented 1 year ago

Same issue, i need help pls.

tryptech commented 1 year ago

You are using a version of python <3.7. future annotations was introduced as of python 3.7. As stated in the project description, this script was built using python 3.10. Closing as python installation errors are out of scope for support.

jonlittle514 commented 1 year ago

i fixed it by downloading an older version of pywinctl (Pywinctl 0.0.38)