Linux安裝virtualenvwrapper報錯

瑾珮發表於2020-10-24

報錯如下:
distutils.errors.DistutilsError: Command ‘[’/usr/bin/python3’, ‘-m’, ‘pip’, ‘–disable-pip-version-check’, ‘wheel’, ‘–no-deps’, ‘-w’, ‘/tmp/tmpp3zz0h98’, ‘–quiet’, ‘–index-url’, ‘http://mirrors.cloud.aliyuncs.com/pypi/simple/’, ‘pbr’]’ returned non-zero exit status 1.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
解決方法
安裝pbr擴充套件包

sudo pip install pbr -i https://pypi.tuna.tsinghua.edu.cn/simple

相關文章