执行pip 时报以下错误,可能是手动修改下/usr/bin下的python版本导致的
File "/apps/anaconda3/lib/python3.8/subprocess.py", line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
解决办法之一:
打开/usr/bin/lsb_release,修改第一行的python版本
#!/usr/bin/python3.8 -Es