My event watcher doesn’t seem to know where to find the sgtk module. I can find plenty of resources on how to use the sgtk module, but not how to install that module on anywhere outside the project configs where Tank is. Is there a way to install it on a local python installation? There doesn’t seem to be a pip command from what I can see.
The simplest way is to clone the core repo and add it to sys path
git clone https://github.com/shotgunsoftware/tk-core.git
You can actually install it using pip like so:
pip install git+https://email@example.com
See more info in the docs:
was able to solve the issue with cloning and appending to sys path, but ran into some issues when doing things across projects (watcher didn’t like using other project’s toolkits). But, I managed to fix this as well via a thread I managed to find: Help
Use the ToolkitManager to avoid these issues - you have one global object, from which you can instantiate a toolkit for any project.