Open zfanCode opened 7 years ago
This issue presents a similar problem, but no solution was provided.
I ran the installation script given on torch website:
git clone https://github.com/torch/distro.git ~/torch --recursive cd ~/torch; bash install-deps; ./install.sh
git clone was fine, but when running bash install-deps, it has the following errors:
git clone
bash install-deps
homebrew/science/qrupdate ✔ wolfssl homebrew/science/r yadm homebrew/science/r8s youtube-dl homebrew/science/raxml zstd homebrew/science/root6 ==> Deleted Formulae blucat ==> Migrating cloog018 to cloog ==> Unlinking cloog018 ==> Moving cloog018 children Error: Error occurred while migrating. Permission denied - (/usr/local/Cellar/cloog018, /usr/local/Cellar/cloog) Backing up... Error: Permission denied - /usr/local/Cellar/cloog018/0.18.0/INSTALL_RECEIPT.json20170507-14704-ktm6ve ==> Migrating gcc48 to gcc@4.8 ==> Unlinking gcc48 Error: Error occurred while migrating. Permission denied - /usr/local/bin/c++-4.8 Backing up... Error: Permission denied - /usr/local/Cellar/gcc48/4.8.5/INSTALL_RECEIPT.json20170507-14704-12510y2 ==> Migrating gmp4 to gmp@4 ==> Unlinking gmp4 ==> Moving gmp4 children Error: Error occurred while migrating. Permission denied - (/usr/local/Cellar/gmp4, /usr/local/Cellar/gmp@4) Backing up... Error: Permission denied - /usr/local/Cellar/gmp4/4.3.2/INSTALL_RECEIPT.json20170507-14704-v3pe9t ==> Migrating isl011 to isl@0.11 ==> Unlinking isl011 ==> Moving isl011 children Error: Error occurred while migrating. Permission denied - (/usr/local/Cellar/isl011, /usr/local/Cellar/isl@0.11) Backing up... Error: Permission denied - /usr/local/Cellar/isl011/0.11.1/INSTALL_RECEIPT.json20170507-14704-1x8znij ==> Migrating libmpc08 to libmpc@0.8 ==> Unlinking libmpc08 ==> Moving libmpc08 children Error: Error occurred while migrating. Permission denied - (/usr/local/Cellar/libmpc08, /usr/local/Cellar/libmpc@0.8) Backing up... Error: Permission denied - /usr/local/Cellar/libmpc08/0.8.1/INSTALL_RECEIPT.json20170507-14704-1rmxzed ==> Migrating mpfr2 to mpfr@2 ==> Unlinking mpfr2 ==> Moving mpfr2 children Error: Error occurred while migrating. Permission denied - (/usr/local/Cellar/mpfr2, /usr/local/Cellar/mpfr@2) Backing up... Error: Permission denied - /usr/local/Cellar/mpfr2/2.4.2/INSTALL_RECEIPT.json20170507-14704-bbxb0c Warning: readline is a keg-only and another version is linked to opt. Use `brew install --force` if you want to install this version Error: Permission denied - /usr/local/Cellar/readline/7.0.1/INSTALL_RECEIPT.json20170507-15079-19vnlzk
Can anyone help? I tried to sudo it, but doesn't work.
sudo
This issue presents a similar problem, but no solution was provided.
I ran the installation script given on torch website:
git clone
was fine, but when runningbash install-deps
, it has the following errors:Can anyone help? I tried to
sudo
it, but doesn't work.