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.

v3.0.0 on PyPi fails to install with python 2.7

See original GitHub issue
Collecting intervaltree (from pyOCD!=0.13.0->mbed-flasher==0.*,>=0.9.0->mbed-clitest->-r requirements.txt (line 1))
    Complete output from command python egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-eq9tan/intervaltree/", line 29, in <module>
        from utils import version
    ImportError: No module named utils

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

flitcommented, Dec 17, 2018

The problem seems to be that neither or include the utils package in a source distribution. So when is run when installing via pip, the utils package is truly missing.

If you add include utils/* to the problem should be fixed. Installing in Python 2.7 from an sdist tarball created with the updated manifest works without issue.

What I don’t understand is why there isn’t a problem under Python 3. (See comment below.)

chaimleibcommented, Dec 17, 2018

I’ve released 3.0.1. I hope this fixes it!

Read more comments on GitHub >

github_iconTop Results From Across the Web

'pip install' fails for every package ("Could not find a version ...
Pip 9.0.3 supports TLSv1.2 when running under system Python on macOS ... TLSv1.0 and TLSv1.1 will be rejected with a HTTP 403 at...
Read more > recently changed? - Discussions on
The weird thing is that it's completely intermittent, and only happens when pip is run inside that script. When running pip install pystache ......
Read more >
setuptools 4.0 - PyPI
Easily download, build, install, upgrade, and uninstall Python packages.
Read more >
T171886 installing pywikibot with pip fails because the ...
pip3 install -v --no-cache-dir pywikibot Collecting pywikibot 1 location(s) to search for versions of pywikibot: * ...
Read more >
Changelog - pip documentation v22.3.1
The backend can be enabled on Python 3.10 and later by installing ... e.g. a dependency 2 levels deep will be ordered before...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found