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 reporters.terminal

See original GitHub issue

@graphicore,

After sudo python setup.py install on the refactor-architecture branch, I get this ImportError when trying to invoke fb-check-gfonts:

felipe@guarana:~/fb-dev (refactor-architecture)*$ fontbakery-check-googlefonts.py -h
Traceback (most recent call last):
  File "/usr/local/bin/fontbakery-check-googlefonts.py", line 4, in <module>
    __import__('pkg_resources').run_script('fontbakery==0.1.0', 'fontbakery-check-googlefonts.py')
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 719, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1504, in run_script
    exec(code, namespace, namespace)
  File "/usr/local/lib/python2.7/dist-packages/fontbakery-0.1.0-py2.7.egg/EGG-INFO/scripts/fontbakery-check-googlefonts.py", line 14, in <module>
    from fontbakery.reporters.terminal import TerminalReporter
ImportError: No module named reporters.terminal

This is possibly an issue with our current setup.py

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
graphicorecommented, Jun 23, 2017

Hmm, I don’t know what it is, but this is how I set it up:

$ virturalenv venv
$ . venv/bin/activate
$ pip install -e .
# bonus
$ . bin/bash_completion
0reactions
felipesanchescommented, Jun 23, 2017

Wunderbar !

It works 😃 Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python Terminal Issue ImportError: No module named
importing the module with PyCharm causes no issue, but importing it via the terminal is not working. How do I make the terminal...
Read more >
[Django] #22361: ImportError: No module named suit
Reporter : | Owner: nobody radsepvj@… | Status: new. Type: | Version: 1.6. Uncategorized | Keywords: suit, django, python, importerror
Read more >
2021 How to Fix "No Module Named..." Error in Python
2021 How to Fix ImportError " No Module Named pkg_name" in Python! First, download the package using a terminal outside of python.
Read more >
API Reference — pytest documentation
A warning specification string, which is composed of contents of the tuple (action, message, category, module, lineno) as specified in The Warnings Filter ......
Read more >
software-properties-gtk crashed with ImportError in /usr/lib ...
ImportError : No module named gobject ... there's a missing dependency that the developers had on their machine, but the reporters don't?
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