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

fix csh installation with conda #24

Merged
merged 2 commits into from
Nov 3, 2020
Merged

fix csh installation with conda #24

merged 2 commits into from
Nov 3, 2020

Conversation

azazellochg
Copy link
Member

@azazellochg azazellochg commented Nov 1, 2020

After a few hours I was able to install scipion via miniconda in a user account with tcsh as default shell. The problem with csh that conda functions are not exported to the subshells (in our case /bin/sh invoked by os.system). See conda/conda#7980

This closes #19

Other csh issues like Illegal variable or syntax error were fixed since conda 4.7.x

@pconesa
Copy link
Contributor

pconesa commented Nov 1, 2020

This is fantastic @azazellochg .
I'm tempted to add to the launcher the CONDA_ACTIVATION_CMD as a environment variable when using conda.
Thoughts?

@azazellochg
Copy link
Member Author

I'm not following.. why do we need it?or just for csh?

@azazellochg
Copy link
Member Author

I think adding it will make installation more difficult for users, they dont need to know about this.

@pconesa
Copy link
Contributor

pconesa commented Nov 2, 2020 via email

@pconesa pconesa merged commit d7cf7dd into master Nov 3, 2020
@pconesa pconesa deleted the csh branch November 3, 2020 07:52
@pconesa
Copy link
Contributor

pconesa commented Nov 3, 2020

So,what this fixes is the installation on a system with csh/tcsh shell.

But I guess now, the issue is moved to activating "conda based" binaries (cryolo, topaz, fsd3d, ....)? Or will "conda activate something" work?

@azazellochg ?

@azazellochg
Copy link
Member Author

azazellochg commented Nov 3, 2020 via email

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.

Installation problem
2 participants