Just run pip3 install obs-websocket-py in your Python venv or directly on your system. For manual install, git clone the github repo and copy the directory obswebsocket in your python project root.