1

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?

Anjali Shyamsundar
  • 527
  • 1
  • 5
  • 14
kluster
  • 85
  • 7
  • There is a similar question asked here https://stackoverflow.com/questions/19019720/importerror-dll-load-failed-1-is-not-a-valid-win32-application-but-the-dlls – Anjali Shyamsundar Aug 30 '19 at 17:42
  • thanks but I havent found the answer in that thread for my problem. – kluster Aug 30 '19 at 17:45
  • Did you check the path variables? it should point to the new installation. – Anjali Shyamsundar Aug 30 '19 at 17:47
  • How do I check the path variables? When I google I only see how to set it up... – kluster Aug 30 '19 at 17:53
  • This link might help: https://www.youtube.com/watch?v=Y2q_b4ugPWk as mentioned here, go to path variable settings and see if you have python path set there. If so, remove it and add the new installation path (assuming you have the admin access to your windows machine). – Anjali Shyamsundar Aug 30 '19 at 18:08
  • Also, remove any previous installation files from "C:\Users\\AppData" folder – Anjali Shyamsundar Aug 30 '19 at 18:28
  • I have watched the video, but I dont see any python path there. I did remove a lot of python folders that were in AppData...since I dont see any python path anymore, can I assume I uninstalled all of python from my PC? – kluster Aug 30 '19 at 18:45
  • If no python path there,then probably you might not have set it. Please set the new path there. Once done, verify the python version installed by typing 'python' in cmd. If my comment helped, can you upvote it :) – Anjali Shyamsundar Aug 30 '19 at 20:20

1 Answers1

1

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.

kluster
  • 85
  • 7