Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python modules 'spotifyapi' or 'fuzzywuzzy' not found. #644

Closed
peteralexander123 opened this issue Dec 14, 2019 · 12 comments
Closed

Python modules 'spotifyapi' or 'fuzzywuzzy' not found. #644

peteralexander123 opened this issue Dec 14, 2019 · 12 comments

Comments

@peteralexander123
Copy link

peteralexander123 commented Dec 14, 2019

I freshly installed the new tizonia version 0.18.0. on my ubuntu 18 lts but did not manage to get it to play from Spotify.
Using the parameters tizonia --spotify-allow-explicit-tracks --spotify-user --spotify-password --spotify-track-id
I got the following error. I also tried to install these packages manually but no luck there either.
My python3 binding is Python3.6.9 and I installed using:
curl -kL https://github.com/tizonia/tizonia-openmax-il/raw/master/tools/install.sh | bash

Traceback (most recent call last):
File "", line 2, in
ImportError: No module named spotipy

Python modules 'spotifyapi' or 'fuzzywuzzy' not found.
Please make sure these are installed correctly.

tizonia exiting (OMX_ErrorInsufficientResources).

[OMX.Aratelia.audio_source.spotify.pcm:port:0]
[OMX_ErrorInsufficientResources]

@peteralexander123 peteralexander123 changed the title P Python modules 'spotifyapi' or 'fuzzywuzzy' not found. Dec 14, 2019
@tizonia
Copy link
Collaborator

tizonia commented Dec 15, 2019

Hi @marsch2

I've got the impression that you are installing Tizonia on an Arch-based distro?

If that is the case, my suggestion is to wait until the AUR packages have been updated to track the newest version of Tizonia, which is 0.19.0.

0.18.0 only supported Python 2, which is generally a problem for Arch based distros. The newst Tizonia, 0.19.0, has now support for Python 3.

@peteralexander123
Copy link
Author

Hi @marsch2

I've got the impression that you are installing Tizonia on an Arch-based distro?

If that is the case, my suggestion is to wait until the AUR packages have been updated to track the newest version of Tizonia, which is 0.19.0.

0.18.0 only supported Python 2, which is generally a problem for Arch based distros. The newst Tizonia, 0.19.0, has now support for Python 3.

I'm actually using Ubuntu 18 and tried the in recommended install script which resulted in this error

@tizonia
Copy link
Collaborator

tizonia commented Dec 15, 2019

Hi @marsch2

Got it.

Apologies for the confusion. You need to wait a little. What happens is that the new release 0.19.0 was tagged on Friday, but the Debian packages are not yet in Bintray. It takes a few days to create and upload the packages for all the supported distros and architectures (Ubuntu/Debian/Raspbian, amd64 and armhf). I'm working on that as we speak.

I'll ping here when the packages are ready to download. You will just need to re-run the installation script.

@tizonia
Copy link
Collaborator

tizonia commented Dec 19, 2019

Hi @marsch2

The new packages are now available in the repos. Please re-run the installation script to get the latest version of Tizonia and, more importantly, also the new Python 3 dependencies that are required by 0.19.0.

@tizonia tizonia closed this as completed Dec 19, 2019
@Rkubinski
Copy link

@tizonia @ghost I am having the same issues today, any ideas ?

@Rkubinski
Copy link

Using python 3.7.3 for reference on Ubuntu 18, could it be anything with this ?

@peteralexander123
Copy link
Author

Running
sudo -H pip3 install --upgrade gmusicapi soundcloud youtube-dl pafy pycountry titlecase pychromecast plexapi spotipy fuzzywuzzy eventlet python-Levenshtein
sudo -H pip2 install --upgrade gmusicapi soundcloud youtube-dl pafy pycountry titlecase pychromecast plexapi fuzzywuzzy eventlet python-Levenshtein && sudo -H pip2 install git+https://github.com/plamere/spotipy.git --upgrade
should fix the error. Make sure that pip installs any dependencies because if one of those is unavailable, the others won't be installed either.

@Rkubinski
Copy link

Rkubinski commented Dec 27, 2020

Hey, still having the same error. I got the pip3 to run but there's an error for pip2

'plexapi requires python > 3.5 '

pip3 install ran well, but the same error persists with spotifyapi and fuzzywuzzy

@Rkubinski
Copy link

Rkubinski commented Dec 27, 2020

follow up - installed plexapi 4.0.0 and still the same issue:

Traceback (most recent call last):
File "", line 4, in
ValueError

Python modules 'spotifyapi' or 'fuzzywuzzy' not found.
Please make sure these are installed correctly.

tizonia exiting (OMX_ErrorInsufficientResources).

[OMX.Aratelia.audio_source.spotify.pcm:port:0]
[OMX_ErrorInsufficientResources]

@peteralexander123
Copy link
Author

Does
sudo -H pip2 install --upgrade gmusicapi soundcloud youtube-dl pafy pycountry titlecase pychromecast fuzzywuzzy eventlet python-Levenshtein && sudo -H pip2 install git+https://github.com/plamere/spotipy.git --upgrade
or
python2 -m pip install --upgrade gmusicapi soundcloud youtube-dl pafy pycountry titlecase pychromecast fuzzywuzzy eventlet python-Levenshtein && python2 -m pip install git+https://github.com/plamere/spotipy.git --upgrade
(without plexapi) work?

@Rkubinski
Copy link

Rkubinski commented Dec 27, 2020

both of them work, but theres still the same error as before

@juanrubio
Copy link
Member

@Rkubinski / @peteralexander123

Tizonia nowdays uses Python 3 so the command that you need to use to upgrade Tizonia's Python dependencies goes more or less like this:

sudo -H pip3 install gmusicapi soundcloud youtube-dl pafy pycountry titlecase pychromecast plexapi spotipy fuzzywuzzy eventlet python-Levenshtein joblib --upgrade

If after issuing this, you still see the 'spotifyapi' or 'fuzzywuzzy' not found. message, it probably means you have an issue with the Python installation on your system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants