ringcentral / ringcentral-python

RingCentral Connect Platform Python SDK
MIT License
44 stars 35 forks source link

README subscription code results in `No Pubnub SDK` #9

Closed grokify closed 5 years ago

grokify commented 7 years ago

When running the README.md example subscription code, the following error is encountered:

No Pubnub SDK, skipping Pubnub test

PubNub is verified to be installed:

$ pip3 show pubnub
Name: pubnub
Version: 4.0.9

Perhaps there's an issue with the import line, import Pubnub, using PubNub 4.x?

PubNub SDK documentation uses from pubnub.pubnub import PubNub.

kirill-konshin commented 5 years ago

This is how we import: https://github.com/ringcentral/ringcentral-python/blob/master/ringcentral/subscription/subscription.py#L153 tests are passing, no logs like you mentioned.