-
I just wrote a script that watches media player status on Linux using dbus_next. I typically dislike installing any project dependency globally using pip, so I would rather designate a venv for obs to use for my scripts. Is this even possible with OBS's current python script implementation? |
Beta Was this translation helpful? Give feedback.
Answered by
upgradeQ
Oct 17, 2022
Replies: 1 comment 1 reply
-
I think no. Though there is a hack, to use different version of python in GNU/Linux:
Maybe you could also rewrite your program to use polling on sockets or named pipes. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ogtega
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think no. Though there is a hack, to use different version of python in GNU/Linux:
pyenv
env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install <some_python_version>
LD_PRELOAD=./lib/libpython3.11.so obs
Maybe you could also rewrite your program to use polling on sockets or named pipes.