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

相关推荐
xcLeigh4 分钟前
AI的提示词专栏:写作助手 Prompt,从提纲到完整文章
人工智能·ai·prompt·提示词
AI Echoes42 分钟前
自定义 LangChain 文档加载器使用技巧
数据库·人工智能·python·langchain·prompt·agent
laplace01235 小时前
Part 3:模型调用、记忆管理与工具调用流程(LangChain 1.0)笔记(Markdown)
开发语言·人工智能·笔记·python·langchain·prompt
长河7 小时前
提示词工程 (Prompt Engineering) 的核心技巧
prompt
麻雀无能为力7 小时前
conda使用基础
conda
迪娜学姐9 小时前
Nano Banana Pro科研绘图能力实测
论文阅读·人工智能·chatgpt·prompt·论文笔记
Aurora-silas1 天前
Conda 操作指南
conda
linmoo19861 天前
Langchain4j 系列之六 - 提示词
人工智能·langchain·prompt·提示词·message·langchain4j
da_vinci_x1 天前
【游戏场景】手绘贴图“接缝”地狱?PS 智能平铺流,3步量产无缝地砖
游戏·3d·prompt·aigc·贴图·技术美术·游戏美术
@Luminescence1 天前
conda指令汇总及入门(持续更新ing)
python·conda