简体   繁体   English

在Win 7上安装Python 2.7 32位:没有注册表项?

[英]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.

相关问题 在Win 7上安装32位Canopy,32位计算机失败 - Install 32 bit Canopy on Win 7, 32-bit machine fails Python 2.7 64位和PyOpenGL-3.0.1.win32安装 - Python 2.7 64 bit and PyOpenGL-3.0.1.win32 installation Pip 无法为 Python 3.10(32 位)安装 wxPython - Pip cannot install wxPython for Python 3.10 (32-bit) 在python下安装xgboost,32位msys失败 - Install xgboost under python with 32-bit msys failing 我在哪里可以下载/如何在 Windows 10 64 位笔记本电脑上安装适用于 Windows 的 python 2.7 32 位? Pepper 机器人需要 - Where can I download / how can I install python 2.7 32-bit for Windows on a Windows 10 64-bit laptop? Required for Pepper Robot 有没有办法在 Windows 上使用 32 位 python 2.7 从线程打开 64 位 exe? - Is there a way to open a 64-bit exe from a thread using 32-bit python 2.7 on windows? 如何在用于 ActivePython 2.7 的 OSX 10.5 32 位上安装 OpenCV 2.2? - How to install OpenCV 2.2 on OSX 10.5 32-bit for ActivePython 2.7? Python 截断为 32 位 - Python Truncating to 32-bit python中的32位unicode - 32-bit unicode in python 如何使用python 2.7 64位在virtualenv中安装pywin32? - How to install pywin32 in virtualenv with python 2.7 64 bit?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM