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

Eshell Python does not track environment #151

Open
drdrjacobs opened this issue Oct 16, 2023 · 2 comments
Open

Eshell Python does not track environment #151

drdrjacobs opened this issue Oct 16, 2023 · 2 comments

Comments

@drdrjacobs
Copy link

drdrjacobs commented Oct 16, 2023

I have two environments that have different Python versions. However, when I switch between them, running "python" in Eshell does not track the version change.

Steps to reproduce:

  1. Open Emacs and activate one environment, for example env1.
  2. Open Eshell and run python. This gives me the expected Python version associated with env1.
  3. Exit the Python REPL and switch environments to env2, which should have a different Python version.
  4. Running python in Eshell, now still gives me the Python version associated with env1.

Restarting Eshell seems to resolve the problem.

I am on Emacs 29.1. I am also running Ubuntu 22.04 on Windows 11 WSL.

@baruch11
Copy link

Hello,
FYI, I have the same problem on emacs 29 (emacs-plus@29 on Macos ventura 13)
I reinstalled emacs-plus@28 and the problem disappeared

@necaris
Copy link
Owner

necaris commented Nov 9, 2023

Thank you @baruch11 for confirming this seems to be an Emacs version issue! I primarily use Emacs 28.x so this has been hard to reproduce. I'll try with Emacs 29, although I'm not likely to get to it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants