Using shotgun_api3 in blender

Hello Everyone!

I’ve recently cloned shotgun3 API on my machine. Using the command line prompt I can see that it’s been installed correctly.

But if I try to create my custom python script using Shotgun API, I receive a “Module not found” error.

Could anyone please help me with setting up a path inside the python script?
Or is there any other way to make it work?

Thanks in Advance!

The simplest way is to add the path at the top of your script

    import sys
    sys.path.append("/dir/to/api")
1 Like

Thanks a ton!! worked like a charm! :metal: