We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pyvenv-tracking-mode
I have pyvenv-tracking-mode set to t. I use pyvenv-workon via .dir-locals.el. I have:
t
pyvenv-workon
.dir-locals.el
+- proj_a | +- a.py | `- .dir-locals.el `- proj_b +- a.py `- .dir-locals.el
% lsvirtualenv proj_a ====== proj_b ======
;; proj_a/.dir_locals.el ( (python-mode (eval pyvenv-workon "proj_a")) )
;; proj_b/.dir_locals.el ( (python-mode (eval pyvenv-workon "proj_b")) )
I open …/proj_a/a.py and (pyvenv-workon "proj_a") is invoked for that buffer (M-x getenv PATH concurs).
…/proj_a/a.py
(pyvenv-workon "proj_a")
M-x getenv PATH
Next, I open …/proj_b/b.py and (pyvenv-workon "proj_b") is invoked for that buffer (again, M-x getenv PATH concurs).
…/proj_b/b.py
(pyvenv-workon "proj_b")
Now, I switch back to the already open buffer for …/proj_a/a.py. M-x getenv PATH still shows that proj_b is the active virtual environment.
proj_b
#80 (comment) is vague. It suggests pyvenv-tracking-mode can be used, but fails to explain how.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have
pyvenv-tracking-mode
set tot
. I usepyvenv-workon
via.dir-locals.el
. I have:I open
…/proj_a/a.py
and(pyvenv-workon "proj_a")
is invoked for that buffer (M-x getenv PATH
concurs).Next, I open
…/proj_b/b.py
and(pyvenv-workon "proj_b")
is invoked for that buffer (again,M-x getenv PATH
concurs).Now, I switch back to the already open buffer for
…/proj_a/a.py
.M-x getenv PATH
still shows thatproj_b
is the active virtual environment.#80 (comment) is vague. It suggests
pyvenv-tracking-mode
can be used, but fails to explain how.The text was updated successfully, but these errors were encountered: