pyspotify icon indicating copy to clipboard operation
pyspotify copied to clipboard

Jukebox example not working on OSX

Open dfucci opened this issue 14 years ago • 3 comments

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

dfucci avatar May 19 '11 08:05 dfucci

Same problem... You found a fix?

ghost avatar Oct 30 '11 17:10 ghost

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 :(

dfucci avatar Oct 30 '11 17:10 dfucci

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

tbarbugli avatar Dec 12 '11 19:12 tbarbugli