Translate

If you are using pymata-iot and are now seeing these exceptions:

/usr/bin/python3.5 /home/afy/PycharmProjects/pymata_aio/pymata_aio/pymata_iot.py
Traceback (most recent call last):
  File "/home/afy/PycharmProjects/pymata_aio/pymata_aio/pymata_iot.py", line 27, in
    from autobahn.asyncio.websocket import WebSocketServerProtocol, \
  File "/usr/local/lib/python3.5/dist-packages/autobahn/asyncio/__init__.py", line 38, in
    from autobahn.asyncio.wamp import ApplicationSession
  File "/usr/local/lib/python3.5/dist-packages/autobahn/asyncio/wamp.py", line 32, in
    from autobahn.wamp import protocol
  File "/usr/local/lib/python3.5/dist-packages/autobahn/wamp/protocol.py", line 42, in
    from autobahn.wamp.keyring import EncryptedPayload
  File "/usr/local/lib/python3.5/dist-packages/autobahn/wamp/keyring.py", line 64, in
    from pytrie import StringTrie
ImportError: No module named 'pytrie'

Process finished with exit code 1
You will need to manually install pytrie with:
pip install pytrie.

I submitted an issue with Autobahn and hopefully they will fix the issue and install pytrie automatically from a pip install.

No comments:

Post a Comment