Wenn man definiert, welche Version von Python in einem Bash -Skript verwendet werden soll, wäre es < /p>
export PYTHON = "/path/python/python-3.5.1/bin/python"
< /code>
Aber für Python Virtualenvs führt man diese Befehle in der Befehlszeile aus < /p>
cd /path/pathto/virtualenv
source activate
cd another_directory
< /code>
Wie geht man in einem Bash -Skript "ein Python Virtualenv ein"? Was ist der Standardansatz hier?
Wie geht man bei der Ausführung eines Bash -Skripts in ein Python Virtualenv? ⇐ Python
-
- Similar Topics
- Replies
- Views
- Last post