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

Activating environment when using 'emacs file.py' #144

Open
valankar opened this issue Mar 10, 2023 · 0 comments
Open

Activating environment when using 'emacs file.py' #144

valankar opened this issue Mar 10, 2023 · 0 comments
Labels

Comments

@valankar
Copy link

I have setup a .dir-locals.el file such as:

((python-mode . ((conda-project-env-path . "foo"))))

When opening a file within emacs, it properly sets the conda environment. However, when I start emacs with a filename such as:

emacs file.py

It does not load the environment. I have also tried with a environment.yml file with same results. Is there a way to make this work?

I am using Spacemacs FWIW. Thanks.

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

No branches or pull requests

2 participants