This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steve.dower
Recipients Leslie, M.Kerr, eric.snow, grahamd, methane, ncoghlan, pitrou, pyscripter, steve.dower, vstinner
Date 2020-02-12.09:17:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581499026.35.0.198200943826.issue22213@roundup.psfhosted.org>
In-reply-to
Content
> I run into this issue when embedding CPython in a Windows app, and want to use some pre-installed Python, which is not part of the install package...

You'll run into many more issues if you keep doing this...

The way to use a pre-installed Python on Windows is to follow PEP 514 to find and run "python.exe" (or force your users to learn how to configure PATH, which is pretty hostile IMHO, but plenty of apps do it anyway).

If you really need to embed, then add the embeddable package (available from our downloads page) into your distribution and refer to that. Then you can also bundle whatever libraries you need and set up sys.path using the ._pth file.
History
Date User Action Args
2020-02-12 09:17:06steve.dowersetrecipients: + steve.dower, ncoghlan, pitrou, vstinner, pyscripter, grahamd, methane, eric.snow, Leslie, M.Kerr
2020-02-12 09:17:06steve.dowersetmessageid: <1581499026.35.0.198200943826.issue22213@roundup.psfhosted.org>
2020-02-12 09:17:06steve.dowerlinkissue22213 messages
2020-02-12 09:17:06steve.dowercreate