【VS2019】x64 Native Tools Command Prompt for Vs 2019使用conda命令进入环境

【VS2019】x64 Native Tools Command Prompt for Vs 2019使用conda命令进入环境

  • 安装完VS2019后,打开终端x64 Native Tools Command Prompt for Vs
    2019,直接运行conda会出现'conda' 不是内部或外部命令,也不是可运行的程序



    原因分析:这是因为没有设置anaconda的环境变量
  • 解决方法:如下





其中D:\Program Files\anaconda3是我anaconda的安装路径,根据自己的路径修改,设置完点击确定

  • 回到x64 Native Tools Command Prompt for Vs 2019,再次运行conda activate xxx,出现下述报错

  • 解决方法:
    1.运行 conda init: 在 x64 Native Tools Command Prompt 中运行以下命令:

    conda init cmd.exe
    conda init powershell

  • 2.关闭界面,重新打开,再次输入conda activate xxx,成功进入环境

相关推荐
在路上走着走着2 天前
Prompt Engineering 入门指南:从原理到上手
人工智能·prompt
砍材农夫2 天前
python环境|conda安装和使用(1)
开发语言·后端·python·conda
coft2 天前
Loop Engineering — 从“写 prompt“到“设计循环“,AI Agent 的下一次进化
人工智能·prompt
CoLiuRs2 天前
从 Prompt 到 Loop:AI 工程到底在卷什么
人工智能·prompt
AI 小老六2 天前
GEPA 架构拆解:让 Prompt 和 Skill 优化不靠玄学
数据库·人工智能·ai·架构·开源·prompt
匆匆整棹还2 天前
mamba的安装和版本对应
conda
凯丨2 天前
从写 Prompt 到Loop Engineering:AI 编程的下一次跃迁
prompt
奋飛2 天前
从 Prompt 到 Agent:LangChain 究竟解决了什么问题
ai·langchain·prompt·agent
沪漂阿龙3 天前
Context Engineering:比 Prompt Engineering 更重要的上下文工程
人工智能·langchain·prompt
猿人谷3 天前
从 Prompt Engineering 到 Loop Engineering:AI 编程正在进入“闭环工程”时代
大数据·人工智能·prompt