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

相关推荐
海海不掉头发1 天前
【大模型Prompt-Tuning方法进阶+提示词】-基础学习篇
人工智能·学习·prompt
qq_白羊座1 天前
‌Miniconda 和 Conda 的关系
conda
黑金IT1 天前
从“抽卡”到“工业化”:多模态 Harness 如何重塑 AI 内容生产的反馈闭环
人工智能·prompt·harness工程
人工智能培训1 天前
多模态AI模型融合难?核心问题与解决思路
人工智能·机器学习·prompt·agent·智能体
stereohomology1 天前
使用人工智能的新方向:prompt -context- harness
prompt·context·harness
黑金IT1 天前
*Qwen3-V2**与 **Gemini 4o**区别
人工智能·prompt
万物得其道者成2 天前
Cursor 提效实战:我的前端 Prompt、审查 SKILL、MCP 接入完整方法
前端·prompt
deephub2 天前
Prompt、Context、Harness:AI Agent 工程的三层架构解析
人工智能·prompt·大语言模型·context
zhangshuang-peta2 天前
MCP 与 Prompt Engineering:协议出现后,Prompt 还重要吗?
人工智能·prompt·ai agent·mcp·peta
bKYP953cL2 天前
Prompt 缓存的四种策略:从精确匹配到语义检索
spring·缓存·prompt