subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
AI摘要:运行pip3时出现了subprocess.CalledProcessError错误,错误信息显示命令'lsb_release -a'返回了非零的退出状态1。为了解决这个问题,可以尝试使用命令'sudo rm /usr/bin/lsb_release'来删除lsb_release文件。
这个时候运行pip3 时出现了问题:
subprocess.CalledProcessError: Command \'(\'lsb\_release\', \'-a\')\' returned non-zero exit status 1.
解决办法
运行
sudo rm /usr/bin/lsb_release
关闭
复制链接
https://imsun.org/archives/345.html
Warning: Undefined array key "HTTP_ACCEPT_LANGUAGE" in /www/sites/imsun.org/index/usr/themes/farallon/comments.php on line 4
Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/sites/imsun.org/index/usr/themes/farallon/comments.php on line 4