Maybe your anaconda folder is moved to /Users/Shared/Relocated Items/Security/anaconda3 from /anaconda3 by security reason of Catalina. Considering we already have the nearly whole environment, it should only take a bit of download. This will check your current anaconda environment and find whatever it needs to repair. If you still get an error, we might use the last but not least weapon: conda install -c anaconda anaconda-navigator (You might need a reboot to make it work.) Go on, find Contents/MacOS/run.sh and open it with your favorite editor, change all the /anaconda3 to /Users//anaconda3.įinally, you can open your Anaconda-Navigator.app as usual. Go to /Users//anaconda3/, right click Anaconda-Navigator.app and choose show package contents or something like that. The last step is to make your Anaconda-Navigator.app work safe and sound. In my case, it's to add export PATH=/Users//anaconda3/bin:$PATH to ~/.zshrc.) (Don't forget to add the new home of anaconda3 to your shell init config file. Now you can use your whole anaconda3 environment in command line. => For changes to take effect, close and re-open your current shell. Modified /Users//anaconda3/etc/profile.d/conda.csh Modified /Users//anaconda3/lib/python3.6/site-packages/xontrib/conda.xsh Modified /Users//anaconda3/shell/condabin/conda-hook.ps1 No change /Users//anaconda3/shell/condabin/Conda.psm1 Modified /Users//anaconda3/etc/fish/conf.d/conda.fish Modified /Users//anaconda3/etc/profile.d/conda.sh Modified /Users//anaconda3/bin/deactivate Modified /Users//anaconda3/condabin/conda ![]() (In my case it's zsh, change to bash, dash or sh due to your current environment.) (If you're not familiar with VIM, use any Editior you want.) ![]() Change the first line from #!/anaconda3/bin/python to #!/Users//anaconda3/bin/python. Open Terminal, go to /Users//anaconda3/bin/. Users/ since it can't be moved back to root dir, i.e., /. Relocated Items/Security/.Īll we have to do is moving them back with some little tricks in it: While the new version of MacOS - Mac Catalina - won't allow that. The reason why this happen is because Anaconda3 is installed under / by default.
0 Comments
Leave a Reply. |