I was trying to install miniconda and use it but I get issues on Mac Os. I use their official installation dmg (https://docs.conda.io/en/latest/miniconda.html) and used that to install miniconda. It install it in ~./opt
. Then I do:
conda init bash
it says nothing was changed:
(base) brandBrandoParetoopareto~/automl-meta-learning $ conda init bash
no change /Users/brandBrandoParetoopareto/opt/miniconda3/condabin/conda
no change /Users/brandBrandoParetoopareto/opt/miniconda3/bin/conda
no change /Users/brandBrandoParetoopareto/opt/miniconda3/bin/conda-env
no change /Users/brandBrandoParetoopareto/opt/miniconda3/bin/activate
no change /Users/brandBrandoParetoopareto/opt/miniconda3/bin/deactivate
no change /Users/brandBrandoParetoopareto/opt/miniconda3/etc/profile.d/conda.sh
no change /Users/brandBrandoParetoopareto/opt/miniconda3/etc/fish/conf.d/conda.fish
no change /Users/brandBrandoParetoopareto/opt/miniconda3/shell/condabin/Conda.psm1
no change /Users/brandBrandoParetoopareto/opt/miniconda3/shell/condabin/conda-hook.ps1
no change /Users/brandBrandoParetoopareto/opt/miniconda3/lib/python3.7/site-packages/xontrib/conda.xsh
no change /Users/brandBrandoParetoopareto/opt/miniconda3/etc/profile.d/conda.csh
no change /Users/brandBrandoParetoopareto/.bash_profile
No action taken.
but then when I try to start a new bash session it says their are issues:
(base) brandBrandoParetoopareto~/automl-meta-learning $ bash
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run
$ conda init <SHELL_NAME>
Currently supported shells are:
- bash
- fish
- tcsh
- xonsh
- zsh
- powershell
See 'conda init --help' for more information and options.
IMPORTANT: You may need to close and restart your shell after running 'conda init'.
brandBrandoParetoopareto~/automl-meta-learning $
and then deactivates my previous environment. Why is that?
There is definitively something wrong with this miniconda because when I do:
python script.py
it says there is a syntax error which means its using a different version of python despite me telling my env to use python3.7
why? Why doesn't it use the version I said?
Related question with nearly no details: conda init not initialising new shell