Spaces are not allowed next to the equal sign when declaring aliases.
Use
alias python=python3
and it should work.
More Related Contents:
- Why is sudo not accepting my sudo password? [closed]
- Why doesn’t Python run my bash code?
- How to run Conda?
- Pass input/variables to command/script over SSH using Python Paramiko
- Python subprocess.call a bash alias
- How to source virtualenv activate in a Bash script
- How to set env variable in Jupyter notebook
- Python – Activate conda env through shell script
- standard_init_linux.go:178: exec user process caused “exec format error”
- Process substitution not allowed by Python’s subprocess with shell=True?
- How to implement common bash idioms in Python? [closed]
- Call Python script from bash with argument
- Can’t load Python modules installed via pip from site-packages directory
- Passing IPython variables as arguments to bash commands
- Running a bash script from a cronjob fails with “No such file or directory”
- Can not activate a virtualenv in GIT bash mingw32 for Windows
- Running bash script from within python
- How to catch exception output from Python subprocess.check_output()?
- Pip Install not installing into correct directory?
- Run interactive Bash with popen and a dedicated TTY Python
- How to set Python3.5.2 as default Python version on CentOS?
- Extracting data from HTML table
- Change working directory in shell with a python script
- virtualenvwrapper functions unavailable in shell scripts
- Python: Convert PDF to DOC
- Pipe input to script and later get input from user
- Get java version number from python
- store return value of a Python script in a bash script
- Calling a Python function from a shell script
- run python script directly from command line