-
Notifications
You must be signed in to change notification settings - Fork 57
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
pyvenv workon ignoring conda env paths #79
Comments
Not sure if related but I have noticed this error message in the messages buffer, when invoking python execution of the
|
Interestingly, if I do a
Also, this does not trigger any |
The same problem happens to me also. |
Env:
Spacemacs ignores the Python version set via pyvenv (SPC-m-V-w, pyvenv-workon) and just uses system's default.
In my case my venv is a Conda environment:
After setting the env via
SPC-m-V-w
, emacs reports that the path of that env is the first one listed in Spacemacs'PATH
and it even reports the name of the apparently loaded env (python37
) in the status bar. However, when running a python script viaSPC-m-c-c
it reverts to system's default (2.7.15). See image attached.getenv "PATH" -> /Users/frodera/miniconda3/envs/python37/bin:/usr/local/opt/coreutils/...
In order to get access the conda environments I have added this to my
.spacemacs
:The text was updated successfully, but these errors were encountered: