How to set python3 as default interpreter in Linux/Unix/Ubuntu - Python for Data Analytics

Python Programs | Python Tricks | Solution for problems | Data Cleaning | Data Science

How to set python3 as default interpreter in Linux/Unix/Ubuntu

To do so you can simply create a alias for your python3 using your terminal:

  • Open Your Terminal
  • Type or Copy and Paste : alias python=/usr/bin/python3
  • Hit Enter and done. 
  • Now type python on your console whether it  is changed or not.

No comments:

Post a Comment