You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the instructions here, conda env create -f environment.yml fails on MacOS 12.6.2 (and presumably any MacOS from 12.6 on), because all the contents of the anaconda3 directory have ownership set to root upon installation. That means conda env can't uninstall components as required, nor update the required json files.
I was able to get around this by running sudo chown 501:20 -R ~/anaconda3, then running the conda env command.
The environment was then set up successfully.
The text was updated successfully, but these errors were encountered:
This problem was caused by installing Anaconda using sudo, as suggested here. I was able to uninstall it, then reinstall from command line without sudo this time, so I don't understand why it failed initially, but none of the problems with file ownership are present now.
Following the instructions here,
conda env create -f environment.yml
fails on MacOS 12.6.2 (and presumably any MacOS from 12.6 on), because all the contents of the anaconda3 directory have ownership set to root upon installation. That meansconda env
can't uninstall components as required, nor update the required json files.I was able to get around this by running
sudo chown 501:20 -R ~/anaconda3
, then running theconda env
command.The environment was then set up successfully.
The text was updated successfully, but these errors were encountered: