python – creating an alias for python3

python – creating an alias for python3

Spaces are not allowed next to the equal sign when declaring aliases.

Use

alias python=python3

and it should work.

in your .bashrc

add

alias python=python3

In bash script , you cant insert space beside = .

python – creating an alias for python3

You can use:

apt install python-is-python3

Leave a Reply

Your email address will not be published.