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

"pip show" crash after upgrading #5637

Closed
wimglenn opened this issue Jul 22, 2018 · 5 comments
Closed

"pip show" crash after upgrading #5637

wimglenn opened this issue Jul 22, 2018 · 5 comments
Labels
auto-locked Outdated issues that have been locked by automation resolution: duplicate Duplicate of an existing issue/PR

Comments

@wimglenn
Copy link
Contributor

  • pip version: 18.0
  • Python version: 3.7.0
  • OS: macOS

create/activate a new virtualenv (python3 -m venv .venv), install latest version of pip, and then:

$ pip show requests --verbose
There was an error checking the latest version of pip
Traceback (most recent call last):
  File "/tmp/.venv/lib/python3.7/site-packages/pip/_internal/utils/outdated.py", line 106, in pip_version_check
    find_links=options.find_links,
AttributeError: 'Values' object has no attribute 'find_links'
@pradyunsg pradyunsg added the S: needs triage Issues/PRs that need to be triaged label Jul 23, 2018
@pradyunsg
Copy link
Member

Thanks for filing this issue @wimglenn! ^>^

This is a duplicate of #5433.

@pradyunsg pradyunsg added resolution: duplicate Duplicate of an existing issue/PR and removed S: needs triage Issues/PRs that need to be triaged labels Jul 23, 2018
@wimglenn
Copy link
Contributor Author

Ok! I also get this with pip show --verbose --no-cache-dir requests, in case that can help with debugging:

Traceback (most recent call last):
  File "/tmp/.venv/lib/python3.7/site-packages/pip/_internal/utils/outdated.py", line 90, in pip_version_check
    state = SelfCheckState(cache_dir=options.cache_dir)
  File "/tmp/.venv/lib/python3.7/site-packages/pip/_internal/utils/outdated.py", line 25, in __init__
    self.statefile_path = os.path.join(cache_dir, "selfcheck.json")
  File "/usr/local/bin/../Cellar/python/3.7.0/bin/../Frameworks/Python.framework/Versions/3.7/lib/python3.7/posixpath.py", line 80, in join
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not bool```

@pradyunsg
Copy link
Member

@wimglenn What's the output of pip config list for you?

@wimglenn
Copy link
Contributor Author

wimglenn commented Jul 23, 2018

@pradyunsg no output. return code 0.

@lock
Copy link

lock bot commented Jun 2, 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 Jun 2, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 2, 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 resolution: duplicate Duplicate of an existing issue/PR
Projects
None yet
Development

No branches or pull requests

2 participants