mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 16:27:51 +08:00
10 lines
351 B
Plaintext
10 lines
351 B
Plaintext
|
The package python3 provides a python interpreter that supports virtual environments:
|
||
|
|
||
|
$ tools/python3/python3.10 -m venv /path/to/venv
|
||
|
$ export VIRTUAL_ENV=/path/to/venv
|
||
|
$ export PATH=/path/to/venv/bin:$PATH
|
||
|
$ export -n PYTHONHOME
|
||
|
$ unset PYTHONHOME
|
||
|
|
||
|
See https://docs.python.org/3/library/venv.html for more details.
|