Friday, May 3, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 631  / 1 Year ago, tue, april 4, 2023, 10:53:12

When i do the command python i get the folowing.



Python 2.6.8 (unknown, Apr  9 2013, 19:12:12) 
[GCC 4.7.2] on linux3
Type "help", "copyright", "credits" or "license" for more information.


I want to have python2.7 back to that command. so i have this:



Python 2.7.3 (default, Sep 26 2012, 21:51:14) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>


I have already tried to change the symlink in /usr/bin/python but don't work :(. I am also afraid that some programs will break.


More From » command-line

 Answers
6
sudo rm /usr/local/bin/python


Did the trick.


[#31821] Tuesday, April 4, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
landarre

Total Points: 254
Total Questions: 96
Total Answers: 109

Location: Burundi
Member since Sun, Apr 16, 2023
1 Year ago
;