# Bin error when try to execute the source ./haddock.config

**URL:** <https://ask.bioexcel.eu/t/bin-error-when-try-to-execute-the-source-haddock-config/3156>\
**Category:** HADDOCK\
**Created:** [July 9, 2021, 2:09pm UTC](https://ask.bioexcel.eu/t/bin-error-when-try-to-execute-the-source-haddock-config/3156 "2021-07-09T14:09:39Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![wmunees47](https://avatars.discourse-cdn.com/v4/letter/w/aeb1de/32.png) [@wmunees47](https://ask.bioexcel.eu/u/wmunees47)\
**Post date:** [July 14, 2021, 11:18am UTC](https://ask.bioexcel.eu/t/bin-error-when-try-to-execute-the-source-haddock-config/3156/20 "2021-07-14T11:18:02Z")

</div>

when I try to execute which python it gives me /usr/bin/python  
and which python2.7 gives me /usr/bin/python2.7

I try to execute all the commands from terminal but it doesnt included in bashrc file.

Next I try to insert those files in bashrc file itself

The commands I included in bashrc is  
################HADDOCK######  
export HADDOCK=/root/software/haddock2.4-2021-05  
export HADDOCKTOOLS=$HADDOCK/tools  
export PYTHONPATH="/usr/bin/python2.7  
alias haddock2.4="$(which python2.7) $HADDOCK/Haddock/RunHaddock.py  
##############################  
But it gives me  
bash: alias: python2.7: not found  
bash: alias: :/root/software/haddock2.4-2021-05: not found

Please help me sortout this issue

For your kind information the contents of my haddock\_conf.sh is [here](https://ask.bioexcel.eu/t/bin-error-when-try-to-execute-the-source-haddock-config/3156/13)

---

_[View the full topic](https://ask.bioexcel.eu/t/bin-error-when-try-to-execute-the-source-haddock-config/3156)._
