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

conda not deactivating properly #142

Open
paulray opened this issue May 8, 2023 · 1 comment
Open

conda not deactivating properly #142

paulray opened this issue May 8, 2023 · 1 comment
Assignees

Comments

@paulray
Copy link

paulray commented May 8, 2023

There is some problem deactivating the fermi conda environment. After deactivating, I still have that python on my path. See:

% which python
/usr/bin/python

% conda activate fermi-2.2.0

(fermi-2.2.0) % which python
/Software/miniconda3/envs/fermi-2.2.0/bin/python

(fermi-2.2.0) % conda deactivate

% which python
/Software/miniconda3/envs/fermi-2.2.0/bin/python

But for my other conda environments, it works fine.

% conda activate hese

(hese) paulr@hesenode1:~ % which python
/Software/miniconda3/envs/hese/bin/python

(hese) paulr@hesenode1:~ % conda deactivate

paulr@hesenode1:~ % which python
/usr/bin/python

Is there something about the fermi tools that is making this not work?

@donhorner
Copy link

It looks like PATH environment variable is not getting reset after deactivation. I assume it's an issue with the Fermitools's activate/deactivation scripts. I've assigned it to @jasercion to look into. In the meantime, you should probably be able to source your .bashrc file (or whatever is appropriate for you shell) to reset the PATH variable.

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