-
Notifications
You must be signed in to change notification settings - Fork 790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyWin mismatch error #731
Comments
I'm getting the exact same error. Looks like the 64-bit version is mistakenly expecting the 32-bit version of Python3.6 in the registry. See also https://sourceforge.net/p/pywin32/bugs/702/ I've added a simple registry hack to work around the problem. If your installation is in a different location (i.e., not on C:, and/or not for all users), you'll have to edit it to take that into account. Hope this helps. Original comment by: ivanlan9 |
Also getting the same error. Python 3.6-amd64 was installed for "all users", but pywin32-220.win-amd64-py3.6 won't install, expecting 32-bit. Original comment by: metolone |
Same as markt with the additon of installing in C:\python36 It shouldn't be looking for this registery entry since it is not 3.6-32, it's only 3.6 HKLM/SOFTWARE/Python/PythonCore/3.6/PythonPath exists and the value is C:\Python36\Lib;C:\Python36\DLLs\ The install path is correct as well. Also, After failing to install the next window has place to insert the two paths but you can't type or paste into them. Original comment by: dj-sylvester |
Worked as expected, thanks a lot for this fix Ivan! Original comment by: guillaumecombot |
Problem solved using Ivan fix Original comment by: guillaumecombot |
Why not repair the install package? This fix introduces rubbish in the registry that can impact on other python packages. And you have to remove the keys manually after the installation. It would be better change directly the installation package to solve this problem and to let next users don't worry about the problem. Original comment by: hectorrr |
I have simply renamed the path: HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.6-32 To: HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.6 Apparently everything works correctly: shell, import, pip... and installation of pywin32 Original comment by: tonioant |
.exe installers are now deprecated #1939 and wheels for all bitness are available on PyPI |
I downloaded/installed the latest Python for 64 bit system
(python-3.6.0b1-amd64) for use on a Win10 system.
figuring that this is now the latest/greatest Python, I then download PyWin
(pywin32-220.win-amd64-py3.6)
I get the following error - what combination should I be using?
Reported by: swsolutionsnv
Original Ticket: pywin32/bugs/731
The text was updated successfully, but these errors were encountered: