приветствую
в системе установлен python2.7 и python3.2
пытаюсь создать virtualenv test
sherif@master:~/projects$ virtualenv test --python=/usr/bin/python3
Running virtualenv with interpreter /usr/bin/python3
New python executable in /home/sherif/projects/test/bin/python3
Also creating executable in /home/sherif/projects/test/bin/python
Installing setuptools, pip, wheel...
Complete output from command /home/sherif/projects/test/bin/python3 - setuptools pip wheel:
Traceback (most recent call last):
File "<stdin>", line 7, in <module>
File "/usr/local/lib/python3.2/dist-packages/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/__init__.py", line 21, in <module>
File "/usr/local/lib/python3.2/dist-packages/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/_vendor/requests/__init__.py", line 66, in <module>
File "/usr/local/lib/python3.2/dist-packages/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/_vendor/requests/models.py", line 856
http_error_msg = u'%s Client Error: %s for url: %s' % (self.status_code, reason, self.url)
^
SyntaxError: invalid syntax
----------------------------------------
...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
File "/usr/local/lib/python3.2/dist-packages/virtualenv.py", line 2328, in <module>
main()
File "/usr/local/lib/python3.2/dist-packages/virtualenv.py", line 713, in main
symlink=options.symlink)
File "/usr/local/lib/python3.2/dist-packages/virtualenv.py", line 945, in create_environment
download=download,
File "/usr/local/lib/python3.2/dist-packages/virtualenv.py", line 901, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
File "/usr/local/lib/python3.2/dist-packages/virtualenv.py", line 797, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /home/sherif/projects/test/bin/python3 - setuptools pip wheel failed with error code 1
как лечить?