简体   繁体   English

为什么 Anaconda 发行版不能在 Windows 10 64 位上运行?

[英]Why isn't Anaconda distribution functioning on Windows 10 64 bit?

I am having trouble getting the Anaconda distribution to function properly on my Windows 10 computer (64 bit).我无法让 Anaconda 发行版在我的 Windows 10 计算机(64 位)上正常运行。

I downloaded the 64 bit graphical installer for Python 3.7.我下载了 Python 3.7 的 64 位图形安装程序。 I installed Anaconda for all users and it lives in this path:我为所有用户安装了 Anaconda,它位于以下路径中:

C:\ProgramData\Anaconda3

(I also tried to install for “just my user” but it didn't help.) (我也尝试为“仅我的用户”安装,但没有帮助。)

The issue is my computer does not recognize Anaconda.问题是我的电脑无法识别 Anaconda。 When I open my command prompt and enter in “ conda ” , “ jupyter notebook ”, or “ python ” - I get an error message below:当我打开命令提示符,然后在“输入conda ”,“ jupyter notebook ”或“ python ” -我得到下面的错误信息:

'conda/jupyter/python' is not recognized as an internal or external command, operable program or batch file. 'conda/jupyter/python' 不是内部或外部命令,也不是可运行的程序或批处理文件。

I uninstalled and reinstalled and selected the checkbox during the setup wizard to “add Anaconda to my PATH environment variable” and I still received the same error message when using the command prompt to locate Anaconda.我在安装向导中卸载并重新安装并选中了“将 Anaconda 添加到我的 PATH 环境变量”复选框,但在使用命令提示符定位 Anaconda 时,我仍然收到相同的错误消息。

I then manually attempted to add the following paths to my PATH environment variable (for both user and system variables):然后我手动尝试将以下路径添加到我的 PATH 环境变量(对于用户和系统变量):

C:\ProgramData\Anaconda3
C:\ProgramData\Anaconda3\Scripts
C:\ProgramData\Anaconda3\Library\bin

That still did not work.那还是不行。 I restarted my computer and tried it again - did not work.我重新启动了我的电脑并再次尝试 - 没有用。

I also cannot use Anaconda Prompt or Anaconda Navigator.我也不能使用 Anaconda Prompt 或 Anaconda Navigator。 I understand that they are supposed to be available through the start menu after installation, but they are not.我知道它们应该在安装后通过开始菜单可用,但它们不是。 I have also tried to locate them through the Command Prompt but they are not there either.我也尝试通过命令提示符找到它们,但它们也不在那里。

Overall, I have restarted my computer and reinstalled Anaconda numerous times and nothing has worked.总的来说,我已经重新启动了我的计算机并重新安装了 Anaconda 多次,但没有任何效果。 I'm not sure what to do next.我不知道接下来要做什么。

I have discovered the answer!我发现了答案! It seems that my virus software (McAfee Endpoint Security) was blocking Anaconda from working correctly.我的病毒软件 (McAfee Endpoint Security) 似乎阻止了 Anaconda 正常工作。 The workaround was to install an older version of Python (I used the Dec. 2018 version) from the Continuum repo here .解决方法是从 Continuum repo here安装旧版本的 Python(我使用的是 2018 年 12 月的版本)。

open up a windows cmd prompt and try set PATH=/c/programdata\\anaconda3:$PATH It is important to note that the exe file for Anaconda is _conda.exe.打开 Windows cmd 提示符并尝试设置 PATH=/c/programdata\\anaconda3:$PATH 重要的是要注意 Anaconda 的 exe 文件是 _conda.exe。 So to check if this was successful type which python and which _conda into the command prompt.因此,要检查这是否成功,请在命令提示符中输入 which python 和 which _conda。

I tried to install Anaconda 3.7 in windows 10 and, for some reason, only the 32bit version worked.我尝试在 Windows 10 中安装 Anaconda 3.7,但出于某种原因,只有 32 位版本有效。 For the 64bit I can't find the launching icons and conda commands are not recognized in the cmd.对于 64 位,我找不到启动图标,并且在 cmd 中无法识别 conda 命令。

Downloading a previous version of the anaconda distribution might do it.下载以前版本的 anaconda 发行版可能会这样做。

Check out the archive to find and download your choice of preference.查看存档以查找和下载您选择的首选项。

I installed the earlier anaconda32020.02 64 bit from the archive and it worked fine.我从存档中安装了较早的 anaconda32020.02 64 位,并且运行良好。

I'll update to 2020.07 at a later(debugged) date.我将在稍后(调试)日期更新到 2020.07。

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

相关问题 在Windows 10,64位的Anaconda上进行PIL安装 - PIL installation on anaconda for windows 10, 64 bit 在Windows 10 Home(64位)上安装后无法使用Anaconda分发-缺少python36.dll - Not able to use Anaconda distribution after installation on Windows 10 Home (64-bit) - python36.dll missing 如何在 Windows 10(64 位)中访问 Anaconda 命令提示符 - How to access Anaconda command prompt in Windows 10 (64-bit) 为什么 Anaconda for Windows 安装不正确? - Why isn't Anaconda for Windows Installing Properly? spacy Can't find model 'en_core_web_sm' on windows 10 and Python 3.5.3:: Anaconda custom (64-bit) - spacy Can't find model 'en_core_web_sm' on windows 10 and Python 3.5.3 :: Anaconda custom (64-bit) 运行theano时的编译失败 - 使用Anaconda python发行版的Windows 8.1 64位 - compilation failure when running theano - windows 8.1 64 bit with Anaconda python distribution 无法在 python 中导入 tensorflow,windows 10 64 位 - can't import tensorflow in python, windows 10 64 bit Anaconda 2020.02 上 Windows 10 64,导航器问题 - Anaconda 2020.02 on Windows 10 64, problems with navigator Anaconda 导航器打不开(W10-64bit) - Anaconda Navigator Not Opening (W10-64bit) 无法在Windows 10的python 3.6 64bits上运行pyqt5(无anaconda无virtualenv) - Couldn't run pyqt5 on python 3.6 64bits on Windows 10 (No anaconda no virtualenv)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM