Closed grokify closed 5 years ago
When running the README.md example subscription code, the following error is encountered:
README.md
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?
import Pubnub
PubNub SDK documentation uses from pubnub.pubnub import PubNub.
from pubnub.pubnub import PubNub
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.
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:
Perhaps there's an issue with the import line,
import Pubnub
, using PubNub 4.x?PubNub SDK documentation uses
from pubnub.pubnub import PubNub
.