torch / torch7

http://torch.ch
Other
8.98k stars 2.38k forks source link

Cannot install. Error: Unknown command: cask #1234

Open ShivaliGoel opened 3 years ago

ShivaliGoel commented 3 years ago

Following steps at http://torch.ch/docs/getting-started.html

After bash install-deps I get the following error: Error: Unknown command: cask

brew --version Homebrew 3.1.6

michalkordyzon commented 2 years ago

Same here. Running install-deps throws this error: Error: "brew cask" is no longer a "brew" command. Use "brew <command> --cask" instead.

macOS Monterey, version 12.3.1 Homebrew 3.6.0

michalkordyzon commented 2 years ago

I've changed install-deps.bat, line number 96 like that: brew cask install xquartz --> brew install --cask xquartz Running bash install-deps again works fine.

Unfortunately I don't know how to change it in the repo. install-deps is generated during installation.