我在讲notebook下载为HTML格式时出现了这个问题, 这是由于ipython或者jupyter notebook某些包与Python版本不兼容的问题, 全更新了就好. pip install -U "ipython[all]"