Comments (9)
I've the same issue. It says "ModuleNotFoundError: No module named 'pywinctl'"
from obs-zoom-and-follow.
Looks like you didn't install pywinctl module.
pip install pywinctl
from obs-zoom-and-follow.
Looks like you didn't install pywinctl module.
pip install pywinctl
Ah! correct. It is my first time using github. Did not know about "Dependencies" section.
from obs-zoom-and-follow.
I did install it, which I referenced above. Here is what I get now when I type in the command:
C:\Users\myuck>pip install pywinctl
Requirement already satisfied: pywinctl in c:\users\myuck\appdata\local\programs\python\python310\lib\site-packages (0.0.36)
Requirement already satisfied: PyRect~=0.1 in c:\users\myuck\appdata\local\programs\python\python310\lib\site-packages (from pywinctl) (0.2.0)
Requirement already satisfied: pywin32>=302 in c:\users\myuck\appdata\local\programs\python\python310\lib\site-packages (from pywinctl) (304)
I also tried to install the whl file seperately, which was successful
from obs-zoom-and-follow.
I have the exact same problem as OP, but I'm using the snap version of OBS under Manjaro linux.
When I try to add the script to OBS, I have the following message:
error: [Python: zoom_and_follow_mouse.py] Traceback (most recent call last):
error: [Python: zoom_and_follow_mouse.py] File "/home/slander/OBS Streaming/Scripts/zoom_and_follow_mouse.py", line 2, in <module>
error: [Python: zoom_and_follow_mouse.py] import pywinctl as pwc # version >=0.0.30
error: [Python: zoom_and_follow_mouse.py] ModuleNotFoundError: No module named 'pywinctl'
I have installed pywinctl using the following command (also tried without the sudo):
sudo python -m pip pywinctl
I tried to get an answer on stackoverflow, but they directed me here.
The stackoverflow question is here: https://stackoverflow.com/questions/71954531/obs-python-script-cannot-find-module-error-obs-snap-linux-edition
I link the question as there is more infos on the environment there.
from obs-zoom-and-follow.
I've the same issue. It says "ModuleNotFoundError: No module named 'pywinctl'"
I have the same issue, I tried fixing it using the pip install method but now it just says the following:
import win32api
[zoom_and_follow_mouse.py] ModuleNotFoundError: No module named 'win32api'
Then, I tried installing win32api using pip install pypiwin32
but it doesn't seem to recognize it
Edit:
Solved it, I just had to relaunch obs
from obs-zoom-and-follow.
@micky3knuckles Could you make sure that the Python Settings tab is pointing to an installation of Python 3.6.8 or lower? And make sure that you install PyWinCtl under that version of Python. It is possible to install PyWinCtl under a different version of Python, thus OBS will not see it.
@TheRealSlander I'm not sure if your issue is the same as the previous, but I would make sure OBS is using the right version of Python. I'm not sure if it's using a self-contained version of python but it definitely isn't using the 3.10 version that has PyWinCtl installed.
from obs-zoom-and-follow.
If the issue isn't resolved by making sure your Python versions are correct, please let me know and I will reopen the issue.
from obs-zoom-and-follow.
I had some issues in the past when helping people setup this script with python36, and it always came from pywinctl not being able to load the win32api module. However with version 28 of obs allowing us to use python3.10 (obsproject/obs-studio@ab21c7e) this package problem hasn't been an issue with new installs
from obs-zoom-and-follow.
Related Issues (20)
- Not maintaining monitor override setting between OBS restarts HOT 2
- OBS crashes on exit when using this script HOT 7
- Error when loading script HOT 5
- zoom following cursor across ALL screens, not just the screen i'm trying to capture HOT 5
- It crashes when every time when I tried to zoom in on vsti plugin in Ableton Live HOT 1
- Zoom not following mouse
- After I use the script, OBS crashes when I want to change to another collection of scenes HOT 6
- Script cropping the image in Canva 3840x2160 HOT 1
- Zoom Source not available HOT 1
- Zoom Options in OBS Not showing HOT 1
- SyntaxError: invalid syntax HOT 4
- Error when activating Zoom & Follow HOT 3
- Script runs but nothing happens HOT 9
- Same issue as most users are having with the latest script HOT 9
- Multi-Monitor and PyWInCtl, PyMonCtl and PyWinBox issues HOT 4
- error when switching scene collection, source not being released HOT 1
- issue trying to use zoom HOT 5
- issue with Japanese window titles? HOT 2
- PermissionError: [WinError 5] Access denied
- Zoom and follow don't work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obs-zoom-and-follow.