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

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