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

No Module named 'yt_dlp' error. What am I doing wrong ? #372

Open
abhi-deshpande opened this issue Jan 19, 2025 · 1 comment
Open

No Module named 'yt_dlp' error. What am I doing wrong ? #372

abhi-deshpande opened this issue Jan 19, 2025 · 1 comment
Labels
question Further information is requested

Comments

@abhi-deshpande
Copy link

I am trying to add yt-dlp executable into Videomass. I am using the second option like this -

Image

But even after providing the path and granting execution permission to the file, I am still getting -

Image

Although I would like to mention that I am able to import yt-dlp by using the third option. I have provided the path for uncompressed source archive and it is working. Not sure why second option is not working for me.

@jeanslack
Copy link
Owner

This behavior is completely normal on Videomass, and it happens because you don't have yt-dlp installed on your system/environment, and by that I mean the yt_dlp package with its modules (the API). Although Videomass can also use the yt-dlp binary (or the yt-dlp.exe executable on Windows) for download processes, it always requires the API, i.e. the yt_dlp module, to be loaded when the application starts to perform other operations.

So in conclusion, indicating the path to the binary is not enough if the API is not available and will give that error.

The solution gives you two possibilities:

  1. Close the application and install the Python yt-dlp package on your system/environment.
  2. Import the Python yt_dlp package externally as you said you already did by using the third option on the yt-dlp tab of the preferences dialog.

It is also explained in the documentation, read here on page 4: https://jeanslack.github.io/Videomass/User-guide/Startup_and_Setup_en.pdf

All the documentation in PDF format can be found on the User Guide: https://jeanslack.github.io/Videomass/Docs.html

With this I hope I have been clear enough 😃

@jeanslack jeanslack added the question Further information is requested label Jan 19, 2025
@jeanslack jeanslack pinned this issue Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants