0

I have two python on Ubuntu:

which python 
/home/summer/anaconda2/bin/python

I want to the default python use the /usr/bin/python, how to realize it?

  • Firstly, don't post pictures of text; just paste the text into your question. Speaking of adding things to your question, please also edit in the result of echo "$PATH". – DopeGhoti Jan 28 at 15:31
  • 1
    Do not do that. Python is used also for some system utilities. You will overwrite python and you never know what some utilities will fail. -- So, just install python locally for your user (and possibly with pip / pyenv) so that you can have parallel version of python, according the specific uses. – Giacomo Catenazzi Jan 28 at 15:32
  • It doesn't sound like OP is trying to replace the stock Python, but rather to actually use it by default rather than the one installed in ~summer. That said, please clarify whether pythoon is a typo or not. – DopeGhoti Jan 28 at 15:43

Your Answer

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

Browse other questions tagged or ask your own question.