obsproject / obsproject/obs-studio

Python 3.11.8 doesn't load with OBS 30.0.2 on macOS

Open
#10,314 2 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
76.4k
Forks
10.2k
Avg merge
4d 23h
Merged PRs (30d)
12

Description

Operating System Info

macOS 14

Other OS

No response

OBS Studio Version

30.0.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/9bMe4y3ecUCAPFBO

OBS Studio Crash Log URL

No response

Expected Behavior

Python loads in OBS.

Current Behavior

"Python not currently loaded" shows on the Python Settings tab.

Steps to Reproduce

I had Python 3.11.7 installed through brew. At the end of yesterday, I ran brew update, which installed Python 3.11.8. When I launched OBS for the day, it could no longer find 3.11.7 (which was expected), but then I couldn't change it to 3.11.8 without seeing "Python not currently loaded".

Anything else we should know?

I ended up having to install pyenv and launching Python through that:

  • brew update
  • brew install pyenv
  • env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.11.7
  • Select Python version globally:
    • pyenv global 3.11.7
  • Figure out where the framework folder is:
    • pyenv root
      • This outputs something like ~/.pyenv, which means you can find your framework in ~/.pyenv/versions/3.11.7/Library/Frameworks.
  • Just make sure that you tell your shell to use pyenv's path by putting this in your shell's rc file if you want to install any dependencies globally:
    • eval "$(pyenv init -)"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the OBS Python Settings tab and the linked OBS log, then compare how OBS discovers the Homebrew Python 3.11.8 framework with the documented pyenv setup. Reproduce the failure on macOS 14 with OBS 30.0.2; done means Python loads in OBS after the Homebrew upgrade without requiring the workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.