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

Add support for direct python invocation in the current environment #157

Open
dov opened this issue Jan 27, 2024 · 0 comments
Open

Add support for direct python invocation in the current environment #157

dov opened this issue Jan 27, 2024 · 0 comments

Comments

@dov
Copy link

dov commented Jan 27, 2024

When developing small scripts in python I typically have \C-c \C-c bound to a command that does something similar to:

(setq my-python-interpreter "python3")
(shell-command (concat my-python-interpreter (buffer-name)))

However this does not take the currently conda activated environment into account. How would I change the command above so that it works within the activated conda environment?

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

1 participant