Document the interaction of virtualenv with Python interpreter autodetection #4080
Labels
P4
This is either out of scope or we don't have bandwidth to review a PR. (No assignee)
stale
Issues or PRs that are stale (no activity for 30 days)
team-Documentation
Documentation improvements that cannot be directly linked to other team labels
team-Rules-Python
Native rules for Python
type: documentation (cleanup)
Description of the problem / feature request / question:
If the bazel server is started when a python virtualenv is activated, actions are run in that virtualenv until the server restarts.
bazel clean
does not clear this state.If possible, provide a minimal example to reproduce the problem:
import
s a dependency in that virtualenvbazel shutdown
(in practice this happens automatically, which is even more surprising)It looks like it's because activating the virtualenv changes
PATH
, and the deactivation of the virtualenv doesn't propagate to the bazel server.Environment info
CentOS Linux release 7.0.1406
bazel info release
):release 0.7.0
The text was updated successfully, but these errors were encountered: