torch / distro

Torch installation in a self-contained folder
BSD 3-Clause "New" or "Revised" License
556 stars 484 forks source link

Fixed deps installation errors on MacOSX 10.15.7 #297

Open bohdaq opened 3 years ago

bohdaq commented 3 years ago

Hello, I tried to install torch7 on my workstation and was getting errors while running "bash install-deps". I was following this article.

To fix the errors I've applied the following changes:

  1. Fixed brew cask installation error
  2. Fixed incorrect usage of brew list
  3. Removed extra parameters from gnuplot install command

Tested on MacOSX 10.15.7 Homebrew 2.7.1 Homebrew/homebrew-core (git revision adc0a; last commit 2021-01-03) Homebrew/homebrew-cask (git revision d89d38; last commit 2021-01-03)

Please, let me know if you have any suggestions, especially regarding gnuplot...

divyenduz commented 3 years ago

+1 can verify that this fix works. Would be nice if this can be merged :)

julyfish711 commented 3 years ago

Thank you. It solved my errors.

mezig351 commented 3 years ago

thanks for this, it solves error but brew install gnuplot automatically installs lua, for which the latest version is 5.4.3 Then somewhere else lua5.1 also gets installed, and extra caution is needed