小编Erc*_*rce的帖子

为什么brew在安装php7时需要python

在 MacOs 上通过 brew 安装 php 时,我得到了下面的输出。所以我问为什么在安装php时需要python依赖?

==> Installing dependencies for php@7.4: python@3.9 and glib
==> Installing php@7.4 dependency: python@3.9
==> Pouring python@3.9-3.9.1_4.mojave.bottle.tar.gz
==> /usr/local/Cellar/python@3.9/3.9.1_4/bin/python3 -m ensurepip
==> /usr/local/Cellar/python@3.9/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/python@3.9/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 …
Run Code Online (Sandbox Code Playgroud)

php python homebrew dependencies

5
推荐指数
1
解决办法
185
查看次数

标签 统计

dependencies ×1

homebrew ×1

php ×1

python ×1