OSError-setuptools pkg_resources pip wheel failed with error code 1

执行virtualenv --system-site-packages venv命令时报错:
OSError: Command /home/xxx/n...ect/venv/bin/python2 - setuptools pkg_resources pip wheel failed with error code 1

解决方法:
命令行输入

export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"

你可能感兴趣的:(OSError-setuptools pkg_resources pip wheel failed with error code 1)