前言,在windows下使用coda 虚拟环境时,在激活环境 conda activate env_name 时,报错找不到 conda activate 的命令。浪费了好久的时间,找到了合适的方法。

  1. 降低conda的版本
conda install -n base conda==4.6.7
  1. 通过Win10开始菜单进入PowerShell(管理员),输入命令 set-ExecutionPolicy RemoteSigned,这是在输入一个y,回车确定执行命令就行。
  2. 还是在PowerShell 中,输入 conda init(如果报错无效命令,请执行第一步)
  3. 关掉PowerShell,重启vscode,发现可以成功进入虚拟环境了!

CommandNotFoundError: No command ‘conda conda’.
Vscode中报错 CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate’.

CommandNotFoundError: No command ‘conda activate‘相关推荐

  1. 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 ...

  2. 如何解决‘CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate’错误

    最近换了新电脑,更新到了Win11系统. 在Win11下使用Anaconda时遇到了'CommandNotFoundError: Your shell has not been properly co ...

  3. CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘. To initia

    @CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To initi ...

  4. vscode CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘.解决

    1. 问题出现: 已安装anaconda并已添加其环境变量,测试在win+cmd中输入conda及相关conda activate命令等都是正常的,但当在vscode中run/debug工程py脚本时 ...

  5. conda activate激活环境报错CommandNotFoundError: Your shell has not been properly configured

    win10下安装anaconda后,使用conda activate命令切换环境出现报错 C:\Windows\system32> conda activate testCommandNotFo ...

  6. 报错:CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘. 问题解决

    今天在VS code里跑一个小网络,想先切换conda环境,发现无法切换了,并提示报错为: PS E:\XXX> conda activate XXXXXCommandNotFoundError ...

  7. anaconda激活python_Anaconda使用conda activate激活环境出错(待完全解决)2018-06-09

    问题 今天使用激活python36环境时出错 conda activate python36 出错log CommandNotFoundError: Your shell has not been p ...

  8. Anaconda使用conda activate激活环境出错

    元学习论文总结||小样本学习论文总结 2017-2019年计算机视觉顶会文章收录 AAAI2017-2019 CVPR2017-2019 ECCV2018 ICCV2017-2019 ICLR2017 ...

  9. Pycharm中anaconda创建激活虚拟环境出现错误:Your shell has not been properly configured to use ‘conda activate‘.

    Pycharm中anaconda创建激活虚拟环境出现错误:Your shell has not been properly configured to use 'conda activate'. 前言 ...

最新文章

  1. HEOI 2012 旅行问题
  2. java课堂疑问解答与思考1
  3. 从原理上搞懂如何设置线程池参数大小?
  4. python读取第二行_从CSV文件读取第二行到Python
  5. 【Gitlab】GIT回滚master分支到指定tag版本 并提交远程仓库
  6. 从0开始做Windows Phone 7开发
  7. python 长时间运行 会停止_如何“停止”和“恢复”长时间运行Python脚本?
  8. 数据库工作笔记009---linux 导入导出postgresql数据库
  9. 自动化测试--封装getDriver的方法
  10. 无线OSS-高精度整数加法
  11. 利用VMware安装PhoenixOS(win10下)
  12. [Bullet3]常见物体和初始化
  13. 计算机网络:20 网络应用需求
  14. 百度Java出现:“现在学java的都是傻子”相关搜索!
  15. 优秀新媒体文案的4种必备能力
  16. android 本地地址转换为url,安卓 File和url之间的转换
  17. cp7s2装Linux,基礎級拆機-神舟戰神GX8CP5s1上8700發現較為雞肋-仿CP7s2
  18. linux kernel有线网卡驱动enc28j60分析 一
  19. 2021-09-04 WPF上位机通用框架平台实战-设备编辑
  20. 如何深度解析Python面向对象

热门文章

  1. 关于 git pull 和 git pull origin develop 的区别
  2. 2020年中国数字经济区域发展竞争格局报告
  3. vs2015 编译出错:Failed to register output......
  4. 安装chrome扩展插件.Crx文件时,总提示程序包无效:CRX_HEADER_INVALID
  5. flex弹性盒子(伸缩盒模型)的使用
  6. x友GRP-u8 注入-RCE漏洞复现
  7. 微信小程序 - 引入并使用 Fly.js 请求库(超级详细的教程及运行示例)提供 Fly.js 源码源文件下载,贴心的配置示例及注释,优雅快速的发起 http 网络请求
  8. 记2014“蓝桥杯全国软件大赛决赛北京之行
  9. 实现软件GPS的软硬件设计讨论
  10. php实现拼音转中文,PHP将中文转换成拼音的方法