系統(tǒng)之家 - 系統(tǒng)光盤(pán)下載網(wǎng)站!

當(dāng)前位置:系統(tǒng)之家 > 系統(tǒng)教程 > 使用anaconda的conda activate激活環(huán)境

Win10系統(tǒng)中使用anaconda的conda activate激活環(huán)境時(shí)報(bào)錯(cuò)應(yīng)該怎么解決?

時(shí)間:2021-06-05 10:02:36 作者:辰奕 來(lái)源:系統(tǒng)之家 1. 掃描二維碼隨時(shí)看資訊 2. 請(qǐng)使用手機(jī)瀏覽器訪問(wèn): https://m.xitongzhijia.net/xtjc/20210605/213587.html 手機(jī)查看 評(píng)論

  許多編程人員在Windows 10系統(tǒng)中使用anaconda的conda activate激活環(huán)境時(shí)都出現(xiàn)了報(bào)錯(cuò)這是什么情況呢?其實(shí)想要解決這個(gè)問(wèn)題都十分的簡(jiǎn)單,下面小編就為大家講解一下到底該怎么操作吧!

使用anaconda的conda activate激活環(huán)境

  報(bào)錯(cuò)內(nèi)容:

  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、打開(kāi)CMD,先輸入activate,回車(chē)。

  2、然后再conda activate xxx ,回車(chē) 。

  注:(xxx是你的環(huán)境名或你的環(huán)境所在路徑)

標(biāo)簽 win10教程

發(fā)表評(píng)論

0

沒(méi)有更多評(píng)論了

評(píng)論就這些咯,讓大家也知道你的獨(dú)特見(jiàn)解

立即評(píng)論

以上留言僅代表用戶個(gè)人觀點(diǎn),不代表系統(tǒng)之家立場(chǎng)

人氣教程排行

Win10系統(tǒng)推薦

官方交流群 軟件收錄