Hi All
I’m working with the python requests library and a deadline event plugin and I’m having some trouble on Linux. I think the problem is probably a lack of understanding on my part as to the difference between dpython and python2.7 in the Deadline/bin folder, so if anyone can offer any pointers it would be really appreciated.
I’ve installed the requests library, and this is the current situation:
This python2.7 works fine:
$ /opt/Thinkbox/Deadline7/bin/python/bin/python2.7
import requests
So does this dpython:
$ /opt/Thinkbox/Deadline7/bin/python/bin/dpython
import requests
But this dpython doesn’t
$ /opt/Thinkbox/Deadline7/bin/dpython
import requests
ImportError: No module named ‘requests.packages.urllib3’
ERROR:root:code for hash md5 was not found…
Which is strange to me, as if I do this
$ /opt/Thinkbox/Deadline7/bin/dpython
import sys
sys.path
The lists of paths are identical, suggesting to me that dpython should have access to the required libraries for requests to work.
What is the difference between the two dpythons?
I’ve attached the pulse log which includes the full Traceback (which seems to all revolve around hashlib). Worth noting as well that this is something I’ve only tested with 7.1 beta.
Thanks