pyvenv funktioniert nicht, da surepip nicht verfügbar ist

Ich habe vor ein paar Tagen ein Upgrade von Ubuntu 14.04 auf Ubuntu 16.04 durchgeführt. Wenn ich versuche, eine virtuelle Umgebung mit @ zu erstell

pyvenv .venv

ode

python3 -m venv .venv

Es gibt einen Fehler

The virtual environment was not created successfully because ensurepip is not
available.  On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

    apt-get install python3-venv

You may need to use sudo with that command.  After installing the python3-venv
package, recreate your virtual environment.

Failing command: ['/usr/bin/python3.5', '-Im', 'ensurepip', '--upgrade', '--default-pip']

Ich habe versucht, beide auszuführen

sudo apt-get install python3-venv

un

sudo apt-get install python3.5-venv

aber es hat mein Problem nicht gelöst.

Kann jemand bitte helfen? Vielen Dan

Antworten auf die Frage(12)

Ihre Antwort auf die Frage