Anaconda3 activate.bat 未被识别为内部或外部命令

2022-01-10 00:00:00 python jupyter conda anaconda

问题描述

我已经下载了适用于 windows 64 位操作系统的 Anaconda3.下载和安装完成后,我打开了 Anaconda 提示符,但它给了我一个很好的错误:

I have downloaded Anaconda3 for windows 64-bit operating system. After the download and install completed, I opened the Anaconda prompt but it give me this nice error:

'C:Anaconda3Scriptsactivate.bat' is not recognized as an internal or external command,operable program or batch file.

我刚刚上网并找到了一个解决方案来卸载所有以前的 python 包但没有工作.我已经在我的系统中搜索了 activate.bat 文件在 anaconda 目录的一个文件夹中找到它"并将其复制、粘贴到 Scripts 文件夹,但它给了我关于 conda 包和依赖项的错误.请有任何解决方案!!
我也无法运行任何 jupyter notebook 或 conda.实际上,我不知道如何在一堆 Anaconda 文件和包中找到它们.

I just surfed the internet and found a solution to uninstall all previous packages of python but did not work. I have searched for activate.bat file in my system " found it in one folders of anaconda directory " and copy, paste it to the Scripts folder but it gives me errors with conda packages and dependencies. Any solutions please!!
I cannot run any either jupyter notebook or conda as well. Actually, I do not know how to find them in those bunch of Anaconda files and packages.

提前致谢,,,.


解决方案

我认为通过清除所有依赖项可以解决问题.
我最初安装了 python,2.7 和 3.6.我只是摆脱所有这些.问题还没有解决.

I think the problem will be solved by clearing all dependencies.
I initially had python installed, 2.7 and 3.6. I just get rid of all of them. The problem is not solved yet.

我发现我的 MySQL 服务器正在运行.我刚刚关闭了它,但它没有用.我刚刚完全卸载,问题解决了.
Anaconda需要监听,我想是8888端口,MySQL服务器也可能使用.

I discovered that My MySQL server is running. I just closed it but it did not work. I just uninstalled it completely and The problem is solved.
Anaconda needs to listen to , I think 8888 port, which might be used also by MySQL server as well.

我希望这会有所帮助.

相关文章