赞
踩
报错:
File "/usr/local/python3.7.5/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
解决方式
sudo find / -name 'lsb_release.py'
将查找出来的文件 复制到报错处位置
sudo cp /usr/lib/python3/dist-packages/lsb_release.py /usr/local/python3.7.5/lib/python3.7/
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。