完整报错是:

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run$ conda init <SHELL_NAME>Currently supported shells are:- bash- fish- tcsh- xonsh- zsh- powershellSee 'conda init --help' for more information and options.IMPORTANT: You may need to close and restart your shell after running 'conda init'.

解决方法

在控制台运行:

source activate
conda deactivate

问题解析

未正确退出环境,会导致这样的报错。如果按照它说的先退出并重启shell,再执行conda init并没有什么卵用…

解决conda activate报错IMPORTANT: You may need to close and restart your shell after running ‘conda init‘相关推荐

  1. pycharm IMPORTANT: You may need to close and restart your shell after running ‘conda init‘.

    解决方法: 把windows powershell改成Command powershell 再次输入conda activate 环境名

  2. Conda activate报错 CommandNotFoundError: Your shell has not been properly configured to use ‘conda

    Conda activate报错 CommandNotFoundError: Your shell has not been properly configured to use 'conda act ...

  3. conda activate 报错

    新装了个Anacconda,激活环境的时候报错 C:\Users\17334>conda activateCommandNotFoundError: Your shell has not bee ...

  4. conda deactivate报错CommandNotFoundError: Your shell has not been properly configured to use ‘conda de

    这里写自定义目录标题 1.问题: 2.解决办法: (1)激活 anaconda 环境 (2)退出 anaconda 环境 1.问题: 当我们在ubuntu里面安装anconda以后,但是不能激活环境, ...

  5. 解决Windows下cmder中使用babun运行conda命令报错TypeError: LoadLibrary() argument 1 must be str, not None

    问题起因 众所周知,在Windows系统下使用cmd命令行对用惯了Linux命令的人来说有诸多不便,还好有cmder这个软件,让在win中使用Linux命令行成为可能.同时之前配置了Babun作为cm ...

  6. mysql5.7 1045 pc,解决MySQL5.7报错ERROR 1045 (28000): Access denied for user

    解决MySQL5.7报错ERROR 1045 (28000): Access denied for user 解决MySQL5.7报错ERROR 1045 (28000): Access denied ...

  7. Conda更新报错:requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://mirrors.tuna.t

    Conda更新报错:requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://mirrors.tuna.t ...

  8. Eclipse中更改JDK版本,解决ant编译报错的问题

    要改一个JDK版本 主要是为了解决ant编译报错,JDK版本不一致的问题. 1. Windows--Preferences--Java--Compiler(配置的为1.8)--Installed JR ...

  9. 解决fitz模块报错

    解决fitz模块报错 使用Python处理PDF文档时,需要使用fitz模块.由于Python 3.8与fitz有兼容问题,会出现以下错误信息: [省略部分错误信息] RuntimeError: Di ...

最新文章

  1. 如何开发一个区块链应用程序
  2. 用Javascript模拟微信飞机大战游戏
  3. VMware vSphere开发(1)安装配置VMware vSphere Web Services SDK的运行环境
  4. 【MyBatis】MyBatis自动生成代码之查询爬坑记
  5. 山西财经大学计算机考试题及答案,2018年山西财经大学计算机应用技术408计算机学科专业基础综合之计算机操作系统考研基础五套测试题...
  6. android和flask交互,java - 当我从Android向Flask Web服务发送参数时,如何解决“ SSL库故障”? - 堆栈内存溢出...
  7. 开源分享 Unity3d客户端与C#分布式服务端游戏框架
  8. 线性代数 矩阵消元与回代
  9. WCF 4 高级编程 - 读书笔记
  10. JMETER分布式原理
  11. 付忠庆的练习小笔记-Codeforces #276 Div2 C
  12. 《深入浅出通信原理》连载1-562合集
  13. Faster RCNN 网络分析及维度分析
  14. Windows操作系统----安全机制----Token
  15. android 隐藏应用程序,AppHider隐藏应用
  16. 熊猫在线压缩图_回归图与熊猫和脾气暴躁
  17. pygame按键持续按下响应
  18. wps怎么把xlsx转成html,怎样把wps转换成excel
  19. 《机器学习100修炼秘籍》
  20. C# 使用 Direct2D 实现斜角效果

热门文章

  1. linux下查看中断请求记录 IRQ
  2. java final修改器_Java中的“ final”关键字如何工作?(我仍然可以修改对象。)...
  3. LearnOpenGL学习笔记(四)——着色器类编写
  4. 使用spring框架时,使用xml还是注解
  5. Objective-C:NSArray的常见操作
  6. kafka相关知识点总结
  7. Crontab 计划任务
  8. JQuery:JQuery遍历详解
  9. zabbix-2.0.8日常巡检-检测项目状态
  10. 利用redis-sentinel+keepalived实现redis高可用