Re: [linux-minidisc] netmdpython
Hello Adrian,
thanks for the speedy reply.
I'm still getting the same error after sudo port install py26-crypto
If I type python in the Terminal window, I get
Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Is this correct?
Regards, Michael
Am 10.04.2011 um 13:44 schrieb Adrian Glaubitz:
> 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