Python Forum
RE: Making Python3 Default on Debian Stretch
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RE: Making Python3 Default on Debian Stretch
#2
I do not recommend you to do that. Half of the system depends on Python and Perl scripts. If you change the default Python version you can ruin the system.

What you can do is to create an alias called python put it in the bottom of .bashrc or wherever are the aliases located and you are done. I think... Dodgy

alias python="puthon3"

Save the file, open a new terminal window and type python to see what version will print at the top.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Messages In This Thread
RE: RE: Making Python3 Default on Debian Stretch - by wavic - Mar-29-2018, 11:11 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  VScode vs VScodium on Debian - which one to use :: goal: work with Python apollo 1 2,097 Oct-19-2019, 12:57 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020