Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why Python is running as 32 bit on 64 bit Windows 10 with 64-bit Python installed?

I have a Python script that runs on Windows 10 Pro x64.

When I open Task Manager, it shows that Python is running as 32-bit application.

enter image description here

This is weird because:

  • Python 3.12.2 is installed as 64-bit variant (double-checked)
  • Installer got from here
  • This is the only Python instance installed on this PC

enter image description here

Script was launched via double-click on it (if this is important info)

Please, explain me:

  • Why it is still shown as 32-bit in task manager? Or is it error of Task Manager?
  • Is it possible to force running all python scripts as 64-bit? If yes: how?

UPDATE / ANSWER

  • According to this documentation it is the 32-bit launcher, but the Python will be still 64-bit version
  • to bypass this, right click on the python scripts and select "Open with" and select there the 64-bit Python executable. Typically, something like this :C:\Program Files\Python312\python.exe, than when double-clicking the python script it will appear in task manager like this:
    enter image description here
  • do this only if this is the only instance of Python installed on PC
like image 526
Araneus0390 Avatar asked Mar 03 '26 05:03

Araneus0390


1 Answers

Your Python launcher is 32-bit, but it runs 64-bit Python interpreter.

like image 158
Flash Thunder Avatar answered Mar 04 '26 18:03

Flash Thunder



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!