Installing pywin32 for python 3.5 in windows 7

倾然丶 夕夏残阳落幕 提交于 2019-12-24 08:49:51

问题


I have experiencing a problem when installing pywin32 for python 3.5 to my windows 7 PC. The problem is, installation wizard stating that I have no any python versioned as 3.5 in my registery.

My pywin32 file is downloaded from here => 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.

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.


回答1:


I strongly suggest you delete everything about python on your computer (do not forget to delete related PATH variables) and install 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




回答2:


Export in regedit HKLM\SOFTWARE\Python\PythonCore\3.5-32 and subkeys Replace in an editor "3.5-32" by "3.5" Import the resulting registry file again (by doubleclicking on it).




回答3:


use "py -m pip install pypiwin32" instead of "py -m pip install pywin32"/"pip install pywin32".

However, I found that pypiwin32 installs version 219. Pywin32's lates version is 221.



来源:https://stackoverflow.com/questions/41614608/installing-pywin32-for-python-3-5-in-windows-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!