pusher / pusher-http-python

Pusher Channels HTTP API library for Python
https://pusher.com/docs/server_api_guide
MIT License
376 stars 113 forks source link

Pusher 3.1.0 is showing No module named 'nacl' #178

Closed ConfidenceYobo closed 2 years ago

ConfidenceYobo commented 2 years ago

I have tried different versions but they all show the same error:

import pusher

File "/usr/local/lib/python3.9/site-packages/pusher/__init__.py", line 3, in <module>

from .pusher import Pusher

File "/usr/local/lib/python3.9/site-packages/pusher/pusher.py", line 21, in <module>

from pusher.pusher_client import PusherClient

File "/usr/local/lib/python3.9/site-packages/pusher/pusher_client.py", line 32, in <module>

from pusher.crypto import *

File "/usr/local/lib/python3.9/site-packages/pusher/crypto.py", line 10, in <module>

import nacl

ModuleNotFoundError: No module named 'nacl'
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you'd like this issue to stay open please leave a comment indicating how this issue is affecting you. Thank you.

ConfidenceYobo commented 2 years ago

I was able to get it working on my alpine image, the issue was happening on both Ubuntu and Centos docker images.