安装后Anaconda提示损坏 [英] Anaconda Prompt Corrupts after Installation

查看:851
本文介绍了安装后Anaconda提示损坏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照新终端时,将弹出以下错误.我也已经将Anaconda/Scripts和Anaconda路径设置为环境变量,但这似乎并没有得到解决.任何解决方案表示赞赏.

I just installed Tensorflow-gpu after creating a separate environment following the instructions from here. However post installation when I close the Prompt window and open a new terminal the following error pops up. I have set the Anaconda/Scripts and Anaconda path to the Environment Variable too still this doesn't seem to get resolved. Any solution is appreciated.

用法:conda [-h] {keygen,sign,unsign,verify,unpack,install,install- 脚本,转换,版本,帮助} ... conda:错误:无效选择:'..checkenv'(从'keygen','sign'中选择, 'unsign','verify','unpack','install','install-scripts','convert', '版本','帮助')

usage: conda [-h] {keygen,sign,unsign,verify,unpack,install,install- scripts,convert,version,help} ... conda: error: invalid choice: '..checkenv' (choose from 'keygen', 'sign', 'unsign', 'verify', 'unpack', 'install', 'install-scripts', 'convert', 'version', 'help')

C:\Users\sashw>activate keras
'activate' is not recognized as an internal or external command,
operable program or batch file.

推荐答案

我遇到了同样的问题. 解决我发现的问题的唯一方法是从头开始重新安装Conda,并通过以下命令替换tensorflow安装(已删除"--ignore-installed --upgrade"):

I had the same problem. The only way to fix the issue that I found was to re-install Conda from scratch and replace the tensorflow installation by this command (removed '--ignore-installed --upgrade'):

pip install tensorflow-gpu 

这篇关于安装后Anaconda提示损坏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆