[英]Python 2.7 32-bit install on Win 7: No registry keys?
I have downloaded the Python 2.7.2 Windows x86 32-bit MSI from python.org and installed it on a 64-bit Windows 7 system. 我从python.org下载了Python 2.7.2 Windows x86 32位MSI,并将其安装在64位Windows 7系统上。 Everything works (at least the command-line interpreter starts and runs), but the install process does not create any
Python
entries under HKEY_LOCAL_MACHINE/SOFTWARE in the Windows registry. 一切正常(至少命令行解释器启动并运行),但安装过程不会在Windows注册表中的HKEY_LOCAL_MACHINE / SOFTWARE下创建任何
Python
条目。
Various blogs refer to problems created by incomplete Python registry entries when attempting to configure third-party libraries, but I have not found a description of the complete absence of a Python entry in the registry. 各种博客是指在尝试配置第三方库时由不完整的 Python注册表项创建的问题,但我没有找到注册表中完全没有 Python条目的描述。
I plan to use Python only with the Google Apps Engine SDK and (hopefully) django-nonrel for some fairly simple Google Apps projects. 我计划仅将Python与Google Apps Engine SDK一起使用,并且(希望)django-nonrel用于一些相当简单的Google Apps项目。 The absence of a Python registry key may not even be an issue for me, but the Django setup docs assume its existence and suggest adding path information to it as a way to populate Python's
sys.path
list. 缺少Python注册表项可能对我来说可能不是问题,但是Django安装文档假定它存在并建议添加路径信息作为填充Python的
sys.path
列表的方法。
Anyone else run into this? 其他人遇到这个? Is an additional install step necessary to create the key?
是否需要额外的安装步骤才能创建密钥? Should I manually create it using
regedit
? 我应该使用
regedit
手动创建它吗? Is it even needed, or can the PATH and/or PYTHONPATH environment variables be used for everything instead? 是否需要,或者PATH和/或PYTHONPATH环境变量可以用于所有内容吗?
32-bit applications installed on 64-bit OSes store their registry values in: HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node. 安装在64位操作系统上的32位应用程序将其注册表值存储在:HKEY_LOCAL_MACHINE \\ SOFTWARE \\ Wow6432Node中。 If you look there, you should see the settings you are looking for.
如果你看那里,你应该看到你正在寻找的设置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.