ImportError: No module named 'typing'

 

k@ubuntu:~/Desktop/virtualenv$ python3
Python 3.4.3 (default, Nov 12 2018, 22:25:49) 
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from typing import Dict
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named typing
>>> exit()

 

解决:

升级到python3.6

 

文章来自:https://www.cnblogs.com/sea-stream/p/11427367.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3