简体   繁体   English

创建 C:\\Anaconda2 目录的 Python(x,y) 安装出现问题

[英]Trouble with Python(x,y) installation that creates a C:\Anaconda2 directory

I'm trying to reinstall a Python(x,y) distribution on my computer.我正在尝试在我的计算机上重新安装 Python(x,y) 发行版。 Before that, I had a Anaconda2 distribution and a WinPython distribution which I have uninstalled correctly (and removed system paths).在此之前,我有一个 Anaconda2 发行版和一个 WinPython 发行版,我已经正确卸载了它们(并删除了系统路径)。

I'm doing the custom installation of Python(x,y) to specify the Python path directory.我正在自定义安装 Python(x,y) 以指定 Python 路径目录。 The problem is that after the installation, if I check in the Python directory, I don't have all the packages that are supposed to be installed with PythonXY: they are all located in a C:\\Anaconda2 directory.问题是,安装后,如果我检查 Python 目录,我没有所有应该使用 PythonXY 安装的包:它们都位于 C:\\Anaconda2 目录中。 Therefore, nothing can start (Spyder or others).因此,什么都不能启动(Spyder 或其他)。

Why is it doing that ?为什么要这样做? Are all the packages not supposed to be in the C:\\Python27_XY directory that I specified during the installation?所有的包都不应该在我在安装过程中指定的 C:\\Python27_XY 目录中吗?

I solved the problem.我解决了这个问题。

Anaconda didn't clean the registry, so all modules were still registered. Anaconda 没有清理注册表,所以所有模块仍然注册。 I did a search for "anaconda" in the registry and deleted all occurences.我在注册表中搜索了“anaconda”并删除了所有出现的内容。 Now the Python(x,y) installation went well.现在 Python(x,y) 安装进展顺利。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM