ImportError: No module named 'typing'
StephaneLefebvre opened this issue · comments
Stéphane Lefebvre commented
Hello,
It seems that the pip requirement misses the typing include:
ImportError: No module named 'typing'
In [1]: from wikidata.client import Client
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-1b52aaa17050> in <module>()
----> 1 from wikidata.client import Client
/home/.../lib/python3.4/site-packages/wikidata/client.py in <module>()
6 import json
7 import logging
----> 8 from typing import (TYPE_CHECKING,
9 Callable, Mapping, MutableMapping, Optional, Sequence,
10 Union, cast)
ImportError: No module named 'typing'
It can be hand fixed by pip install typing
but it might be cleaner to add it in the setup