I am trying to start work with Python on a new Linux server.
I have installed python3 however when I try to do pip install it throws an error saying pip-install error code as below:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-cerbjz/apache-airflow/
When I try pip install --upgrade setuptools
it returns Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/site-packages (40.6.3)
When I do which python
it returns the below:
alias python='python3'
/usr/bin/python3
When I open the bashrc file its empty though I had entered the above code in there earlier but it's no longer showing this.
How could I modify this such that the interpreter uses python 3 for all processing.