spotify-downloader: pip does not install latest version of spotdl
System OS
Windows
Python Version
3.11 (CPython)
Install Source
pip / PyPi
Install version / commit hash
Version: 3.9.6
Expected Behavior vs Actual Behavior
keeps installing Version: 3.9.6 upgrading the package does nothing
Steps to reproduce - Ensure to include actual links!
1.pip install spotdl 2.spotdl --version
Traceback
usage: spotdl [-h] [--version] [--debug-termination] [--output OUTPUT]
[--output-format {opus,m4a,ogg,mp3,wav,flac}] [--user-auth] [--use-youtube]
[--lyrics-provider {genius,musixmatch}] [-p PATH_TEMPLATE] [-f FFMPEG] [--ignore-ffmpeg-version]
[--download-threads DOWNLOAD_THREADS] [--search-threads SEARCH_THREADS] [--generate-m3u]
query [query ...]
spotdl: error: the following arguments are required: query
#notice there is not an install ffmpeg option
Other details
No response
About this issue
- Original URL
- State: closed
- Created 7 months ago
- Comments: 18 (5 by maintainers)
Explanation
Finally, I am able to replicate this issue. If anyone wants to replicate the issue, then install python 3.12.0 with pip 23.3.1. I tried the following.
pip install spotdl==3.9.6and it installed perfectly.pip install --upgrade spotdland it did NOT got upgraded to the latest version of spotdl.pip install spotdlbut it also installed the version 3.9.6.pip install spotdl==4.2.2and it gave the following error message.Judging by this, I can say with certainity that it’s the compatibility issue with the python 3.12.0.
I tried building it manually as instructed in the README section of the repo but it also didn’t work as I got the following error while executing the command
poetry installSolution
So, the work around is to either downgrade the python version to an older one or you may use the executable shared in the assets.
Meanwhile, I will fork the repo and try to fix it.
Progress Update
Edit 1: There is dependency conflicts that can’t be resolved unless those packages catch up to the latest. Got the following while manually setting up the project and executed
pip install poetryThis also seems to work:
pip install -U --force --ignore-requires-python spotdl