As someone who is just getting started with programming and installing Python, I am looking for an answer to an installation question that hopefully doesn't involve much coding itself. This is the bottleneck that is keeping me from utilizing Python and downloading spyder, pandas etc. that I need to learn for work.
In trying to install Anaconda on my Windows PC, I am getting an error
enter image description here. Basically, it says that if I want Anaconda registered as my system Python, that I unregister this earlier Python first. This earlier Python was installed as a default part of the Pymol program installation package, which I use for structural analysis.
Based on reading the one question that has asked this on stack exchange in the past, it sounds like this means that python has already been integrated on my Windows and now when I try to code, the system will need to figure out whether I would like to do so in the Anaconda environment or with the non-anaconda Python. My questions are a) how do I unregister this other python? b) should I just uninstall the whole Pymol program (and with it, the python)? c) If I say "ok" to this prompt and download Anaconda, will this cause problems with my existing Python installation or will it not matter in the end?
I also tried emailing Anaconda support a few times before realizing that they don't provide individual support unless you're an enterprise user.
Would appreciate any and all advice on this issue so I can move forward. Thanks very much.
You don't need to unregister your previous PYTHON installation. Edit your SYSTEM PATH should fix this. In case your anaconda is before your other python installation, or remove your older Python for it at all. How to set your PATH ?, check hier:
I installed python and then changed the c:/user/(username) of my computer.
After that I am unable to unistall/repair/modify python. I tired to downgrade and upgrade but failed with error windows cannot find the path.
How can I fix this? The version which was installed is 3.7.5 and I want to install the same or the lower versions.
edit: I tried to create a folder same from the error but it did not work. I tried to manually remove the python files too.
Try using the mklink utility.
mlkink C:\Users\vishn C:\Users\<yournewdir>
It's a hack, but it should let your system work through the python repair / modify / etc. problems.
When you're done, remove the "C:\Users\Vishn"; it won't delete the thing it points to, only the shortcut.
Finally did it with help of a third party application called Revo uninstaller.
I have installed the Python IDE Spyder. For me it's a great development environment.
Some how in this process I have managed to install three versions of Python on my system.These can be located as following:
Version 2.7.6 from the OS X Terminal;
Version 2.7.8 from the Spyder Console; and
Version 2.7.9rc1 from an IDL window.
The problem I have is (I think) that the multiple versions are preventing Spyder from working correctly.
So how do I confirm that 2.7.6 is the latest version supported by Apple and is there a simple way ('silver bullet') to remove other versions from my system.
I hope this is the correct forum for this question. If not I would appreciate suggestions where I could go for help.
I want to keep my life simple and to develop python software in the Spyder IDE. I am not an OS X guru and I really don't want to get into a heavy duty command line action. To that end I just want to delete/uninstall the 'unofficial versions' of Python. Surely there must be an easy way to do this - perhaps 'pip uninstall Python-2.7.9rc1' or some such. The problem is that I am hesitant to try this due to the fear that it will crash my system.
Help on this would be greatly appreciated.
(Spyder dev here) There is no simple way to do what you ask for, at least for the Python version that comes with Spyder.
I imagine you downloaded and installed our DMG package. That package comes with its own Python version as part of the application (along with several important scientific packages), so it can't be removed because that would imply to remove Spyder itself :-)
I don't know how you installed IDL(E?), so I can't advise you on how to remove it.
I have a problem when trying to install Pygame. My Python is installed under Program Files in the C drive (C:\Program Files\Python). My registry wont show, and I have no idea what I shall do. Should it go under site-packages or what? Believe me, I've been searching around for ages in order to solve this. Please come with specific steps on what I shall do. Sorry, I'm new to this (as you can see). Correct me if I use registry wrong :)
First visit here.
Be sure that you have installed numpy properly and then check once more that you have downloaded the proper pygame binary for your specific OS (x32, x64).
If everything of the above fails, un-install python and reinstall it (again using the proper version).
I had some similar issues with PIL and after reinstalling python it fixed.
For picture issue: You can upload it to your dropbox or google drive and share here the link.
Edit: Be sure that python is in the environment variables path of windows
edit2: which version of python do you use. Python 2.x has some incoherences with python 3.x so check that too.
some months ago, I installed Python 2.7 on my laptop (my os is Windows 7).
After, I decided to use Python xy 2.7.3 instead of 'pure' Python; so, as suggested, I removed Python 2.7 and tried to install Python xy 2.7.3. However, when I tried to run the .exe file for installation, a warning window appears telling me that Python 2.7 is already installed on my computer. I tried to install a different version of Python xy (2.6) and everything went fine; however, I'd really prefer to use the latest version of Python xy.
Actually, I can't figure out what went wrong whie uninstalling Python 2.7; does someone have any clue?
I can tell you that I followed the 'normal' procedure for programm uninstalltion; control panel -> Programs -> Remove Program
Thanks in advance
Stefano
Run regedit, backup and delete the registry keys:
HKEY_LOCAL_MACHINE\Software\Python\
HKEY_CURRENT_USER\Software\Python
My problem occurred when changing from Canopy to Python(x,y).
So, also delete all folders that are left behind when uninstalling.
https://support.enthought.com/entries/23580651-Uninstalling-Canopy
I also had this issue as well. It was due to third party installs. Even though you have uninstalled python, it leaves all the third party libraries that were installed and I think Python(x,y) just detects the directory.
To fix, uninstall Python 2.7 and then check to see if C:\Python27 still exists. If it does, go ahead and delete and then try installing Python(x,y). That is what worked for me.
I faced this issue: I tried to uninstall the python and fresh install, reason my pip version issue was not getting resolved. So I deleted the python folder, removed python from system path, and when I tried to uninstall from "Uninstall a program" in control panel, it showed "Windows installation package" error window and could not clean uninstall.
Solution what i found was: In the "Uninstall a program" select python and click repair. And then uninstall the python, it worked for me. Hope this helps and save some time.
PS: I am pretty new to python, and any help correcting me would be appreciated.
Maybe to put an answer out there.
Uninstalling anything from windows can have multiple side effects residing completly on your specific machine. As to what is common:
-> Python sets itself in your windows path. Here is how to modify your windows path: http://www.computerhope.com/issues/ch000549.htm
It means that there is a probability that python is gone but the path entry might not be. That is a guess however -> more information needed
-> Are you sure that everything was removed from your computer? If you already did the normal uninstalling process - try to look up if any python directory is still present.
-> Thirdparty installed? Have you downloaded any libs that are still on your machine.
Besides from that - it could be anything - the more information you give us the more we can say about it.
Maybe this post will help you: How to completely remove Python from a Windows machine?
I had python 2.7.12 and wanted to uninstall it for 2.7.9. I had the same problem as you and to fix it I tried to delete all of the local files and then uninstall however it still gave me the same error. So instead I decided to repair the python 2.7.12 and then uninstall which worked perfectly and completely got rid of the error.
I had python 2.7 installed and enthought canopy. I wanted to switch to python(x,y) to access a full version of the OpenCV library. python(x,y) installation complained about python 2.7 already being installed after:
1)Using windows control panel
2)Removing all lingering python files
3)Removing the windows path as suggested above
Not until I removed all registry entries related to python/enthough did python(x,y) install without issue.
I installed Enthought before. When I wanted to install Python(x,y) instead, I met the problems above.
After I had tried to uninstall Enthought and Python(x,y) from the Control Panel and then restart the PC, the problem still occured the next time I installed Python(x,y).
I solved this problem by:
deleting all the relevant files in C:/User/UserName/AppData/ about Python, including the third party softwares like Enthought;
deleting the Path in user and system Environment;
=====the two steps were failed if I didn't do the third step.=====
deleting the register keys as #Daniel said. (include all the relevant keys with the prefix py if you installed the third party software about Python. )
HKEY_LOCAL_MACHINE\Software\Python\
HKEY_CURRENT_USER\Software\Python
Locate that set up file which was used to install Python. Run it and choose repair. If that doesn't solve the problem. Go to c:\Python(x,y) and delete this folder completely by shift+Del.
Run that set up file again and click on "Change" which will ultimately install the Python again. By default in my case option to add path and making that version of Python the default on my system was unchecked which can be figured out by seeing the red cross mark in one of the installation screen. Click on it if you want set up to make it default Python version and also click on the option to indicate you want the path to be added in windows environment variable.
No need to touch registry as previous ones will be overwritten again.
In my case it worked. I was getting error like:
Fatal Python error: Py_Initialize: unable to load the file system codec
LookupError: no codec search functions registered: can't find encoding
Besides that un-installation was failing from control panel. So above steps solved all of my problem. Hope it helps.
I Repaired/Modified to install all the components for the Python
version I wanted to uninstall.
Once that was done, I clicked on Uninstall/Change and that uninstalled it for good.