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.

installation: no module "run"

See original GitHub issue
$ sudo pip install tickeys
Collecting tickeys
  Using cached tickeys-0.1.5.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-tig6dqhw/tickeys/setup.py", line 2, in <module>
        from tickeys import __version__, __author__, __email__
      File "/tmp/pip-build-tig6dqhw/tickeys/tickeys/__init__.py", line 5, in <module>
        from run import run
    ImportError: No module named 'run'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-tig6dqhw/tickeys

Why? Then I tried to install “run” with pip install run, but got another error:

 ⇨   pip install run                                                    1 ↵  Hack
Collecting run
  Using cached run-0.2.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-6ex44xsk/run/setup.py", line 12, in <module>
        long_description=file('README').read(),
    NameError: name 'file' is not defined

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-6ex44xsk/run

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
stardivinercommented, Feb 29, 2016

Now, the command sudo easy_install-2.7 tickeys successed.

0reactions
BillBillBillBillcommented, Aug 27, 2015

OK, thank you for the issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

ModuleNotFoundError: no module named Python Error [Fixed]
Here, you have installed numpy but running the above code throws this error: ModuleNotFoundError: No module named "nompy".
Read more >
Python error "ImportError: No module named" - Stack Overflow
I installed the library using pip3 install but was running my program as python program.py as opposed to python3 program.py .
Read more >
No module named ' ' in Python on Windows, Linux, and macOS
How to fix ModuleNotFoundError: No module named ' ' in Python on Windows, Linux, and macOS ; 00:00 Installing packages and modules using...
Read more >
No module named 'platformdirs'` when doing `poetry install ...
First running poetry install --no-dev and then running poetry install leads to the error ModuleNotFoundError: No module named 'platformdirs' ...
Read more >
Fix ModuleNotFoundError: No module named 'sklearn'
This error indicates that the scikit-learn (aka sklearn ) package was not installed, or even if it was installed for some reason it...
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