Traceback (most recent call last):



 "<ipython-input-21-ee4ded5f8da2>", line 1, in <module>

wm.render_to_file('americas.svg')



 "C:\Users\user\AppData\Roaming\Python\Python36\site-packages\pygal\graph\public.py", line 114, in render_to_file

f.write(self.render(is_unicode=True, **kwargs))



 "C:\Users\user\AppData\Roaming\Python\Python36\site-packages\pygal\graph\public.py", line 52, in render

self.setup(**kwargs)



 "C:\Users\user\AppData\Roaming\Python\Python36\site-packages\pygal\graph\base.py", line 185, in setup

self.state = State(self, **kwargs)



 "C:\Users\user\AppData\Roaming\Python\Python36\site-packages\pygal\state.py", line 35, in __init__

merge(self.__dict__, graph.config.__class__.__dict__)



 "C:\Users\user\AppData\Roaming\Python\Python36\site-packages\pygal\util.py", line 384, in merge

dict1[key] = mergextend(val, dict1.get(key, ()))



 "C:\Users\user\AppData\Roaming\Python\Python36\site-packages\pygal\util.py", line 370, in mergextend

if list1 is None or _ellipsis not in list1:

TypeError: argument of type 'Key' is not iterable

Traceback (most recent call last):

 "weixin.py", line 1080, in <module>
import coloredlogsImportError: No module named coloredlogs