問題描述
我安裝了 Anaconda(添加到路徑),但是當我嘗試從 cmd 運行 Python 時,我收到以下消息:
I installed Anaconda (added to path) but when I try to run Python from the cmd, I get the following message:
警告:
此 Python 解釋器處于 conda 環境中,但尚未激活該環境.庫可能無法加載.要激活此環境,請參閱 https://conda.io/activation_
This Python interpreter is in a conda environment, but the environment has not been activated. Libraries may fail to load. To activate this environment please see https://conda.io/activation_
我點擊鏈接并嘗試激活環境,但我的 cmd 然后更改為我不熟悉的(基本)模式.
I followed the link and tried to activate the environment, but my cmd then changes to (base) mode, which I am unfamiliar with.
推薦答案
按照以下步驟進行
1) 打開 cmd 并輸入conda 激活基地"
1)open cmd and type "conda activate base"
2)然后輸入python
2)then type python
這將滿足您的問題
這篇關于CMD 警告:“Python 解釋器在 conda 環境中,但該環境尚未激活"的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!