简体   繁体   English

在Windows 7中为python 3.5安装pywin32

[英]Installing pywin32 for python 3.5 in windows 7

I have experiencing a problem when installing pywin32 for python 3.5 to my windows 7 PC. 在Windows 7 PC上安装python 3.5的pywin32时遇到问题。 The problem is, installation wizard stating that I have no any python versioned as 3.5 in my registery. 问题是,安装向导指出我的注册表中没有任何版本为3.5的python。

在此处输入图片说明

My pywin32 file is downloaded from here => pywin32-220.win-amd64-py3.5.exe . 我的pywin32文件是从这里=> pywin32-220.win-amd64-py3.5.exe下载的

The thing is, when I run python -V code line, I am able to see that I've python 3.5.2 on my PC. 问题是,当我运行python -V代码行时,我能够看到我在PC上安装了python 3.5.2

在此处输入图片说明

So I don't understand that is the real problem is. 所以我不明白这是真正的问题。 Did I get something wrong in logical way? 我是否在逻辑上出错了?

Any help will be greatly appreciated. 任何帮助将不胜感激。

I strongly suggest you delete everything about python on your computer (do not forget to delete related PATH variables) and install Anaconda . 我强烈建议您删除计算机上有关python的所有内容(不要忘记删除相关的PATH变量)并安装Anaconda You will be able to create several environments and much more. 您将能够创建多个环境,甚至更多。

You can find it in the link below; 您可以在下面的链接中找到它;

https://www.continuum.io/downloads https://www.continuum.io/downloads

导出regedit HKLM \\ SOFTWARE \\ Python \\ PythonCore \\ 3.5-32和子项在编辑器“ 3.5-32”中替换为“ 3.5”再次导入生成的注册表文件(通过双击它)。

use "py -m pip install pypiwin32" instead of "py -m pip install pywin32"/"pip install pywin32". 使用“ py -m pip install pypiwin32”而不是“ py -m pip install pywin32” /“ pip install pywin32”。

However, I found that pypiwin32 installs version 219. Pywin32's lates version is 221. 但是,我发现pypiwin32安装了219版。Pywin32的最新版本是221。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM