Can’t execute `conda activate` from bash script

I am still new to Anaconda and I encountered this error

"Can't execute conda activate from bash script"

To resolve the issue was pretty fast. I took a look at

source ~/anaconda3/etc/profile.d/
conda activate my_env


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.