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()

 

solve:

Upgrade to python3.6

 

Guess you like

Origin www.cnblogs.com/sea-stream/p/11427367.html