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

Setting config value with --venv flag fails outside venv #5963

Closed
kynan opened this issue Oct 28, 2018 · 0 comments · Fixed by #6491
Closed

Setting config value with --venv flag fails outside venv #5963

kynan opened this issue Oct 28, 2018 · 0 comments · Fixed by #6491
Labels
auto-locked Outdated issues that have been locked by automation C: configuration Configuration management and loading type: bug A confirmed bug or unintended behavior

Comments

@kynan
Copy link
Contributor

kynan commented Oct 28, 2018

Environment

  • pip version: b47b2fa
  • Python version: 3.7.0
  • OS: Debian unstable

I'm running inside a conda env, though that should not matter.

Description
Setting config value with --venv flag fails outside of a virtualenv:

Fatal Internal error [id=2]. Please report as a bug.

Expected behavior

Detect I'm outside a virtualenv and fail gracefully and with a sensible error message.

How to Reproduce

Run e.g. the following:

pip config --venv set isolated true
@pradyunsg pradyunsg added type: bug A confirmed bug or unintended behavior C: configuration Configuration management and loading labels Nov 12, 2018
@Albert-Guan Albert-Guan mentioned this issue Nov 21, 2018
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 12, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 12, 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 C: configuration Configuration management and loading type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants