You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.... TL:DR I think I found the problem.
pipfile.lock has pinned version 1.0.0 which requires python 3.8
gpsoauth on April 2nd changed the minimum python version to 3.8.
docker-mopidy is currently running python 3.7.
Either the pinned version in the pipfile.lock needs changed to 0.4.3, or python version needs to be updated to minimum of 3.8.
Details below of my digging!
Thanks!
DeadEnd
Trying out Mopidy for the first time.
Fighting through config etc. and I have this error on container start:
ERROR 2021-12-13 13:55:16,203 [7:MainThread] mopidy.ext
Setup of extension from entry point gmusic failed, ignoring extension.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mopidy/ext.py", line 234, in load_extensions
command = extension.get_command()
File "/usr/local/lib/python3.7/dist-packages/mopidy_gmusic/__init__.py", line 55, in get_command
from .commands import GMusicCommand
File "/usr/local/lib/python3.7/dist-packages/mopidy_gmusic/commands.py", line 1, in <module>
import gmusicapi
File "/usr/local/lib/python3.7/dist-packages/gmusicapi/__init__.py", line 2, in <module>
from gmusicapi.clients import Webclient, Musicmanager, Mobileclient
File "/usr/local/lib/python3.7/dist-packages/gmusicapi/clients/__init__.py", line 1, in <module>
from gmusicapi.clients.webclient import Webclient
File "/usr/local/lib/python3.7/dist-packages/gmusicapi/clients/webclient.py", line 9, in <module>
import gmusicapi.session
File "/usr/local/lib/python3.7/dist-packages/gmusicapi/session.py", line 9, in <module>
import gpsoauth
ModuleNotFoundError: No module named 'gpsoauth'
Attaching to the container and pip install gpsoauth fixes this error.
I know gmusic is in the pipfile:
But when I manually install gpsoauth it wants to use version 0.4.3... If I force 1.0.0 it fails:
$ pip install gpsoauth==1.0.0
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement gpsoauth==1.0.0 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.4.3)
ERROR: No matching distribution found for gpsoauth==1.0.0
Version 1.0.0 exists and was released in April of this year.
Looking at the gpsoauth repo - it looks like right around the 1.0.0 release they changed the minimum python version to 3.8: simon-weber/gpsoauth@6cffedc
I checked in the container and it is running python 3.7.
So - apologies for the long post... I'll do a TL:DR - but gpsoauth appears to fail to install due to minimum python version and the pinned version in the pipfile.lock.
Cheers!
Thanks!
DeadEnd
The text was updated successfully, but these errors were encountered:
DeadEnded
changed the title
Missing dependency gpsoauth
gpsoauth version 1.0.0 failed to install
Dec 13, 2021
DeadEnded
changed the title
gpsoauth version 1.0.0 failed to install
Gmusic extension fails - dependency gpsoauth not installed
Dec 13, 2021
.... TL:DR I think I found the problem.
pipfile.lock has pinned version 1.0.0 which requires python 3.8
gpsoauth on April 2nd changed the minimum python version to 3.8.
docker-mopidy is currently running python 3.7.
Either the pinned version in the pipfile.lock needs changed to 0.4.3, or python version needs to be updated to minimum of 3.8.
Details below of my digging!
Thanks!
DeadEnd
Trying out Mopidy for the first time.
Fighting through config etc. and I have this error on container start:
Attaching to the container and
pip install gpsoauth
fixes this error.I know gmusic is in the pipfile:
Then checking the pipfile.lock file I see a pinned version:
But when I manually install gpsoauth it wants to use version 0.4.3... If I force 1.0.0 it fails:
Version 1.0.0 exists and was released in April of this year.
Looking at the
gpsoauth
repo - it looks like right around the 1.0.0 release they changed the minimum python version to 3.8:simon-weber/gpsoauth@6cffedc
I checked in the container and it is running python 3.7.
So - apologies for the long post... I'll do a TL:DR - but gpsoauth appears to fail to install due to minimum python version and the pinned version in the pipfile.lock.
Cheers!
Thanks!
DeadEnd
The text was updated successfully, but these errors were encountered: