Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange AssertionError with --no-cache-dir #6159

Closed
gst opened this issue Jan 22, 2019 · 2 comments
Closed

Strange AssertionError with --no-cache-dir #6159

gst opened this issue Jan 22, 2019 · 2 comments
Labels
auto-locked Outdated issues that have been locked by automation

Comments

@gst
Copy link

gst commented Jan 22, 2019

Environment

  • pip version: 19.0
  • Python version: 3.6
  • OS: Ubuntu 18.04

Description
Getting AssertionError when installing numpy with --no-cache-dir
NB: it's the same with any package apparently .. :|

Expected behavior
Install succeeds.

How to Reproduce

  1. Create a fresh virtualenv : python3 -m virtualenv venv
  2. Then run ./venv/bin/pip install --no-cache-dir numpy
  3. An error occurs.

Output

gregory.starck@canon:~/tmp$ ./venv/bin/pip install --no-cache-dir numpy 
Looking in indexes: http://pypi:3141/root/ax/+simple/
Collecting numpy
  Downloading http://pypi:3141/root/pypi/+f/2d2/79bd99329e72c/numpy-1.16.0-cp36-cp36m-manylinux1_x86_64.whl (17.3MB)
    100% |████████████████████████████████| 17.3MB 111.4MB/s 
Exception:
Traceback (most recent call last):
  File "/home/gregory.starck/tmp/venv/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 176, in main
    status = self.run(options, args)
  File "/home/gregory.starck/tmp/venv/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 346, in run
    session=session, autobuilding=True
  File "/home/gregory.starck/tmp/venv/lib/python3.6/site-packages/pip/_internal/wheel.py", line 848, in build
    assert building_is_possible
AssertionError
gregory.starck@canon:~/tmp$ 

gregory.starck@canon:~/tmp$ ./venv/bin/pip install  numpy 
Looking in indexes: http://pypi:3141/root/ax/+simple/
Collecting numpy
  Downloading http://pypi:3141/root/pypi/+f/2d2/79bd99329e72c/numpy-1.16.0-cp36-cp36m-manylinux1_x86_64.whl (17.3MB)
    100% |████████████████████████████████| 17.3MB 123.5MB/s 
Installing collected packages: numpy
Successfully installed numpy-1.16.0
gregory.starck@canon:~/tmp$ 
@gst
Copy link
Author

gst commented Jan 22, 2019

seems duplicate of #6158

@gst gst closed this as completed Jan 22, 2019
dan-blanchard added a commit to pystorm/streamparse that referenced this issue Jan 22, 2019
@lock
Copy link

lock bot commented May 30, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label May 30, 2019
@lock lock bot locked as resolved and limited conversation to collaborators May 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

No branches or pull requests

1 participant