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.

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))
  Downloading https://files.pythonhosted.org/packages/7c/1c/20e098774a83f8eb8b9e90781d7570c00339f14acc412c91845f86842519/intervaltree-3.0.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-eq9tan/intervaltree/setup.py", 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

2reactions
flitcommented, Dec 17, 2018

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

If you add include utils/* to MANIFEST.in 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.)

1reaction
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 >
Pypi.org recently changed? - Discussions on Python.org
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: * https://pypi.python.org/simple/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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found