pyvenv nicht arbeiten, weil ensurepip ist nicht verfügbar

Ich habe ein Upgrade von ubuntu 14.04 auf ubuntu 16.04 vor ein paar Tagen.
Wenn ich versuche, erstellen einen virtuellen env durch die Verwendung

pyvenv .venv

oder

python3 -m venv .venv

Es ist ein 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 mit beiden

sudo apt-get install python3-venv

und

sudo apt-get install python3.5-venv

aber es hat mein problem nicht lösen.

Kann mir bitte jemand helfen ?
Danke

Mein problem ist gelöst, auf-OS mit release-info: Distributor ID: LinuxMint Description: Linux Mint 18.3 Sylvia Release: 18.3
keine Antworten es gelöst für mich. noch immer stecken die gleichen Fehler

InformationsquelleAutor Louis M | 2016-09-16

Schreibe einen Kommentar