Python embedded distribution for Windows
Python is available as an embedded distribution for Windows. The distribution is a minimal, isolated build for redistribution as part of another application.
These are my notes to install third-party packages for this version of Python
using pip
. This worked for both the 32-bit
and 64-bit versions of Python 3.7.
- Download and extract either the 32-bit or 64-bit version of the embedded distribution (the ‘embeddable zip file’) from the Python website
- In the path configuration file (in the Python 3.7 distribution:
‘python37._pth’), uncomment the last line to
import site
- Download
get-pip.py
and install
pip
:> python get-pip.py
- You can now install (and, by [2], import) third-party packages with:
> python -m pip install ...
where...
is the list of package names