我刚刚开始学习python,我遇到了创建虚拟环境的问题。使用virtualenv,我收到以下错误:
New python executable in /home/charles/Desktop/test/test/bin/python
/home/charles/Desktop/test/test/bin/python: error while loading shared libraries: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory
ERROR: The executable /home/charles/Desktop/test/test/bin/python is not functioning
ERROR: It thinks sys.prefix is '/home/charles/Desktop/test' (should be '/home/charles/Desktop/test/test')
ERROR: virtualenv is not compatible with this system or executable
使用“venv”,我收到以下错误:
Error: Command '['/home/charles/Toto/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
我正在使用python 3.6.1和zsh shell以及Ubuntu 17.04 64位(gnome)。