The package upsetr was installed with conda. It **works** in my **terminal**

    conda activate upsetr
    conda deactivate

I was trying to invoke conda in a **Makefile** , something like

    SHELL=/bin/bash
    test:
          conda activate upsetr &&  conda deactivate

but it doesn't work:

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

I can reproduce this error by piping the command into bash


    $ echo 'conda activate upsetr && conda deactivate' | bash
    
    CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
    To initialize your shell, run
    
        $ conda init <SHELL_NAME>


Why does it fail ?

Everything define in your .bashrc or .profile won't work when using `| bash`

If you really want to execute on a new bash instance try 

```
echo 'source .bashrc && conda activate' | bash
```

Otherwise if you to run it on your current shell try
```
eval $(echo 'conda activate')
```
