当我尝试用yt-dlp下载时,我会从Ubuntu终端获得这条错误消息。
bash: yt-dlp: command not found
我使用这个命令来安装yt-dlp。
python3 -m pip install -U yt-dlp
在我收到这条信息之后
WARNING: The scripts mid3cp, mid3iconv, mid3v2, moggsplit, mutagen-inspect and mutagen-pony are installed in '/home/appbox/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script yt-dlp is installed in '/home/appbox/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
如何在路径上解决和添加yt-dlp
和mid3cp
、mid3iconv
、mid3v2
、moggsplit
、mutagen-inspect
和mutagen-pony
?
发布于 2023-01-11 00:31:28
editor ~/.bashrc
搜索路径变量的声明(或创建它),然后:
export PATH=~/.local/bin:$PATH
https://unix.stackexchange.com/questions/731317
复制相似问题