FU Logo
  • Startseite
  • Kontakt
  • Impressum
  • Home
  • Listenauswahl
  • Anleitungen

Re: [linux-minidisc] netmdpython

<-- thread -->
<-- date -->
  • From: Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
  • To: Michael Earley <petter-earley@t-online.de>
  • Date: Sun, 10 Apr 2011 18:09:58 +0200
  • Cc: linux-minidisc mailing list <linux-minidisc@lists.fu-berlin.de>
  • Subject: Re: [linux-minidisc] netmdpython

On Apr 10, 2011, at 3:33 PM, Michael Earley wrote:

> thanks for the speedy reply.
> 
> I'm still getting the same error after sudo port install py26-crypto
> 

The problem is obviously, that your installed version of Python is not looking
for the installed extra packages at the correct location. Macports installs all
it's packages under /opt/local, including the packages for Python while the
default version of Python of MacOS looks for the packages under:

	/Library/Python/2.6/site-packages

I'm currently not sure how to properly fix that on MacOS X, but you can
use the Python version from MacPorts in the meantime by calling the
script with /opt/local/bin/python2.6:

	/opt/local/bin/python2.6 ~/linux-minidisc/netmd/lsmd.py -hUsage: lsmd.py [options]

	Options:
	  -h, --help            show this help message and exit
	  -b BUS, --bus=BUS     
	  -d DEVICE, --device=DEVICE
	  -u, --uuids

I just tested that on Snow Leopard and it works fine. Just haven't found out yet
how to fix it permanently, but I will investigate into that.

> 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

Yes. The version is correct.

Adrian


<-- thread -->
<-- date -->
  • Follow-Ups:
    • Re: [linux-minidisc] netmdpython
      • From: Michael Earley <petter-earley@t-online.de>
  • References:
    • [linux-minidisc] netmdpython
      • From: Michael Earley <petter-earley@t-online.de>
    • Re: [linux-minidisc] netmdpython
      • From: Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
    • Re: [linux-minidisc] netmdpython
      • From: Michael Earley <petter-earley@t-online.de>
  • linux-minidisc - April 2011 - Archives indexes sorted by:
    [ thread ] [ subject ] [ author ] [ date ]
  • Complete archive of the linux-minidisc mailing list
  • More info on this list...

Hilfe

  • FAQ
  • Dienstbeschreibung
  • ZEDAT Beratung
  • postmaster@lists.fu-berlin.de

Service-Navigation

  • Startseite
  • Listenauswahl

Einrichtung Mailingliste

  • ZEDAT-Portal
  • Mailinglisten Portal