Hi, I typed into the terminal ""env PYTHON _CONFIGURE_OPTS="--enable-framework" pyenv install 3.10.9 env: PYTHON" and I get this error, I actually have 3.12. installed but tried both. "No such file or directory." Any ideas would be helpful. Thanks.
@49Macman2 ай бұрын
Sir, I need to come back to this later. Thanks.
@litemint095 ай бұрын
Hi TryCatch, thanks for this video, as I was following through your guide. Installed everything, I do have this script log on OBS once I open it. C = pwc.getMousePos attributeerror: module 'pywinctl' has no attribute 'getmouse' Im basically stuck on that part. im on sonoma 14.4.1 by the way.
@chidoryz42598 ай бұрын
Hello, thank you for the tutorial I just loaded the python script and OBS show me that: [zoom_and_follow_mouse.py] Traceback (most recent call last): [zoom_and_follow_mouse.py] File **** hidden path *** zoom_and_follow_mouse.py [zoom_and_follow_mouse.py] from math import sqrt [zoom_and_follow_mouse.py] ModuleNotFoundError: No module named 'math' [zoom_and_follow_mouse.py] Traceback (most recent call last): [zoom_and_follow_mouse.py] File **** hidden path *** zoom_and_follow_mouse.py [zoom_and_follow_mouse.py] from math import sqrt [zoom_and_follow_mouse.py] ModuleNotFoundError: No module named 'math' Can you help me thank you
@TryCatchTechnology8 ай бұрын
Hi @chidoryz4259, it’s most likely due to your environment pointing to the wrong version of Python so it cannot find the Math module, which the script needs to run. Check the version of Python you are running and your environment path. See #6 which is probably causing #4 in this web article: pytutorial.com/how-to-solve-modulenotfounderror-no-module-named-in-python/
@chidoryz42598 ай бұрын
thanks@@TryCatchTechnology I will try to resolve it
@ktechkhalil10 ай бұрын
great
@BigMediumSound10 ай бұрын
Thank you for this! I think I've done everything right but I am having trouble once I try to activate the script in OBS. I get the error log that Traceback (most recent call list): File "/Applications/OBS.app/Contents/Plugins/frontend-tools.plugin/Contents/Resources/scripts/zoom_and_follow_mouse.py", line 9, in <module> from math import sort ModuleNotFoundError: No module named 'math'
@chidoryz42598 ай бұрын
dude i have the same issue
@TryCatchTechnology8 ай бұрын
Hi @BigMediumSound, you’re probably pointing to the wrong Python version so it can’t find the Math module. Check #6 in this article to make sure your Python version and path are correct. pytutorial.com/how-to-solve-modulenotfounderror-no-module-named-in-python/
@lordgoogoobeats498810 ай бұрын
Thanks so much for this in-depth tutorial! When I go to add the path you described into the OBS python install path, it does not load, any thoughts would be greatly appreciated. Thanks!
@TryCatchTechnology10 ай бұрын
Thanks for the comment, @lordgoogoobeats4988. In OBS, if you go to the menu Tools --> Scripts there is a button called "Script Log." That will give some clues as to why it is not loading. If there is a lot of information in the log, you may want to clear the log first, then load the script, then look at the log. Send along the output if you're not sure what it means and I may be able to help. Thank!
@rlvntt11 ай бұрын
THIS IS GOLD! thank you so much for this, i've been looking for a while for an easy step-by-step tutorial to make it work on Mac and finally i can say it's working 👏👏👏 again, thank you so much!
@TryCatchTechnology11 ай бұрын
Thanks for dropping me a note. So glad it helped!
@ALRT Жыл бұрын
did everything all worked , just the pip command says command not found,...
@TryCatchTechnology Жыл бұрын
It looks like you may not have set your PATH when you installed pyenv (tells MacOS where to find the pip program command)? If you type “which pip” in a terminal prompt it should return the path, and if not then it is not set in your PATH. Check this URL github.com/pyenv/pyenv#set-up-your-shell-environment-for-pyenv in the section labeled “Set up your shell environment for Pyenv” for directions on how to set the PATH for the MacOS shell you are using (e.g. I use zshell - Zsh). The commands for zshell look like: echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrc echo 'eval "$(pyenv init -)"' >> ~/.zshrc Let me know how you make out!
@ALRT Жыл бұрын
I actually figured out the pip command now when python is loading on obs but im getting this when trying to load the zoom and follow script ModuleNotFoundError: No module named 'pywinctl' @@TryCatchTechnology
@ALRT Жыл бұрын
also I did which pip and it shows this : /Library/Frameworks/Python.framework/Versions/3.10/bin/pip @@TryCatchTechnology
@BradleyGagne10 ай бұрын
I ran into the same issue @@TryCatchTechnology I followed the link in the description and I'm still getting the same error message.
@BradleyGagne10 ай бұрын
after typing which pip I got this .pyenv/shims/pip @@TryCatchTechnology
@cyclefr Жыл бұрын
Thanks for the tutorial! I'll give it a shot and let you know how it goes. I'll definitely come back to say thanks once I'm done! :)
@TryCatchTechnology Жыл бұрын
Hope it helps you!
@rodrigo-do-carmo Жыл бұрын
Thanks a lot for the tutorial. Unfortunatelly mine didn't work properly, I tried a lot of different versions but couldn't make it work. :( There's a bug on the script where the source get's super small and go to the top left corner. I tried on both my Windows and Mac, with the newest version and the version you suggested.
@TryCatchTechnology Жыл бұрын
Thanks for the comment, @rodrigo-do-carmo. Take a look at @salta92 video at the 10:00 minute mark: kzbin.info/www/bejne/ioawoZ2jbtGmfdU&feature=sharea He had the same issue if it was when you first loaded the script. If it’s when you try to zoom in when you hit your zoom hotkey, then you may need to tweek the settings in either the script or transform edit settings. I had to play with it a lot to understand the behavior when each setting was changed. The script is fussy, but really helpful once you have it working correctly. You may want to also ask on the OBS Community on Discord. They’re very helpful.