Getting "OSError: [WinError 193] %1 is not a valid Win32 application" error even after reinstalling the right version

336 Views Asked by At

I accidentally downloaded the 32-bit version of Python on my Win 10 (64bit). I uninstalled it, reinstalled the correct version, deleted all other python files/folders that I had, also reinstalled Anaconda, but I keep getting the same error when I try to do some stuff in Jupyter.

Is there a way to fix this? Am I missing a file that is still the 32 bit version which is why my PC keeps detecting and selecting the 32bit python version as well?

1

There are 1 best solutions below

0
kluster On

Alright, it seems I have indeed missed some files in AppData when removing the wrong python bit version. Removed all files, and installed Anaconda and 64bit Python again (making sure no old files were on my PC), and it finally works.