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

Revert "fix: prefix conda commands with conda" #820

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

kubouch
Copy link
Contributor

@kubouch kubouch commented Apr 17, 2024

Reverts #816

Fixes #818

@kubouch kubouch merged commit 1a4c6e9 into main Apr 17, 2024
1 check passed
@fdncred fdncred deleted the revert-816-fix-conda-prefix branch April 17, 2024 17:50
@MilesCranmer
Copy link
Contributor

MilesCranmer commented Apr 18, 2024

@kubouch @fdncred

Hm, now it's broken for me again... Is this operating system dependent or something?

After your revert, conda activate <env> gives me an error while activate <env> seems to activate conda. (Whereas before the revert, it worked fine)

My import statement in my env.nu file is simply

use $"($SYSCONFIG)/nu_scripts/modules/virtual_environments/nu_conda_2/conda.nu" *

Am I doing something wrong?

I'm on macOS in case it's relevant at all.

@kubouch
Copy link
Contributor Author

kubouch commented Apr 18, 2024

Drop the *. You're doing an equivalent of from conda.nu import * in Python. See also https://www.nushell.sh/book/modules.html.

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

Successfully merging this pull request may close these issues.

PR 816 Broke Anaconda Activation Support on Windows
2 participants