问题:Permission denied: '/.local'
报错:
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/.local'
Check the permissions.
权限问题,请使用root用户安装,如果在jenkins中启动docker请使用:
withDockerContainer(args: '-u root', image: 'ubuntu:latest') {}
问题: ERROR: Cannot uninstall 'certifi'.
报错:
It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
certifi是conda自己的包,所以要先用conda进行升级:
/usr/local/miniconda3/bin/conda install -q -y certifi>=2020.06.20