Bridge and python 3.4

Supporting 2.7 and 3.2+
Post Reply
Nolface
Fresh meat
Posts: 4
Joined: Tue Aug 02, 2016 12:35 pm
Contact:

Bridge and python 3.4

Post by Nolface »

Hey guys, sorry, I'm kinda new to all this, but I'm running the bridge-simple example on a raspberry pi 2 B using python 3.4 and i just get this in return:

Code: Select all

Traceback (most recent call last):
  File "Bridge-simple.py", line 22, in <module>
    bridge = Bridge()
  File "/usr/local/lib/python3.4/dist-packages/Phidgets/Devices/Bridge.py", line 52, in __init__
    PhidgetLibrary.getDll().CPhidgetBridge_create(byref(self.handle))
  File "/usr/local/lib/python3.4/dist-packages/Phidgets/PhidgetLibrary.py", line 26, in getDll
    raise RuntimeError("Platform not supported")
RuntimeError: Platform not supported

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "Bridge-simple.py", line 24, in <module>
    print("Runtime Exception: %s" % e.details)
AttributeError: 'RuntimeError' object has no attribute 'details'
Exception ignored in: <bound method Bridge.__del__ of <Phidgets.Devices.Bridge.Bridge object at 0x76aa4770>>
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/Phidgets/Devices/Bridge.py", line 64, in __del__
    Phidget.dispose(self)
  File "/usr/local/lib/python3.4/dist-packages/Phidgets/Phidget.py", line 287, in dispose
    result = PhidgetLibrary.getDll().CPhidget_delete(self.handle)
  File "/usr/local/lib/python3.4/dist-packages/Phidgets/PhidgetLibrary.py", line 26, in getDll
    raise RuntimeError("Platform not supported")
RuntimeError: Platform not supported

Whats the deal? is it because of python3?
Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests