pip prohibit install without venv 1

pip prohibit install without venv

export PIP_REQUIRE_VIRTUALENV=true

Here is what the above code is Doing:
1. It’s setting the PYTHONPATH to the current directory.
2. It’s setting the PYTHONUNBUFFERED environment variable to 1.
3. It’s setting the PIP_REQUIRE_VIRTUALENV environment variable to true.

Similar Posts