virtualenv Bootstrap für Python 2und 3 nicht möglich?

Probleme bei der Installation?
Antworten
Benutzeravatar
jens
Python-Forum Veteran
Beiträge: 8502
Registriert: Dienstag 10. August 2004, 09:40
Wohnort: duisburg
Kontaktdaten:

Ist es möglich ein virtualenv Bootstrap Datei zu generiere, die mit Python 2 und 3 gleichzeitig läuft?

Mein Aktueller Versucht mit python v3.4.0 und virtualenv v1.11.6 scheitern, beim erstellen des Env. mit Python2:

Code: Alles auswählen

New python executable in /home/jens/PyLucid_env_py2/bin/python2
Also creating executable in /home/jens/PyLucid_env_py2/bin/python
Cannot find a wheel for setuptools
Cannot find a wheel for pip
Installing setuptools, pip...
  Complete output from command /home/jens/PyLucid_env_py2/bin/python2 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip:
  Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named pip
----------------------------------------
...Installing setuptools, pip...done.
Traceback (most recent call last):
  File "pylucid-boot.py", line 2690, in <module>
    main()
  File "pylucid-boot.py", line 833, in main
    symlink=options.symlink)
  File "pylucid-boot.py", line 1001, in create_environment
    install_wheel(to_install, py_executable, search_dirs)
  File "pylucid-boot.py", line 969, in install_wheel
    'PIP_NO_INDEX': '1'
  File "pylucid-boot.py", line 911, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /home/jens/PyLucid_env_py2/bin/python2 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip failed with error code 1

Das selbe skript mit Python3 aufgerufen, läuft durch...

GitHub | Open HUB | Xing | Linked in
Bitcoins to: 1JEgSQepxGjdprNedC9tXQWLpS424AL8cd
Antworten