【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,成功进入环境

相关推荐
庞轩px11 小时前
AI辅助编程的边界——Cursor实战与工程判断力
人工智能·ai·大模型·prompt·code review·aicoding
HuDie34012 小时前
prompt模版
数据库·prompt
青山师13 小时前
【大模型提示词工程深度解析:从原理到工业级实践、实践案例】
大模型·prompt·aigc·ai编程·llama·claude·agi
QFIUNE1 天前
CD-HIT 详解:序列去冗余、安装使用与聚类结果解析
linux·服务器·机器学习·数据挖掘·conda·聚类
Aision_1 天前
LangGraph 中 State、Node、Edge 是怎么协作的?
langchain·prompt·aigc·embedding·ai编程·ai写作·agi
庞轩px1 天前
Prompt Engineering——从随意提问到工程化调用
prompt·engineering·角色设定·输出格式约束·prompt模版·复杂prompt
庞轩px2 天前
大模型为什么会有“幻觉”——从训练方式到推理局限
人工智能·prompt·rag·大模型幻觉·engineering·训练方式
Aision_2 天前
为什么 CTI 场景需要知识图谱?
人工智能·python·安全·web安全·langchain·prompt·知识图谱
Ally4413 天前
LLM,Token,Context,Prompt,MCP,Agent等概念
prompt
狐狐生风3 天前
LangChain实现简易版-----PDF 文档问答机器人
人工智能·langchain·机器人·pdf·prompt