国产成人精品亚洲777人妖,欧美日韩精品一区视频,最新亚洲国产,国产乱码精品一区二区亚洲

您的位置:首頁技術文章
文章詳情頁

Win10使用anaconda的conda activate激活環境時報錯怎么辦?

瀏覽:95日期:2022-08-02 11:59:39

Win10系統是現在大家都在使用的系統,最近有用戶使用anaconda的conda activate激活環境時,遇到了報錯的情況,這是什么原因呢?原因是之前激活了conda的環境沒有用 conda deactivate 退出環境,但是問題是我使用conda deactivate會繼續出現上述bug,下面小編為大家帶來詳細的解決方法,一起來看看吧!

Win10使用anaconda的conda activate激活環境時報錯怎么辦?

報錯內容:

CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate’。

If using ‘conda activate’ from a batch script, change your

invocation to ‘CALL conda.bat activate’。

To initialize your shell, run

$ conda init 《SHELL_NAME》

Currently supported shells are:

– bash

– cmd.exe

– fish

– tcsh

– xonsh

– zsh

– powershell

See ‘conda init --help’ for more information and options.

IMPORTANT: You may need to close and restart your shell after running ‘conda init’。

解決辦法:

1、打開CMD,先輸入activate,回車。

2、然后再conda activate xxx ,回車 。

聲明:本文為CSDN博主「DK數據工作室」的原創文章,原文鏈接:https://blog.csdn.net/weixin_45941288/article/details/115544665

標簽: Windows系統 win10
相關文章:
主站蜘蛛池模板: 芒康县| 桓台县| 商城县| 高雄市| 舞钢市| 景洪市| 焦作市| 沙湾县| 富蕴县| 民丰县| 洛宁县| 鹤庆县| 绍兴市| 锦屏县| 宜兴市| 万州区| 南和县| 平果县| 华亭县| 松原市| 庆元县| 南通市| 洪雅县| 高安市| 老河口市| 格尔木市| 汉川市| 梅河口市| 北宁市| 稷山县| 聂拉木县| 栾城县| 庄浪县| 应城市| 尼木县| 青海省| 霍邱县| 五台县| 故城县| 海门市| 顺义区|