I installed python 64bit under windows server 2019,
python -c “import platform; print(platform.architecture())”
it will show (‘64bit’, ‘WindowsPE’)
but should be AMD64
I installed python 64bit under windows server 2019,
python -c “import platform; print(platform.architecture())”
it will show (‘64bit’, ‘WindowsPE’)
but should be AMD64
I think what you need is platform.machine()
.