Code: Alles auswählen
~$ python3 --version
Python 3.4.3
~$ python3 -m venv PyHardLinkBackup
Error: Command '['/home/jens/PyHardLinkBackup/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1
Also mal anders probieren:
Code: Alles auswählen
~$ rm -Rf PyHardLinkBackup/
~$ python3 -m venv --without-pip PyHardLinkBackup
~$ cd PyHardLinkBackup/
~/PyHardLinkBackup$ source bin/activate
(PyHardLinkBackup) ~/PyHardLinkBackup$ which python
/home/jens/PyHardLinkBackup/bin/python
(PyHardLinkBackup) ~/PyHardLinkBackup$ python --version
Python 3.4.3
(PyHardLinkBackup) ~/PyHardLinkBackup$ python -m ensurepip
/home/jens/PyHardLinkBackup/bin/python: No module named ensurepip
Das Modul ist einfach nicht installiert:
Code: Alles auswählen
$ python3
Python 3.4.3 (default, Mar 26 2015, 22:07:01)
[GCC 4.9.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ensurepip
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'ensurepip'
EDIT:
Wohl alles bekannt:
https://bugs.debian.org/cgi-bin/bugrepo ... bug=732703
https://bugs.launchpad.net/ubuntu/+sour ... ug/1290847