Difference between revisions of "Brew install [email protected]"
Jump to navigation
Jump to search
(Created page with "{{lc}} brew install [email protected] == See also == * {{Python}} Category:Python") |
|||
| Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
[[brew install]] [email protected] | [[brew install]] [email protected] | ||
| + | |||
| + | Python has been installed as | ||
| + | /Users/MY_USER/brew/opt/[email protected]/bin/python3 | ||
| + | |||
| + | |||
| + | Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to | ||
| + | `python3`, `python3-config`, `pip3` etc., respectively, have been installed into | ||
| + | /Users/MY_USER/brew/opt/[email protected]/libexec/bin | ||
| + | |||
| + | You can install Python packages with | ||
| + | /Users/MY_USER/brew/opt/[email protected]/bin/pip3 install <package> | ||
| + | They will install into the site-package directory | ||
| + | /Users/MY_USER/brew/lib/python3.8/site-packages | ||
| + | |||
| + | See: https://docs.brew.sh/Homebrew-and-Python | ||
| + | |||
| + | [email protected] is [[keg-only]], which means it was not symlinked into /Users/MY_USER/brew, | ||
| + | because this is an alternate version of another formula. | ||
| + | |||
| + | If you need to have [email protected] first in your PATH, run: | ||
| + | echo 'export PATH="/Users/MY_USER/brew/opt/[email protected]/bin:$PATH"' >> ~/.zshrc | ||
| + | |||
| + | For compilers to find [email protected] you may need to set: | ||
| + | export LDFLAGS="-L/Users/MY_USER/brew/opt/[email protected]/lib" | ||
| + | |||
| + | For pkg-config to find [email protected] you may need to set: | ||
| + | export PKG_CONFIG_PATH="/Users/MY_USER/brew/opt/[email protected]/lib/pkgconfig" | ||
| + | |||
== See also == | == See also == | ||
Revision as of 08:25, 20 June 2022
brew install [email protected]
Python has been installed as /Users/MY_USER/brew/opt/[email protected]/bin/python3
Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to `python3`, `python3-config`, `pip3` etc., respectively, have been installed into /Users/MY_USER/brew/opt/[email protected]/libexec/bin You can install Python packages with /Users/MY_USER/brew/opt/[email protected]/bin/pip3 install <package> They will install into the site-package directory /Users/MY_USER/brew/lib/python3.8/site-packages See: https://docs.brew.sh/Homebrew-and-Python [email protected] is keg-only, which means it was not symlinked into /Users/MY_USER/brew, because this is an alternate version of another formula. If you need to have [email protected] first in your PATH, run: echo 'export PATH="/Users/MY_USER/brew/opt/[email protected]/bin:$PATH"' >> ~/.zshrc For compilers to find [email protected] you may need to set: export LDFLAGS="-L/Users/MY_USER/brew/opt/[email protected]/lib" For pkg-config to find [email protected] you may need to set: export PKG_CONFIG_PATH="/Users/MY_USER/brew/opt/[email protected]/lib/pkgconfig"
See also
- Python, PIP, Global interpreter lock (GIL), Flask, Django, Marshmallow,
def, logging, Pandas, Numpy, AWS Chalice,import,from,tuple,list, Python exceptions,virtualenv,.append,pytz,TZ,print,python3 -c,os, PEP, Python Institute, Methods: Dunder methods, Flake8, Python collections, Function decorators in Python, Click python library, Python module, Flower,kwargs, Black (Python), Python list structure, Mypy,variables, Casting,try:, pydoc, argparse, Anaconda,pyenv, setup.py, python3 --version, python3 --help, Data Classes, raise, glob
Advertising: