0

I am using ubuntu 16.04 and installed new version of python 3.5 but I don't need it anymore so i deleted the executable file from /usr/bin but now I don't know how to set python to the default version that it was already installed (python 2.7). When I run the command python on terminal it generates the error -
bash: /usr/bin/python3.5: No such file or directory How do I solve this issue

0

Use the update-alternatives program to update the default executable 'python', or any other default executable, to the one provided by 2.7

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.