pineapple-src/externals/vcpkg/ports/python3/usage.unix

10 lines
351 B
Text
Raw Normal View History

2022-07-23 03:01:36 +02:00
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.