WarningThis Python interpreter is in a conda environment but
Warning:This Python interpreter is in a conda environment, but the environment
输入python报错:
解决方案:
conda info --envs,查看Anaconda的位置,复制base后面的位置信息
conda activate E:\learning\Python\anaconda3
然后又出现问题
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'.
按照要求输入:CALL conda.bat activate
输入:conda init
WarningThis Python interpreter is in a conda environment but相关教程