--no-cache-dir causes AssertionError in wheel.py
See original GitHub issueEnvironment
- pip version: 19.0
- Python version: 3.5
- OS: Ubuntu 16.04
This issue is caused while building a Dockerfile
Description
A Dockerfile that previously built many times successfully stopped working. I looked into the issue, and pip installing with–no-cache-dir began causing an AssertionError in wheel.py.
Expected behavior No error
How to Reproduce
Inside Dockerfile, building with the line: RUN pip install -U --no-cache-dir numpy scipy sklearn pandas Pillow h5py tensorflow-serving-api==1.12.0 boto3 tqdm scikit-image
Output
Exception: Traceback (most recent call last): File “/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/base_command.py”, line 176, in main status = self.run(options, args) File “/usr/local/lib/python3.5/dist-packages/pip/_internal/commands/install.py”, line 346, in run session=session, autobuilding=True File “/usr/local/lib/python3.5/dist-packages/pip/_internal/wheel.py”, line 848, in build assert building_is_possible AssertionError
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (1 by maintainers)
Top GitHub Comments
It isn’t a duplicate of 6166, 6166 does not include the same argument.
This looks like a duplicate of Issue #6158. @austinmw it would be good to have you join the discussion there as well.