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.

  1. Download and extract either the 32-bit or 64-bit version of the embedded distribution (the ‘embeddable zip file’) from the Python website
  2. In the path configuration file (in the Python 3.7 distribution: ‘python37._pth’), uncomment the last line to import site
  3. Download and install pip: > python
  4. You can now install (and, by [2], import) third-party packages with: > python -m pip install ... where ... is the list of package names