Skip to content

Commit

Permalink
Merge pull request containers#185 from containers/brewdir
Browse files Browse the repository at this point in the history
Also suggest adding brew dir to PATH
  • Loading branch information
rhatdan authored Sep 25, 2024
2 parents 3ea3ec6 + 8539f37 commit 209dc6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def check_platform():
print("This script is intended to run as non-root on macOS")
return 1
if not available("brew"):
print("Please install Homebrew before continuing install on macOS")
print("Please install brew and add the directory containing brew to the PATH before continuing install on macOS")
return 2
elif sys.platform == "linux":
if os.geteuid() != 0:
Expand All @@ -71,8 +71,8 @@ def check_platform():


def install_mac_dependencies():
subprocess.run(["pip3", "install", "--break-system-packages", "huggingface_hub[cli]==0.24.2"], check=True)
subprocess.run(["pip3", "install", "--break-system-packages", "omlmd==0.1.4"], check=True)
subprocess.run(["pip3", "install", "huggingface_hub[cli]==0.25.1"], check=True)
subprocess.run(["pip3", "install", "omlmd==0.1.4"], check=True)
subprocess.run(["brew", "install", "llama.cpp"], check=True)


Expand Down

0 comments on commit 209dc6c

Please sign in to comment.