Steve Dower <steve.do...@python.org> added the comment:

> 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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue22213>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to