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

yt-dlp is not installed #45

Closed
deldesir opened this issue Dec 16, 2024 · 2 comments
Closed

yt-dlp is not installed #45

deldesir opened this issue Dec 16, 2024 · 2 comments

Comments

@deldesir
Copy link
Contributor

Describe the bug
yt-dlp is not installed anymore.

Expected behavior
yt-dlp should be installed like before the renaming (with pipx install xklb)

To Reproduce

pipx install library
yt-dlp --version
@chapmanjacobd
Copy link
Owner

chapmanjacobd commented Dec 16, 2024

I don't think this behavior has changed since previous versions.

pipx does not expose programs that are dependencies of the software that was installed. Try with pip (or use pipx to install yt-dlp. But, it won't be the same yt-dlp that library uses. You would need to inject the updated dependency if you wanted to update yt-dlp inside of the place that pipx installs library) pypa/pipx#563

Actually, I don't really recommend pipx or venv. It makes things more complicated. I've never personally had issues with conflicting dependencies except on systems that target old versions of software, like CentOS; in that case, you would use venv and there would be fewer surprises like this because you are using the same environment instead of making a new one for each program which is the selling point of pipx...

@deldesir
Copy link
Contributor Author

deldesir commented Dec 16, 2024

My bad, I used to symlink yt-dlp from there with ln -sf /root/.local/share/pipx/venvs/library/bin/yt-dlp /usr/local/bin/yt-dlp and I didn't do it.

Thanks for the explanation. I can confirm yt-dlp is installed during library installation.

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

2 participants