Re: [linux-minidisc] netmdpython
Hi Michael,
On Apr 10, 2011, at 1:38 PM, Michael Earley wrote:
>
> I followed the steps in https://wiki.physik.fu-berlin.de/linux-minidisc/doku.php?id=netmdpython for MacOS Snow Leopard, but hit the following error
>
I need to update these instructions, thanks for hinting me at that.
> $ ./lsmd.py -h
>
> Traceback (most recent call last):
> File "./lsmd.py", line 3, in <module>
> import libnetmd
> File "/Users/michael/linux-minidisc/netmd/libnetmd.py", line 5, in <module>
> from Crypto.Cipher import DES
> ImportError: No module named Crypto.Cipher
>
> Same error for the other python scripts. Is this a known problem, or have I missed a step?
You will need to install the crypto packages for Python. Depending on your version of Python,
you will need to install a specific version. If you're using the stock Python of MacOS X Snow
Leopard, the Python version is 2.6 and you need to install "py26-crypto":
sudo port install py26-crypto
Please let me know if this fixes your problem.
Adrian