mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 18:39:01 +08:00
f78f4440df
* [python3] Bootstrap pip with ${CURRENT_INSTALLED_DIR} * [python3] Disable ensurepip -- add venv usage instructions Co-authored-by: Max Khon <fjoe@samodelkin.net>
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.
|