Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
iustusae opened this issue Aug 24, 2023 · 2 comments
Open

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

iustusae opened this issue Aug 24, 2023 · 2 comments

Comments

@iustusae
Copy link

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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/bin/ant
==> /usr/local/opt/[email protected]/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
@stevenkang90
Copy link

is there any update / workarounds for this?

@ndmitchell
Copy link

Note that buck is deprecated, and we'd encourage users to move to buck2 - https://buck2.build/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants