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

Failure of conda activate and init tcsh #1

Open
powersjg opened this issue Jun 6, 2021 · 2 comments
Open

Failure of conda activate and init tcsh #1

powersjg opened this issue Jun 6, 2021 · 2 comments

Comments

@powersjg
Copy link

powersjg commented Jun 6, 2021

In preparation of the tutorial, I tried to activate conda via: conda activate wp_env .

Got error msg:
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run
$ conda init <SHELL_NAME>

Tried to init shell via: conda init tcsh .
Error output received per the attached file.
"An unexpected error has occurred."

Is something missing? What to do?
I couldn't run the jupyter notebook, as suggested in the e-mail about the tutorial.

Thanks.
conda_init.out.txt

@andreasanhaeuser
Copy link

I get a similar issue in bash:

$ conda activate wp_env
                                                                                                      
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.            
To initialize your shell, run                                                                         
                                                                                                      
    $ conda init <SHELL_NAME>    

So I do this:

$ conda init bash
no change     /home/x/anaconda3/condabin/conda
no change     /home/x/anaconda3/bin/conda
no change     /home/x/anaconda3/bin/conda-env
no change     /home/x/anaconda3/bin/activate
no change     /home/x/anaconda3/bin/deactivate
no change     /home/x/anaconda3/etc/profile.d/conda.sh
no change     /home/x/anaconda3/etc/fish/conf.d/conda.fish
no change     /home/x/anaconda3/shell/condabin/Conda.psm1
no change     /home/x/anaconda3/shell/condabin/conda-hook.ps1
no change     /home/x/anaconda3/lib/python3.8/site-packages/xontrib/conda.xsh
no change     /home/x/anaconda3/etc/profile.d/conda.csh
no change
   /home/x/.bashrc
No action taken.

After closing the shell, reopening it and trying to conda activate wp_env, I get the same error message again.

@powersjg
Copy link
Author

powersjg commented Jun 7, 2021 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

No branches or pull requests

2 participants