-
Notifications
You must be signed in to change notification settings - Fork 35
How to downgrade / "brew install bazel@<version>" fails. #39
Comments
Same issue here. |
In general downgrading a homebrew formula is not supported. |
@jamiesnape would you please tell me what should i do if i want to install bazel0.21.0? Failed to compose the correct url myself. |
Look at https://github.com/bazelbuild/homebrew-tap/commits/master/Formula/bazel.rb for the 0.21.0 release and you will see it was commit 42a4bf1 on December 20th, 2018. Hence:
|
How to install bazel 0.24.1 on Mac ? #jamiensnape |
Closing this since it's not something Bazel's homebrew-tap can fix. Thanks @jamiesnape for help answering. |
@Imranmkt try: |
@farazBhatti Thank you for your comment. I tried the link to install bazel but it's showing unexpected syntax error. Error: bazel: /Users/imran/Library/Caches/Homebrew/Formula/bazel.rb:7: syntax error, unexpected '<' |
@Imranmkt Have try with |
@Imranmkt , i think a new thread should be opened for your problem so that other people facing problem same as your's can also be benefited. we can discuss this issue on the new thread |
The URL has changed. I have been able to install .26.1 to build tensorflow 2.0 with |
To get install URL for your desired version, get the raw link of the bazel.rb, for example: then
|
a better solution to this problem: brew tap bazelbuild/tap
brew extract bazel bazelbuild/tap --version X.X.X |
Hi , thanks for preparing this. I'm a bit stuck, and I'm wondering if the README could include information about not only how to upgrade, but also how to downgrade.
I landed here from Tensorflow issue tensorflow/tensorflow#25490
in which downgrading bazel to 0.15.0 was suggested. So...
$ brew install bazel@0.15.0
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 3 taps (homebrew/cask-versions, homebrew/core and homebrew/cask).
==> Updated Formulae
bazel ✔ ffmpeg ✔ apache-opennlp conjure-up crystal mpd ngircd streamlink
Error: No available formula with the name "bazel@0.15.0"
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
Let's see what versions are available.
$ brew search bazel
==> Formulae
bazel ✔ bazelbuild/tap/bazel ✔ bazelbuild/tap/ibazel
? No version numbers listed?
Ok, finally let's try
brew switch
:$ brew switch bazel 0.15.0
Error: bazel does not have a version "0.15.0" in the Cellar.
bazel installed versions: 0.22.0
? Would appreciate any help.
The text was updated successfully, but these errors were encountered: