Olá, tentei 3 vezes instalar o Anaconda3, por executável e por terminal. Eu segui os tutoriais e dei o "conda init zsh". É estranho, porque, com as informações, parece que eu tenho algo, mais no final, se eu tentar ver o Python, vejo que é a versão antiga 2.7. Não sei mais o que tentar.
.bash_profile:
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/Users/rdbh/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/Users/rdbh/anaconda3/etc/profile.d/conda.sh" ]; then
. "/Users/rdbh/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/Users/rdbh/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
Command line terminal:
rdbh@MacBook ~> conda info
active environment : None
user config file : /Users/rdbh/.condarc
populated config files : /Users/rdbh/.condarc
conda version : 4.8.2
conda-build version : 3.18.11
python version : 3.7.6.final.0
virtual packages : __osx=10.15.4
base environment : /Users/rdbh/anaconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/osx-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/osx-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /Users/rdbh/anaconda3/pkgs
/Users/rdbh/.conda/pkgs
envs directories : /Users/rdbh/anaconda3/envs
/Users/rdbh/.conda/envs
platform : osx-64
user-agent : conda/4.8.2 requests/2.22.0 CPython/3.7.6 Darwin/19.4.0 OSX/10.15.4
UID:GID : 501:20
netrc file : /Users/rdbh/.netrc
offline mode : False
rdbh@MacBook ~> echo $PATH
/usr/local/bin /usr/bin /bin /usr/sbin /sbin /Users/rdbh/anaconda3/bin
rdbh@MacBook ~> conda init zsh
no change /Users/rdbh/anaconda3/condabin/conda
no change /Users/rdbh/anaconda3/bin/conda
no change /Users/rdbh/anaconda3/bin/conda-env
no change /Users/rdbh/anaconda3/bin/activate
no change /Users/rdbh/anaconda3/bin/deactivate
no change /Users/rdbh/anaconda3/etc/profile.d/conda.sh
no change /Users/rdbh/anaconda3/etc/fish/conf.d/conda.fish
no change /Users/rdbh/anaconda3/shell/condabin/Conda.psm1
no change /Users/rdbh/anaconda3/shell/condabin/conda-hook.ps1
no change /Users/rdbh/anaconda3/lib/python3.7/site-packages/xontrib/conda.xsh
no change /Users/rdbh/anaconda3/etc/profile.d/conda.csh
no change /Users/rdbh/.zshrc
No action taken.
rdbh@MacBook ~> python
WARNING: Python 2.7 is not recommended.
This version is included in macOS for compatibility with legacy software.
Future versions of macOS will not include Python 2.7.
Instead, it is recommended that you transition to using 'python3' from within Terminal.
Python 2.7.16 (default, Feb 29 2020, 01:55:37)
[GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) (-macos10.15-objc- on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
Anaconda-Navigator > Environments > base (root) > Open with Python
Last login: Mon Apr 6 13:58:35 on ttys000
Welcome to fish, the friendly interactive shell
rdbh@MacBook ~> . /Users/rdbh/anaconda3/bin/activate && conda activate /Users/rdbh/anaconda3; python -i
~/anaconda3/bin/activate (line 5): 'return' outside of function definition
\. "$_CONDA_ROOT/etc/profile.d/conda.sh" || return $?
^
from sourcing file ~/anaconda3/bin/activate
called on line 359 of file /usr/local/Cellar/fish/3.0.2/share/fish/config.fish
in function '.'
called on standard input
source: Error while reading file '/Users/rdbh/anaconda3/bin/activate'
WARNING: Python 2.7 is not recommended.
This version is included in macOS for compatibility with legacy software.
Future versions of macOS will not include Python 2.7.
Instead, it is recommended that you transition to using 'python3' from within Terminal.
Python 2.7.16 (default, Feb 29 2020, 01:55:37)
[GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) (-macos10.15-objc- on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>