Python Incorrectly Detects 32-bit System On Windows 8.1 64-bit
PS C:\Users\************> C:\Python27\python.exe Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)] on win32 Type 'help', 'copyright', 'credi
Solution 1:
win32
doesn't necessarily mean your windows is a 32bit
system, It means you are on windows operating system, And it is just left there for historical reasons. And the properties on your This PC
are enough to confirm it is 64bit windows. There is no win64
btw.
The line you are looking for is this,
[MSC v.1500 64 bit (AMD64)]
- Meaning it was built with MSVC compiler for 64-bit
and to more reliably check for if your interpreter is running as 32bit or 64bit try this,
import sys
print(sys.maxsize > 2**32) # must return TRUE for64bit
Post a Comment for "Python Incorrectly Detects 32-bit System On Windows 8.1 64-bit"