ClearBlade / ClearBlade-Python-SDK

A Python SDK for interacting with the ClearBlade Platform.
Apache License 2.0
4 stars 4 forks source link

ImportError::cannot import auth #7

Closed regostar closed 6 years ago

regostar commented 6 years ago

python BACnetAdapter.py

Traceback (most recent call last): File "BACnetAdapter.py", line 7, in from MQTT import MQTT File "/home/pi/Documents/bacnet_adapter/BACnet-Adapter/MQTT.py", line 1, in from clearblade import auth ImportError: cannot import name auth

ms1752 commented 6 years ago

Ah, I see the problem. The BACnet-Adapter expects v1 of the ClearBlade-Python-SDK, but the documentation links to the install instructions for v2.

I'd recommend uninstalling v2 with pip uninstall clearblade. Then you can follow the install instructions for v1 here.

I'll also update the BACnet-Adapter README with the correct link.

regostar commented 6 years ago

Thankyou