fromlst123 / pyodbc

Automatically exported from code.google.com/p/pyodbc
MIT No Attribution
0 stars 0 forks source link

Registry key error on installation #288

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Downloaded pyodbc-3.0.6.win-amd64-py2.7 for a 64-bit Win7 system with Python 
2.7.3:

Launch installation, and after first screen receive:
"Python version 2.7 required, which was not found in the registry"

Which key is it looking for - thinking I may have missed a part of the Python 
install (though not sure what)

Original issue reported on code.google.com by Python...@gmail.com on 28 Sep 2012 at 8:08

GoogleCodeExporter commented 9 years ago
This may be connected to issue 276.

Original comment by Python...@gmail.com on 28 Sep 2012 at 8:10

GoogleCodeExporter commented 9 years ago
I believe the problem is actually that your Python is 32-bit.  Even on 64-bit 
Windows, you can run 32-bit Python or 64-bit Python.  Most people still run 
32-bit since it is faster.

Here's how to test and what I get on my 64-bit Windows 7 test box:

>>> import platform
>>> print platform.architecture()
('32bit', 'WindowsPE')

If yours is the same, please download the win32 version:

http://code.google.com/p/pyodbc/downloads/detail?name=pyodbc-3.0.5.win32-py2.7.e
xe

I'll put this issue on hold until I hear back.  Thanks.

Original comment by mkleehammer on 29 Sep 2012 at 2:29

GoogleCodeExporter commented 9 years ago
I have the same issue with windows 8.. The command return 

>>> import platform
# C:\Python27\lib\encodings\cp437.pyc matches C:\Python27\lib\encodings\c

import encodings.cp437 # precompiled from C:\Python27\lib\encodings\cp437
import platform # from C:\Python27\lib\platform.py
# wrote C:\Python27\lib\platform.pyc
# C:\Python27\lib\string.pyc matches C:\Python27\lib\string.py
import string # precompiled from C:\Python27\lib\string.pyc
import strop # builtin
>>> print platform.architecture()
# C:\Python27\lib\struct.pyc matches C:\Python27\lib\struct.py
import struct # precompiled from C:\Python27\lib\struct.pyc
import _struct # builtin
('64bit', 'WindowsPE')
>>>

Original comment by peng....@gmail.com on 9 May 2013 at 7:08

GoogleCodeExporter commented 9 years ago
I am trying to install it on Windows 8 x64, and i get ('32bit', 'WindowsPE') 
but yet any of the recent.exe works, it won't let me change any path.

Original comment by WeaponX....@gmail.com on 12 Mar 2015 at 5:28

GoogleCodeExporter commented 9 years ago
mkleehammer's solution worked for me.

Original comment by solo...@gmail.com on 24 Aug 2015 at 9:04