Answer the question
In order to leave comments, you need to log in
How to fix Ubuntu virtualenv installation problem?
Hello, it's Ubuntu 16.04, Python 3.5.2.
I'm trying to install virtualenv sudo -H pip3 install virtualenv
and the following error pops up:
Traceback (most recent call last):
File "/usr/local/bin/pip3", line 7, in
from pip._internal.cli.main import main
File "/usr/local/lib/python3.5/dist-packages /pip/_internal/cli/main.py", line 57
sys.stderr.write(f"ERROR: {exc}")
^
SyntaxError: invalid syntax
sudo -H pip3 install --upgrade pip
Answer the question
In order to leave comments, you need to log in
Why did n't venv work ?
It seems to have appeared in version 3.3 ...
Use pythom -m venv env
this relic of virtualenv is not necessary to you.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question