I recently was trying to use Phidgets in Python 3.6. I had the problem described here with no resolution. After several hours of tries, I found something that works. You need to add b before every string and null strings seem to require a value such as b'' or None. Thus dictionary.openRemoteIP(b'', ...