Open tomnguyenn opened 3 years ago
Just bumping this. Has anyone had any luck with an M1 Mac?
A quick solve for this. If you look at the error raise in 'main python file'. You will see the problem is that you cant import zeroconf or paramiko.
Please import them manually in the python shell to see what library is conflicted or failed. For my case, it is PyNaCl missing. Therefore, just install/reinstall the library to fix the import
import paramiko Traceback (most recent call last): File "
", line 1, in File "/home/dtlam26/.local/lib/python3.7/site-packages/paramiko/init.py", line 22, in from paramiko.transport import SecurityOptions, Transport File "/home/dtlam26/.local/lib/python3.7/site-packages/paramiko/transport.py", line 90, in from paramiko.ed25519key import Ed25519Key File "/home/dtlam26/.local/lib/python3.7/site-packages/paramiko/ed25519key.py", line 22, in import nacl.signing File "/usr/lib/python3/dist-packages/nacl/signing.py", line 19, in import nacl.bindings File "/usr/lib/python3/dist-packages/nacl/bindings/init.py", line 17, in from nacl.bindings.crypto_box import ( File "/usr/lib/python3/dist-packages/nacl/bindings/crypto_box.py", line 18, in from nacl._sodium import ffi, lib ModuleNotFoundError: No module named 'nacl._sodium'
What I ran
mdt
What the docs said should happen
should show attached devices
What actually happened
This error:
Couldn't load paramiko or zeroconf -- perhaps you need to install them? On Debian derivatives, 'apt-get install python3-paramiko python3-zeroconf'.
I have confirmed with pip3 freeze that paramiko==2.7.2 and zeroconf==0.28.8 are indeed installed
I wonder if this is an issue with apple silicon or if other people have fun into the same issue...