Python is available as an embeddable package (also known as the "embeddable zip file").
Tcl/tk (including all dependants, such as Idle), pip and the Python documentation are not included.
venv
is not mentioned, but also seems to be missing:
C:\EmbeddablePython> python -m venv myenv
No module named venv
Is there a way to install it?
There is a way to install pip
: pip with embedded python
But pip install venv
fails:
ERROR: Could not find a version that satisfies the requirement venv (from versions: none)
ERROR: No matching distribution found for venv
pip install virtualenv
works, but virtualenv myenv
fails:
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\EmbeddablePython\\DLLs'
Is there a way to get venv or virtualenv working with the embeddable package of Python?