Skip to content

Error installing buck: env: python: No such file or directory #81

@waougri

Description

@waougri

MacOSX Monterey on an MBP 2015.

Python is in my path:

/Users/iustus/Library/Python/3.11/bin
/Users/iustus/Library/Python/3.11/bin
/usr/local/opt/python@3.11/libexec/bin
/usr/local/bin/python
/usr/bin/python3/
/Library/Frameworks/Python.framework/Versions/3.11/bin
/Users/iustus/Library/Python/3.11/bin
/Users/iustus/Library/Python/3.11/bin
/usr/local/opt/python@3.11/libexec/bin
/usr/local/bin/python
/usr/bin/python3/
/Library/Frameworks/Python.framework/Versions/3.11/bin
/usr/local/bin/python3
/Users/iustus/Library/Python/3.11/bin
/Users/iustus/Library/Python/3.11/bin
/usr/local/opt/python@3.11/libexec/bin
/usr/local/bin/python
/usr/bin/python3/
/Library/Frameworks/Python.framework/Versions/3.11/bin
/usr/local/bin/python3
/usr/bin/python

and yet:

brew install buck                          

==> Downloading https://formulae.brew.sh/api/formula.jws.json
#=#=-  #       #                                                                                                                                                                                                                                               
==> Downloading https://formulae.brew.sh/api/cask.jws.json
#=#=-  #       #                                                                                                                                                                                                                                               
==> Fetching facebook/fb/buck
==> Downloading https://github.com/facebook/buck/archive/v2022.05.05.01.tar.gz
Already downloaded: /Users/iustus/Library/Caches/Homebrew/downloads/81362392aee59d2537d0122ced677c0c6a187f017a70bdd648972df5eb6ac560--buck-2022.05.05.01.tar.gz
==> Installing buck from facebook/fb
==> Bootstrapping buck with ant using /usr/local/opt/ant@1.9/bin/ant
==> /usr/local/opt/ant@1.9/bin/ant -Drelease.version=2022.05.05.01 -Drelease.timestamp=1651780996
==> Building buck with buck
==> ./bin/buck build -c buck.release_version=2022.05.05.01 -c buck.release_timestamp=1651780996 --out /usr/local/Cellar/buck/2022.05.05.01/bin/buck buck
Last 15 lines from /Users/iustus/Library/Logs/Homebrew/buck/02.buck:
2023-08-24 02:52:01 +0000

./bin/buck
build
-c
buck.release_version=2022.05.05.01
-c
buck.release_timestamp=1651780996
--out
/usr/local/Cellar/buck/2022.05.05.01/bin/buck
buck

env: python: No such file or directory

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/facebook/homebrew-fb/issues

These open issues may also help:
brew install --HEAD buck not working https://github.com/facebook/homebrew-fb/issues/61
Error installing buck-2021.01.12.01.yosemite.bottle.tar.gz https://github.com/facebook/homebrew-fb/issues/65

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions