Python system conflict between Anaconda and existing Python installation

I am going with the basic installation of Python3.4, in which I have installed many modules over the last month, but have reached the point where the pip is close, and I am going to just install the full Anaconda on my system to penetrate deeper into the bokeh server material.

I get a popup while installing Windows 64bit (Anaconda3-2.3.0-Windows-x86_64.exe), saying

Python version 3.4 (64-bit) is already in C: \ Python34 \ We recommend that if you want Anaconda to register as your Python system, you will first unregister this Python. If you really know that this is what you click "OK", otherwise click "Cancel" to continue. enter image description here

I could not find a lot of documentation on this subject, and I'm not quite sure how to β€œunregister” this Python installation, except that it is completely removed from Windows, and I think it will. This basically tells me to check how my Python Launcher for Windows is configured after installing Anaconda? Am I completely new to this concept of registering a python system? Is this just a warning about which version of python has priority over the system path, or which installation contains file associations?

+6
source share
4 answers

Here is a link to a script that will cancel the Python installation (if you haven't met it yet). I personally have not had anything like it. It seems like it should work, but you may have to work with some paths in the script to make it work. The links in the @nightuser post are also likely to help fix the problem.

Why not just uninstall the Python version? You can do pip freeze > requirements.txt with your current Python and add them to Anaconda or create an environment with Anaconda using these packages. Anaconda has significantly reduced the amount of time I spend creating.

+4
source

The solution is to simply uninstall python (for example, run the original python installer and select the uninstall option). The Python key in the Windows registry will be deleted (which in this context means registration rejection).

+2
source

enter a description of the image here. You have already installed Python in your environment so that your system can process your Python code. Anaconda can process your Python code. If you install Anaconda and expect to use python provided by Anaconda, then your system will be confused when assigning a code job. To avoid this confusion, there is always a way to indicate which Python you want. You can ask your OS to find a specific python by changing the path to your environment in Windows:

By removing the Python path, your Python will become invisible. Changing the path is more convenient than deleting.

If you have Python compilation software like Pycharm, things will be different. Pycharm can have python3.6 and your system is Python 3.5. You need to delete the path in these programs or remove the python specified by these programs.

Pyharm

In fact, instead of registering Anaconda as a system python, you can install it first and then specify your Pycharm and system path to the Python Anaconda path. This way your Pycharm will use Python provided by Anaconda and the package and virtual environment you need. I edit this many times because I have a Great wall, so I cannot close something that pops up on my screen (because it's Blank). And all is not enough if I update. This is annoying.

My system path is Anaconda3 python36

My system path Anaconda3's python36

Add Path to Pycharm

Add path in pycharm

Or you cannot use these packages and the Anacon virtual environment

Or you can't use these packages and Anacon's virtual Environment

+1
source

You receive this invitation because you already have a different version installed. A safe way to do this is to go to the existing version directory and run the uninstaller. After the previous version is completely removed. You can start the installation as usual, it should work!

0
source

All Articles