Python学习笔记#05 - The completion db needs to be refreshed

安装matplotlib、pygal后,VS2013环境下import matplotlib时会提示The completion db needs to be refreshed

解决方法:在解决方案资源管理器里右键Python Environments,选择View All Python Environments,白色下拉框中选择IntelliSense,它会开始分析所有的Python环境下的函数库,这一步会花费较长时间,分析完后,界面上就会出现 Refresh DB 按钮,点击按钮即可。


PS:pyplot模块用起来很像Matlab,就连matplotlib包这个名字也很像,果然在matplotlib.pyplot的介绍中看到了这样的叙述:
a MATLAB-like way of plotting

猜你喜欢

转载自blog.csdn.net/weixin_43091089/article/details/99300865
今日推荐