安裝了Anaconda诞吱,在命令行,輸入python
出現(xiàn)Warning:
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
命令行輸入:conda info --envs
查看所在位置儒洛。
然后:conda activate +所在位置進(jìn)行激活。
又出現(xiàn)報(bào)錯(cuò):
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>
解決方法:
根據(jù)提示輸入 CALL conda.bat activate狼速,回車琅锻。