You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from pubnub.pubnub_asyncio import PubNubAsyncio
venv/lib/python3.9/site-packages/pubnub/pubnub_asyncio.py:16: in <module>
from .pubnub_core import PubNubCore
venv/lib/python3.9/site-packages/pubnub/pubnub_core.py:3: in <module>
from pubnub.endpoints.entities.membership.add_memberships import AddSpaceMembers, AddUserSpaces
E ModuleNotFoundError: No module named 'pubnub.endpoints.entities'
Started happening after 6.4.0 release. Both Python 3.9 and 3.10.
I wonder if it's because of the lack of __init__.py files in the directories?
Reproduce:
$ pip3 install pubnub==6.4.0
$ python3 -c "import pubnub.pubnub_asyncio"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/paulus/dev/hass/core/venv/lib/python3.9/site-packages/pubnub/pubnub_asyncio.py", line 16, in <module>
from .pubnub_core import PubNubCore
File "/Users/paulus/dev/hass/core/venv/lib/python3.9/site-packages/pubnub/pubnub_core.py", line 3, in <module>
from pubnub.endpoints.entities.membership.add_memberships import AddSpaceMembers, AddUserSpaces
ModuleNotFoundError: No module named 'pubnub.endpoints.entities'
Started happening after 6.4.0 release. Both Python 3.9 and 3.10.
I wonder if it's because of the lack of
__init__.py
files in the directories?Reproduce:
This works and prints no error:
The text was updated successfully, but these errors were encountered: