Closed StephaneLefebvre closed 6 years ago
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
pip install typing
Fixed by da0bd002124d43c758e3901e8208945952f66d2b and new versions that contain the bugfix have just released: 0.5.4 (changelog) and 0.6.1 (changelog).
Hello,
It seems that the pip requirement misses the typing include: 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