winjer / pyspotify

Python bindings for libspotify
39 stars 2 forks source link

Jukebox example not working on OSX #5

Open dfucci opened 13 years ago

dfucci commented 13 years ago

when trying to run the example module ossaudiodev can't be found since it's not part of the python package on OSX. Does someone tried a workaround for this? The error is

Traceback (most recent call last): File "jukebox.py", line 30, in from spotify.osshelper import OssController as AlsaController File "/Library/Python/2.6/site-packages/pyspotify-1.1-py2.6-macosx-10.6-universal.egg/spotify/osshelper.py", line 17, in import ossaudiodev ImportError: No module named ossaudiodev

ghost commented 13 years ago

Same problem... You found a fix?

dfucci commented 13 years ago

Not much. I've upgraded to Lion and upgraded XCode and now that'w what I get lipo: can't open input file: /var/tmp//ccGoy5Qg.out (No such file or directory) error: command 'llvm-gcc-4.2' failed with exit status 1

Still haven't found a good python wrapper for libspotify :(

tbarbugli commented 12 years ago

@slacko try to prepend this to the install cmd: env ARCHFLAGS="-arch i386 -arch x86_64"