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

AssertionError using --no-cache-dir #2780

Closed
qwcode opened this issue May 14, 2015 · 4 comments
Closed

AssertionError using --no-cache-dir #2780

qwcode opened this issue May 14, 2015 · 4 comments
Labels
auto-locked Outdated issues that have been locked by automation

Comments

@qwcode
Copy link
Contributor

qwcode commented May 14, 2015

in pip v7

$ pip install --no-cache-dir peppercorn
Exception:
Traceback (most recent call last):
  File "/home/qwcode/p/pypa/pip2/pip/basecommand.py", line 252, in main
    status = self.run(options, args)
  File "/home/qwcode/p/pypa/pip2/pip/commands/install.py", line 290, in run
    wb.build(autobuilding=True)
  File "/home/qwcode/p/pypa/pip2/pip/wheel.py", line 679, in build
    assert self._wheel_dir or (autobuilding and self._cache_root)
AssertionError

what should happen here?

@rbtcollins
Copy link

We shouldn't try to autobuild if the cache is disabled.

rbtcollins added a commit to rbtcollins/pip that referenced this issue May 14, 2015
dstufft added a commit that referenced this issue May 15, 2015
Issue #2780: Fix assertion installing with no cache.
@rbtcollins
Copy link

This is fixed now my branch is merged.

@qwcode qwcode closed this as completed May 15, 2015
@austinmw
Copy link

@rbtcollins I'm getting this error now #6167

@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

3 participants