question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ImportError: No module named interface

See original GitHub issue

After installing dedupe on linux ubuntu and following the developer setup guide (with python 2.7), I get

import dedupe
>> File "<stdin>", line 1, in <module>
  File "dedupe/__init__.py", line 16, in <module>
    from api import StaticDedupe, Dedupe
  File "dedupe/api.py", line 26, in <module>
    import dedupe.training as training
  File "dedupe/training.py", line 7, in <module>
    import blocking
  File "dedupe/blocking.py", line 9, in <module>
    from zope.index.text.textindex import TextIndex
  File "/usr/local/lib/python2.7/dist-packages/zope/index/text/__init__.py", line 1, in <module>
    from zope.index.text.textindex import TextIndex
  File "/usr/local/lib/python2.7/dist-packages/zope/index/text/textindex.py", line 19, in <module>
    from zope.interface import implementer
ImportError: No module named interface

Any clue ?

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
Tjorriemorriecommented, Aug 21, 2015

Resolved:

pip install --upgrade pip pip install --upgrade zope.interface

0reactions
Tjorriemorriecommented, Aug 21, 2015

I’m getting it too with it installed:

zope.event==4.0.3
zope.index==4.1.0
zope.interface==4.0.5
zope.schema==4.4.2
Read more comments on GitHub >

github_iconTop Results From Across the Web

unable to import interface: ModuleNotFoundError: No module ...
I installed python-interface package via pip: pip install python-interface with the following output: Requirement already satisfied: ...
Read more >
ModuleNotFoundError: No module named 'interface' · Issue #43
I installed python-interface package via pip: pip install python-interface with the following output: Requirement already satisfied: ...
Read more >
ImportError No module named toolkit interface - Edureka
I have one python script. In that file I tried to import the below module. from toolkit.interface import interface. But I got this...
Read more >
1268032 - ImportError: No module named zope.interface
I have no idea what this is, saw no relevant m.d.platform or fx-dev posts, and see no useful information in the bug that...
Read more >
ModuleNotFoundError: No module named 'zope.interface' - Help
Hi. When I try to run cerbot, I have the following error : [root@XXXXX certbot]# modules/bin/certbot. Traceback (most recent call last):
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found