Where does ubuntu find python 3.6.8 instead of 2.7? What information should I refer to to understand the principle?Should I put #! (shebang) in Python scripts, and what form should it take?Can I find the path to the python executable from inside python?Conda example does not work, it shows newer not older numpy?“'CXXABI_1.3.8' not found” in tensorflow-gpu - install from sourceHow can I manage mutiple python in Ubuntu16.04?ImportError: libcudnn.so.5: cannot open shared object file: No such file or directory, Python 2.7 with Tensorflow-gpuPycharm autocomplete doesn't work in conda envSome modules can be imported in python previously but now can only be imported in ipython2How could I resume my own python configuration after quiting anacondaAfter installing spyder, conda module is not found
Why did Jon Snow do this immoral act if he is so honorable?
How did NASA Langley end up with the first 737?
Is it truly impossible to tell what a CPU is doing?
Why do most published works in medical imaging try to reduce false positives?
Why are GND pads often only connected by four traces?
What does $!# mean in Shell scripting?
How should I introduce map drawing to my players?
Why would Ryanair allow me to book this journey through a third party, but not through their own website?
How to draw Sankey diagram with Tikz?
Question in discrete mathematics about group permutations
What was the idiom for something that we take without a doubt?
Which European Languages are not Indo-European?
What is a Centaur Thief's climbing speed?
Why aren't space telescopes put in GEO?
Melodic minor Major 9 chords
Compaq Portable vs IBM 5155 Portable PC
The art of clickbait captions
Can I summon an otherworldly creature with the Gate spell without knowing its true name?
Parallel fifths in the orchestra
Is it legal to meet with potential future employers in the UK, whilst visiting from the USA
Make 24 using exactly three 3s
Can my floppy disk still work without a shutter spring?
What does the view outside my ship traveling at light speed look like?
How to attach cable mounting points to a bicycle frame?
Where does ubuntu find python 3.6.8 instead of 2.7? What information should I refer to to understand the principle?
Should I put #! (shebang) in Python scripts, and what form should it take?Can I find the path to the python executable from inside python?Conda example does not work, it shows newer not older numpy?“'CXXABI_1.3.8' not found” in tensorflow-gpu - install from sourceHow can I manage mutiple python in Ubuntu16.04?ImportError: libcudnn.so.5: cannot open shared object file: No such file or directory, Python 2.7 with Tensorflow-gpuPycharm autocomplete doesn't work in conda envSome modules can be imported in python previously but now can only be imported in ipython2How could I resume my own python configuration after quiting anacondaAfter installing spyder, conda module is not found
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I don't know why I typed in python, ubuntu opened python 3.6.8, why should I open python3.6.8, how is the system looking for it?
/home/minzhang/anaconda2/bin/python
minzhang@minzhang:~/anaconda2$ /home/minzhang/anaconda2/bin/python
Python 2.7.15 |Anaconda, Inc.| (default, Dec 14 2018, 19:04:19)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
minzhang@minzhang:~/anaconda2$ python
Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
minzhang@minzhang:~/anaconda2$ echo $PATH
/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/envs/blockchain/bin:/home/minzhang/anaconda2/condabin:/home/minzhang/anaconda2/bin:/home/minzhang/bin:/home/minzhang/.local/bin:/home/minzhang/java/jdk1.8.0_181/bin:/home/minzhang/java/jdk1.8.0_181/jre/bin:/home/minzhang/work/exercise/gnuplot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:$JAVA_HOME/bin:/snap/bin:/usr/local/go/bin:/home/minzhang/go
minzhang@minzhang:~/anaconda2$ tail -n 2 /etc/profile
alias python=python3
minzhang@minzhang:~/anaconda2$ tail -n 2 ~/.bashrc
#export rsync_proxy=$http_proxy
alias python=python3
minzhang@minzhang:~/anaconda2$ python --version
Python 3.6.8 :: Anaconda, Inc.
minzhang@minzhang:~/anaconda2$ ll bin/python*
lrwxrwxrwx 1 minzhang minzhang 9 3月 10 10:34 bin/python -> python2.7*
lrwxrwxrwx 1 minzhang minzhang 9 3月 10 10:34 bin/python2 -> python2.7*
-rwxrwxr-x 1 minzhang minzhang 19760 12月 15 03:06 bin/python2.7*
-rwxrwxr-x 1 minzhang minzhang 1701 3月 10 10:34 bin/python2.7-config*
lrwxrwxrwx 1 minzhang minzhang 16 3月 10 10:34 bin/python2-config -> python2.7-config*
lrwxrwxrwx 1 minzhang minzhang 16 3月 10 10:34 bin/python-config -> python2.7-config*
“I expect the output of python to be 2.7, but the actual output is 3.6.8.”,
python ubuntu
add a comment |
I don't know why I typed in python, ubuntu opened python 3.6.8, why should I open python3.6.8, how is the system looking for it?
/home/minzhang/anaconda2/bin/python
minzhang@minzhang:~/anaconda2$ /home/minzhang/anaconda2/bin/python
Python 2.7.15 |Anaconda, Inc.| (default, Dec 14 2018, 19:04:19)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
minzhang@minzhang:~/anaconda2$ python
Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
minzhang@minzhang:~/anaconda2$ echo $PATH
/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/envs/blockchain/bin:/home/minzhang/anaconda2/condabin:/home/minzhang/anaconda2/bin:/home/minzhang/bin:/home/minzhang/.local/bin:/home/minzhang/java/jdk1.8.0_181/bin:/home/minzhang/java/jdk1.8.0_181/jre/bin:/home/minzhang/work/exercise/gnuplot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:$JAVA_HOME/bin:/snap/bin:/usr/local/go/bin:/home/minzhang/go
minzhang@minzhang:~/anaconda2$ tail -n 2 /etc/profile
alias python=python3
minzhang@minzhang:~/anaconda2$ tail -n 2 ~/.bashrc
#export rsync_proxy=$http_proxy
alias python=python3
minzhang@minzhang:~/anaconda2$ python --version
Python 3.6.8 :: Anaconda, Inc.
minzhang@minzhang:~/anaconda2$ ll bin/python*
lrwxrwxrwx 1 minzhang minzhang 9 3月 10 10:34 bin/python -> python2.7*
lrwxrwxrwx 1 minzhang minzhang 9 3月 10 10:34 bin/python2 -> python2.7*
-rwxrwxr-x 1 minzhang minzhang 19760 12月 15 03:06 bin/python2.7*
-rwxrwxr-x 1 minzhang minzhang 1701 3月 10 10:34 bin/python2.7-config*
lrwxrwxrwx 1 minzhang minzhang 16 3月 10 10:34 bin/python2-config -> python2.7-config*
lrwxrwxrwx 1 minzhang minzhang 16 3月 10 10:34 bin/python-config -> python2.7-config*
“I expect the output of python to be 2.7, but the actual output is 3.6.8.”,
python ubuntu
When I switch to rootRoot@minzhang:/usr/bin# python --version Python 3.6.7
When I switch back to the normal userMinzhang@minzhang:~/anaconda2$ python --version Python 3.6.8 :: Anaconda, Inc.
Why are there different outputs? Are there some official documentation links explaining these things?
– user8213812
Mar 24 at 3:21
add a comment |
I don't know why I typed in python, ubuntu opened python 3.6.8, why should I open python3.6.8, how is the system looking for it?
/home/minzhang/anaconda2/bin/python
minzhang@minzhang:~/anaconda2$ /home/minzhang/anaconda2/bin/python
Python 2.7.15 |Anaconda, Inc.| (default, Dec 14 2018, 19:04:19)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
minzhang@minzhang:~/anaconda2$ python
Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
minzhang@minzhang:~/anaconda2$ echo $PATH
/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/envs/blockchain/bin:/home/minzhang/anaconda2/condabin:/home/minzhang/anaconda2/bin:/home/minzhang/bin:/home/minzhang/.local/bin:/home/minzhang/java/jdk1.8.0_181/bin:/home/minzhang/java/jdk1.8.0_181/jre/bin:/home/minzhang/work/exercise/gnuplot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:$JAVA_HOME/bin:/snap/bin:/usr/local/go/bin:/home/minzhang/go
minzhang@minzhang:~/anaconda2$ tail -n 2 /etc/profile
alias python=python3
minzhang@minzhang:~/anaconda2$ tail -n 2 ~/.bashrc
#export rsync_proxy=$http_proxy
alias python=python3
minzhang@minzhang:~/anaconda2$ python --version
Python 3.6.8 :: Anaconda, Inc.
minzhang@minzhang:~/anaconda2$ ll bin/python*
lrwxrwxrwx 1 minzhang minzhang 9 3月 10 10:34 bin/python -> python2.7*
lrwxrwxrwx 1 minzhang minzhang 9 3月 10 10:34 bin/python2 -> python2.7*
-rwxrwxr-x 1 minzhang minzhang 19760 12月 15 03:06 bin/python2.7*
-rwxrwxr-x 1 minzhang minzhang 1701 3月 10 10:34 bin/python2.7-config*
lrwxrwxrwx 1 minzhang minzhang 16 3月 10 10:34 bin/python2-config -> python2.7-config*
lrwxrwxrwx 1 minzhang minzhang 16 3月 10 10:34 bin/python-config -> python2.7-config*
“I expect the output of python to be 2.7, but the actual output is 3.6.8.”,
python ubuntu
I don't know why I typed in python, ubuntu opened python 3.6.8, why should I open python3.6.8, how is the system looking for it?
/home/minzhang/anaconda2/bin/python
minzhang@minzhang:~/anaconda2$ /home/minzhang/anaconda2/bin/python
Python 2.7.15 |Anaconda, Inc.| (default, Dec 14 2018, 19:04:19)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
minzhang@minzhang:~/anaconda2$ python
Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
minzhang@minzhang:~/anaconda2$ echo $PATH
/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/bin:/home/minzhang/anaconda2/envs/blockchain/bin:/home/minzhang/anaconda2/condabin:/home/minzhang/anaconda2/bin:/home/minzhang/bin:/home/minzhang/.local/bin:/home/minzhang/java/jdk1.8.0_181/bin:/home/minzhang/java/jdk1.8.0_181/jre/bin:/home/minzhang/work/exercise/gnuplot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:$JAVA_HOME/bin:/snap/bin:/usr/local/go/bin:/home/minzhang/go
minzhang@minzhang:~/anaconda2$ tail -n 2 /etc/profile
alias python=python3
minzhang@minzhang:~/anaconda2$ tail -n 2 ~/.bashrc
#export rsync_proxy=$http_proxy
alias python=python3
minzhang@minzhang:~/anaconda2$ python --version
Python 3.6.8 :: Anaconda, Inc.
minzhang@minzhang:~/anaconda2$ ll bin/python*
lrwxrwxrwx 1 minzhang minzhang 9 3月 10 10:34 bin/python -> python2.7*
lrwxrwxrwx 1 minzhang minzhang 9 3月 10 10:34 bin/python2 -> python2.7*
-rwxrwxr-x 1 minzhang minzhang 19760 12月 15 03:06 bin/python2.7*
-rwxrwxr-x 1 minzhang minzhang 1701 3月 10 10:34 bin/python2.7-config*
lrwxrwxrwx 1 minzhang minzhang 16 3月 10 10:34 bin/python2-config -> python2.7-config*
lrwxrwxrwx 1 minzhang minzhang 16 3月 10 10:34 bin/python-config -> python2.7-config*
“I expect the output of python to be 2.7, but the actual output is 3.6.8.”,
python ubuntu
python ubuntu
asked Mar 24 at 2:58
user8213812user8213812
61
61
When I switch to rootRoot@minzhang:/usr/bin# python --version Python 3.6.7
When I switch back to the normal userMinzhang@minzhang:~/anaconda2$ python --version Python 3.6.8 :: Anaconda, Inc.
Why are there different outputs? Are there some official documentation links explaining these things?
– user8213812
Mar 24 at 3:21
add a comment |
When I switch to rootRoot@minzhang:/usr/bin# python --version Python 3.6.7
When I switch back to the normal userMinzhang@minzhang:~/anaconda2$ python --version Python 3.6.8 :: Anaconda, Inc.
Why are there different outputs? Are there some official documentation links explaining these things?
– user8213812
Mar 24 at 3:21
When I switch to root
Root@minzhang:/usr/bin# python --version Python 3.6.7
When I switch back to the normal user Minzhang@minzhang:~/anaconda2$ python --version Python 3.6.8 :: Anaconda, Inc.
Why are there different outputs? Are there some official documentation links explaining these things?– user8213812
Mar 24 at 3:21
When I switch to root
Root@minzhang:/usr/bin# python --version Python 3.6.7
When I switch back to the normal user Minzhang@minzhang:~/anaconda2$ python --version Python 3.6.8 :: Anaconda, Inc.
Why are there different outputs? Are there some official documentation links explaining these things?– user8213812
Mar 24 at 3:21
add a comment |
3 Answers
3
active
oldest
votes
Use which python
and whereis python
(where python
on Windows) to debug questions about where executable files are being found. The output from those should answer your question. Cheers!
thanks!My content above shows that I have usedwhich python
. Do you know where my python 3.6.8 installation is? I have looked for/usr/bin/
and/home/minzhang/anaconda2/bin/
, can't find it, why did Ubuntu choose 3.6.8? I only found 3.6.7 in``` /usr/bin/ ```
– user8213812
Mar 24 at 3:34
add a comment |
Because you have this alias python=python3
in your bash profile. An alias means when you type python
you are actually calling python3
. If you would like to call python 2 remove the alias from your bash profile
add a comment |
I found out, in the directory minzhang@minzhang:~/anaconda2/pkgs/python-3.6.8-h0371630_0/bin
base environment
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55320355%2fwhere-does-ubuntu-find-python-3-6-8-instead-of-2-7-what-information-should-i-re%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Use which python
and whereis python
(where python
on Windows) to debug questions about where executable files are being found. The output from those should answer your question. Cheers!
thanks!My content above shows that I have usedwhich python
. Do you know where my python 3.6.8 installation is? I have looked for/usr/bin/
and/home/minzhang/anaconda2/bin/
, can't find it, why did Ubuntu choose 3.6.8? I only found 3.6.7 in``` /usr/bin/ ```
– user8213812
Mar 24 at 3:34
add a comment |
Use which python
and whereis python
(where python
on Windows) to debug questions about where executable files are being found. The output from those should answer your question. Cheers!
thanks!My content above shows that I have usedwhich python
. Do you know where my python 3.6.8 installation is? I have looked for/usr/bin/
and/home/minzhang/anaconda2/bin/
, can't find it, why did Ubuntu choose 3.6.8? I only found 3.6.7 in``` /usr/bin/ ```
– user8213812
Mar 24 at 3:34
add a comment |
Use which python
and whereis python
(where python
on Windows) to debug questions about where executable files are being found. The output from those should answer your question. Cheers!
Use which python
and whereis python
(where python
on Windows) to debug questions about where executable files are being found. The output from those should answer your question. Cheers!
answered Mar 24 at 3:10
Benjamin StrinerBenjamin Striner
20932
20932
thanks!My content above shows that I have usedwhich python
. Do you know where my python 3.6.8 installation is? I have looked for/usr/bin/
and/home/minzhang/anaconda2/bin/
, can't find it, why did Ubuntu choose 3.6.8? I only found 3.6.7 in``` /usr/bin/ ```
– user8213812
Mar 24 at 3:34
add a comment |
thanks!My content above shows that I have usedwhich python
. Do you know where my python 3.6.8 installation is? I have looked for/usr/bin/
and/home/minzhang/anaconda2/bin/
, can't find it, why did Ubuntu choose 3.6.8? I only found 3.6.7 in``` /usr/bin/ ```
– user8213812
Mar 24 at 3:34
thanks!My content above shows that I have used
which python
. Do you know where my python 3.6.8 installation is? I have looked for /usr/bin/
and /home/minzhang/anaconda2/bin/
, can't find it, why did Ubuntu choose 3.6.8? I only found 3.6.7 in``` /usr/bin/ ```– user8213812
Mar 24 at 3:34
thanks!My content above shows that I have used
which python
. Do you know where my python 3.6.8 installation is? I have looked for /usr/bin/
and /home/minzhang/anaconda2/bin/
, can't find it, why did Ubuntu choose 3.6.8? I only found 3.6.7 in``` /usr/bin/ ```– user8213812
Mar 24 at 3:34
add a comment |
Because you have this alias python=python3
in your bash profile. An alias means when you type python
you are actually calling python3
. If you would like to call python 2 remove the alias from your bash profile
add a comment |
Because you have this alias python=python3
in your bash profile. An alias means when you type python
you are actually calling python3
. If you would like to call python 2 remove the alias from your bash profile
add a comment |
Because you have this alias python=python3
in your bash profile. An alias means when you type python
you are actually calling python3
. If you would like to call python 2 remove the alias from your bash profile
Because you have this alias python=python3
in your bash profile. An alias means when you type python
you are actually calling python3
. If you would like to call python 2 remove the alias from your bash profile
answered Mar 24 at 3:11
Mitchel PaulinMitchel Paulin
1,782819
1,782819
add a comment |
add a comment |
I found out, in the directory minzhang@minzhang:~/anaconda2/pkgs/python-3.6.8-h0371630_0/bin
base environment
add a comment |
I found out, in the directory minzhang@minzhang:~/anaconda2/pkgs/python-3.6.8-h0371630_0/bin
base environment
add a comment |
I found out, in the directory minzhang@minzhang:~/anaconda2/pkgs/python-3.6.8-h0371630_0/bin
base environment
I found out, in the directory minzhang@minzhang:~/anaconda2/pkgs/python-3.6.8-h0371630_0/bin
base environment
answered Mar 24 at 4:34
user8213812user8213812
61
61
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55320355%2fwhere-does-ubuntu-find-python-3-6-8-instead-of-2-7-what-information-should-i-re%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
When I switch to root
Root@minzhang:/usr/bin# python --version Python 3.6.7
When I switch back to the normal userMinzhang@minzhang:~/anaconda2$ python --version Python 3.6.8 :: Anaconda, Inc.
Why are there different outputs? Are there some official documentation links explaining these things?– user8213812
Mar 24 at 3:21