Difference between revisions of "Brew install [email protected]"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 24: Line 24:
 
   
 
   
 
  For compilers to find [email protected] you may need to set:
 
  For compilers to find [email protected] you may need to set:
   export LDFLAGS="-L/Users/MY_USER/brew/opt/[email protected]/lib"  
+
   export [[LDFLAGS]]="-L/Users/MY_USER/brew/opt/[email protected]/lib"  
 
   
 
   
 
  For pkg-config to find [email protected] you may need to set:
 
  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"
 
   export PKG_CONFIG_PATH="/Users/MY_USER/brew/opt/[email protected]/lib/pkgconfig"
  
 +
== Related ==
 +
* [[Keg-only]]
 +
* [[brew install [email protected]]]
  
 
== See also ==
 
== See also ==
 +
* {{Python3}}
 
* {{Python}}
 
* {{Python}}
  
 
[[Category:Python]]
 
[[Category:Python]]

Latest revision as of 11:41, 18 October 2023

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"

Related[edit]

See also[edit]

Advertising: