# Why do I get an error when launching an Open OnDemand HPC Interactive session?

**URL:** <https://ask.cyberinfrastructure.org/t/why-do-i-get-an-error-when-launching-an-open-ondemand-hpc-interactive-session/2496>\
**Category:** University of Alabama at Birmingham\
**Tags:** ondemand, anaconda, conda\
**Created:** [September 15, 2022, 9:05pm UTC](https://ask.cyberinfrastructure.org/t/why-do-i-get-an-error-when-launching-an-open-ondemand-hpc-interactive-session/2496 "2022-09-15T21:05:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![wwarr](https://ask.cyberinfrastructure.org/letter_avatar_proxy/v4/letter/w/3be4f8/32.png) [@wwarr](https://ask.cyberinfrastructure.org/u/wwarr)\
**Post date:** [September 16, 2022, 5:34pm UTC](https://ask.cyberinfrastructure.org/t/why-do-i-get-an-error-when-launching-an-open-ondemand-hpc-interactive-session/2496/2 "2022-09-16T17:34:45Z")

</div>

The most common cause of the mentioned error is that the command `conda init` was used at some point with your account on Cheaha, creating a block in your `.bashrc` file that looks like the following section.

```bash
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/<YOUR_USER>/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [$? -eq 0]; then
    eval "$__conda_setup"
else
    if [-f "/home/<YOUR_USER>/miniconda3/etc/profile.d/conda.sh"]; then
        . "/home/<YOUR_USER>/miniconda3/etc/profile.d/conda.sh"
    else
        export PATH="/home/<YOUR_USER>/miniconda3/bin:$PATH"
    fi
fi
unset __conda_setup
# <<< conda initialize <<<

```

Anaconda is managed as a module on Cheaha, so it is unnecessary to use `conda init`, and can cause issues with Open OnDemand. To avoid the issue reoccurring, please do not use `conda init` on Cheaha.

To resolve this issue, you’ll need to locate the hidden file `.bashrc` in the file browser pane and select it. Please refer to this other Ask.ci question to find hidden files: [How do I locate hidden dot files on Open OnDemand?](https://ask.cyberinfrastructure.org/t/how-do-i-locate-hidden-dot-files-on-open-ondemand/2498/2)

 ![Home files list with Show Dotfiles check and .bashrc highlighted.](https://ask.cyberinfrastructure.org/uploads/default/original/1X/b8a56cfa2b9b5722d8323ec5c9a7a83b011c6372.png)

Click the “Edit” button. In the new tab that opens, delete the section shown above and click “Save”.

 ![Edit tab with highlighted section.](https://ask.cyberinfrastructure.org/uploads/default/original/1X/1e0ed441aee747e9529e2ee7be7e5d8114f1993b.png)

Please try to launch your job again. If it still doesn’t work, please contact [Support](https://docs.rc.uab.edu/help/support/)

---

_[View the full topic](https://ask.cyberinfrastructure.org/t/why-do-i-get-an-error-when-launching-an-open-ondemand-hpc-interactive-session/2496)._
