2016-03-29 11 views
1
[email protected]:~/Programovanie/Python/Projects/project_sql$ /usr/local/lib/python3.5/site-packages/virtualenv project_sql 

Ausgabe des Befehls oben:Wie mache ich virtualenv mit einem anderen Interpreter?

Using base prefix '/home/juldou/anaconda3' 
New python executable in /home/juldou/Programovanie/Python/Projects/project_sql/project_sql/bin/python 
/home/juldou/Programovanie/Python/Projects/project_sql/project_sql/bin/python: error while loading shared libraries: libpython3.5m.so.1.0:cannot open shared object file: No such file or directory 
ERROR: The executable /home/juldou/Programovanie/Python/Projects/project_sql/project_sql/bin/python is not functioning 
ERROR: It thinks sys.prefix is '/home/juldou/Programovanie/Python/Projects/project_sql' (should be '/home/juldou/Programovanie/Python/Projects/project_sql/project_sql') 
ERROR: virtualenv is not compatible with this system or executable 

Ich möchte meine python3.4 interpeter verwenden. Wie macht man virtualenv mit diesem Interpreter?

+1

Mögliche Duplikat [Verwenden Sie unterschiedliche Python-Version mit virtualenv] (http://stackoverflow.com/questions/ 1534210/use-different-python-version-mit-virtualenv) –

Antwort

0

Zuerst installieren virtualenv, dann

virtualenv -p python3 envname 

Jetzt haben Sie eine Venv mit python3 Interpreter