[issue26998] Unable to import "site" in an embedded application

R. David Murray report at bugs.python.org
Wed May 11 08:57:32 EDT 2016


R. David Murray added the comment:

As far as I know the registry key is a supplament and not a requirement for a correctly functioning python.  There is an entire PEP about the registry keys and what to do with them...I'm not sure what the current status is on 2.7, but like I said, I believe that lack of registry keys should not keep python from working if it is installed correctly.  Python uses other methods to find its library.  Since you are in an embedded scenario, this probably means that there's something about the environment and/or disk layout that you haven't set up in the way that python expects it to be set up.  You migth try asking on python-list or the #python irc channel on freenode for help.  

I'm guessing this means there's something missing from the ebedding docs with respect to Windows, so I'm going to leave this open until that is confirmed or disproven :)

----------
components: +Windows
nosy: +paul.moore, r.david.murray, steve.dower, tim.golden, zach.ware

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26998>
_______________________________________


More information about the Python-bugs-list mailing list