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

Comments

@kynan
Copy link
Contributor

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

@lock lock bot added the S: auto-locked 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.
Projects
None yet
2 participants
You can’t perform that action at this time.