-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
RUN poetry install: Readme path /README.md
does not exist.
#2288
Labels
Bug
Unexpected problem or unintended behavior that needs to be fixed
High Priority
Indicates an issue that requires immediate attention and should be addressed as soon as possible
Comments
Hi! I managed to get it work by modifying the Dockerfile like this:
|
It does build but after I can't run the commands. docker run --rm -v $(pwd):/music spotdl download https://open.spotify.com/track/0VjIjW4GlUZAMYd2vXMi3b
Creating virtualenv spotdl-1HQUp4N1-py3.13 in /root/.cache/pypoetry/virtualenvs
Warning: 'spotdl' is an entry point defined in pyproject.toml, but it's not installed as a script. You may get improper `sys.argv[0]`.
The support to run uninstalled scripts will be removed in a future release.
Run `poetry install` to resolve and get rid of this message.
Traceback (most recent call last):
File "<string>", line 1, in <module>
import sys; from importlib import import_module; sys.argv = ['spotdl', 'download', 'https://open.spotify.com/track/0VjIjW4GlUZAMYd2vXMi3b']; sys.exit(import_module('spotdl').console_entry_point())
~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/music/spotdl/__init__.py", line 13, in <module>
from spotdl.console import console_entry_point
File "/music/spotdl/console/__init__.py", line 5, in <module>
from spotdl.console.entry_point import console_entry_point
File "/music/spotdl/console/entry_point.py", line 12, in <module>
from spotdl.console.download import download
File "/music/spotdl/console/download.py", line 7, in <module>
from spotdl.download.downloader import Downloader
File "/music/spotdl/download/downloader.py", line 17, in <module>
from yt_dlp.postprocessor.modify_chapters import ModifyChaptersPP
ModuleNotFoundError: No module named 'yt_dlp' |
Poetry 2.0 has been released and it includes breaking changes, you should make the necessary changes to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug
Unexpected problem or unintended behavior that needs to be fixed
High Priority
Indicates an issue that requires immediate attention and should be addressed as soon as possible
System OS
Docker
Python Version
3.11 (CPython)
Install Source
GitHub
Install version / commit hash
3fe4828
Expected Behavior vs Actual Behavior
Expected Behavior
docker build -t spotdl .
is expected to work without any errors.Actual Behavior
spotDL cannot be built in Docker, and errors with the following message:
Steps to reproduce - Ensure to include actual links!
apt
repositorygit clone https://github.com/spotDL/spotify-downloader
cd spotify-downloader
sudo docker build -t spotdl .
Note: The command needs to be run with
sudo
, which the documentation does not mention.RUN poetry install
Traceback
Other details
No response
The text was updated successfully, but these errors were encountered: