Home>
I installed Anaconda inTerminal and tried to switch versions from Python, but it doesn't work. Command line
????????? noMBP2: ~ ?????????? $pyenv versions
  system
* 3.6.5 (set by /Users/??????????/.python-version)
  anaconda-4.0.0
  anaconda3-5.1.0
????????? noMBP2: ~ ?????????? $pyenv global anaconda3-5.1.0
????????? noMBP2: ~ ?????????? $pyenv versions
  system
* 3.6.5 (set by /Users/??????????/.python-version)
  anaconda-4.0.0
  anaconda3-5.1.0
Tried

pyenv global Anaconda3-5.1.0 seems to be able to switch from Python to Anaconda3-5.1.0, but it doesn't change. . .

What is the cause?

  • Answer # 1

    * 3.6.5 (set by/Users/?????????? /. python-version)is visible, sopyenv local 3.6. 5is executed, but it is

    I want to use 3.6.5 while in this directory, whatever the global settings are

    you have declared

    .

    Sopyenv global anaconda3-5.1.0is not affected while in that directory.
    Ifpyenv local 3.6.5is something wrong, runpyenv local --unset.