python-librespot
python-librespot copied to clipboard
add a readme
Hi! Thanks for your work! You should add a little readme with a doc on how to build the library.
Do you think that it could be pushed into pypi (pip)?
So, what I have done so far (on ubuntu 16.04)
Installed Rust
curl -sf -L https://static.rust-lang.org/rustup.sh | sh
Compiled your lib
cargo build
This gave me a liblibrespot.so
. How I'm supposed to use it?
I tryed to rename it librespot.so and placed it into the examples folder but when I run
dynamic module does not define init function (initlibrespot)
I tried also to add the module to the path by adding this at the beginning.
import sys
sys.path.append('.')
Sorry for being that noob :)
Did you try the work around mentioned in this issue https://github.com/plietar/python-librespot/issues/3
Hi, thanks for you answer. Yes I tried a symlink. Same error
Traceback (most recent call last):
File "/home/nico/Documents/python-librespot/examples/play.py", line 5, in <module>
from librespot import Session, SpotifyId
ImportError: dynamic module does not define init function (initlibrespot)
It' doesn't work with python 2.7. And with python 3.5 I have an authentication error...