brew install firstname.lastname@example.org
Python has been installed as /email@example.com/bin/python3 Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to `python3`, `python3-config`, `pip3` etc., respectively, have been installed into /firstname.lastname@example.org/libexec/bin You can install Python packages with /email@example.com/bin/pip3 install
They will install into the site-package directory /opt/homebrew/lib/python3.8/site-packages See: https://docs.brew.sh/Homebrew-and-Python firstname.lastname@example.org is keg-only, which means it was not symlinked into /opt/homebrew, because this is an alternate version of another formula. If you need to have email@example.com first in your PATH, run: echo 'export PATH="/firstname.lastname@example.org/bin:$PATH"' >> ~/.zshrc For compilers to find email@example.com you may need to set: export LDFLAGS="-Lfirstname.lastname@example.org/lib"
LDFLAGS 请参考 ：https://www.cnblogs.com/taski...