Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named 'typing' #4

Closed
StephaneLefebvre opened this issue Sep 13, 2017 · 1 comment
Closed

ImportError: No module named 'typing' #4

StephaneLefebvre opened this issue Sep 13, 2017 · 1 comment
Assignees
Labels

Comments

@StephaneLefebvre
Copy link

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

@dahlia dahlia added the bug label Sep 17, 2017
@dahlia dahlia self-assigned this Sep 17, 2017
@dahlia dahlia closed this as completed in da0bd00 Sep 17, 2017
@dahlia
Copy link
Owner

dahlia commented Sep 17, 2017

Fixed by da0bd00 and new versions that contain the bugfix have just released: 0.5.4 (changelog) and 0.6.1 (changelog).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants