Date: Sat, 25 Nov 2023 06:21:41 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275325] www/yt-dlp: where is the Python module installed? Message-ID: <bug-275325-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275325 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 Mac= OS 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 ca= me up. There doesn't appear to be any reference to copying files over in the P= ort 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-M= akefile#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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275325-7788>