C:\Users\lenovo>python
Python 3.8.8 (default, Apr 13 2021, 15:08:03) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
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
Type "help", "copyright", "credits" or "license" for more information.
在帮助文档中已经提供了解决办法,即在anaconda prompt中执行命令:c:\Anaconda3\Scripts\activate base 激活conda运行环境。