v3.0.0 on PyPi fails to install with python 2.7
See original GitHub issueCollecting 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:
- Created 5 years ago
- Reactions:4
- Comments:14 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The problem seems to be that neither
MANIFEST.in
orsetup.py
include theutils
package in a source distribution. So whensetup.py
is run when installing via pip, theutils
package is truly missing.If you add
include utils/*
toMANIFEST.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.)I’ve released 3.0.1. I hope this fixes it!