Hi guys,
I’m trying to write a quick plugin which calls Periscope (https://code.google.com/p/periscope/) to fetch subtitles for a file.
I’ve noticed that the environment of the plugin seems to override my normal python env; calling the binary works, but it can’t find its dependencies ("File “/usr/local/bin/periscope”, line 4, in
import pkg_resources
ImportError: No module named pkg_resources
"). Calling the exact same command from a normal shell works fine.
Is there anything I can do to work around this problem?