【遇到问题】【python】【没有解决】
No module named 'pygal_maps_world'
查阅到的解决方案,如下
1在终端中运行下面语句(注意pip3/pip)
pip install pygal_maps_world
2
在代码文件中添加下面语句:
from pygal_maps_world.i18n import COUNTRIES
网页链接
>>> import this
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't