Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
271 views
in Technique[技术] by (71.8m points)

php - Why brew needs python while installing php7

While installing php via brew on MacOs, i got the output below. So i am asking why python dependency is needed while installing php?

==> Installing dependencies for [email protected]: [email protected] and glib
==> Installing [email protected] dependency: [email protected]
==> Pouring [email protected]_4.mojave.bottle.tar.gz
==> /usr/local/Cellar/[email protected]/3.9.1_4/bin/python3 -m ensurepip
==> /usr/local/Cellar/[email protected]/3.9.1_4/bin/pip3 install -v --global-option=--no-user-cfg --install-option=--force --install-option=--single-version-externally-managed --install-option=--record=installed.txt --upgrade --target=/usr/local
==> Caveats
Python has been installed as
  /usr/local/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /usr/local/opt/[email protected]/libexec/bin

You can install Python packages with
  pip3 install <package>
They will install into the site-package directory
  /usr/local/lib/python3.9/site-packages

See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
??  /usr/local/Cellar/[email protected]/3.9.1_4: 3,932 files, 61.7MB
==> Installing [email protected] dependency: glib
==> Pouring glib-2.66.4_1.mojave.bottle.1.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
??  /usr/local/Cellar/glib/2.66.4_1: 441 files, 20.3MB
==> Installing [email protected]

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...