[Bug 275325] www/yt-dlp: where is the Python module installed?
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 25 Nov 2023 06:21:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275325 Bug ID: 275325 Summary: www/yt-dlp: where is the Python module installed? Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: t.m.guymer@thomasguymer.co.uk Flags: maintainer-feedback?(yuri@freebsd.org) Assignee: yuri@freebsd.org Hi, "www/yt-dlp" installs fine and the binary "yt-dlp" works fine too. Where is the Python module "yt_dlp" installed though? In the "EMBEDDING YT-DLP" section of the README on GitHub there are examples of how to use the Python module directly for enhanced functionality. I have a script which does this on MacOS and it works fine, but running the script on FreeBSD returns the following error: >>> import yt_dlp Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'yt_dlp' I tried searching my filesystem for a folder called "yt_dlp" but nothing came up. There doesn't appear to be any reference to copying files over in the Port definition either, the only things that I could find were some references to "yt_dlp" in https://github.com/freebsd/freebsd-ports/blob/main/www/yt-dlp/files/patch-Makefile#L31-L34 but these appear to be just making the binary. Any help would be greatly appreciated, thanks. Is it as simple as appending a path to my "sys.path", if so, which path should I append? Cheers, Tom -- You are receiving this mail because: You are the assignee for the bug.