kismetの使い方
https://qiita.com/yamori813/items/a34860f0bb7c5a344fe4
の記事を見て、Macでも導入しようとした。
課題
brew_managerというIDで管理していた。
他のIDで無理にbrewを使ったことがあるらしい。
Permission denied
$ brew install kismet
touch: /usr/local/Homebrew/.git/FETCH_HEAD: Permission denied
touch: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/.git/FETCH_HEAD: Permission denied
touch: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/.git/FETCH_HEAD: Permission denied
touch: /usr/local/Homebrew/Library/Taps/px4/homebrew-px4/.git/FETCH_HEAD: Permission denied
Updating Homebrew...
fatal: Unable to create '/usr/local/Homebrew/.git/index.lock': Permission denied
error: could not lock config file .git/config: Permission denied
Error: No available formula with the name "kismet"
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
==> Searching local taps...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
Password: Sorry, try again
$ sudo brew update
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
sudo: 3 incorrect password attempts
現在、ログインしているuserのパスワードか、誰のパスワードがいいかわからず。
Error: Can't create update lock in /usr/local/var/homebrew/locks!
$ su brew_manager
Password:
bash-3.2$ brew update
Error: Can't create update lock in /usr/local/var/homebrew/locks!
Fix permissions by running:
sudo chown -R $(whoami) /usr/local/var/homebrew
bash-3.2$ sudo chown -R $(whoami) /usr/local/var/homebrew
Password:
5分まてど画面表示が変わらない。
$ brew update
^C$
ctrl+Cで止めた。よく考えたら、窓の一番上の枠の行でいろいろ動いていたらしい。
解決:長いあいだupdateしてなかったからだけ。枠の表示を見て待とう。
Error: The following directories are not writable by your user:
$ brew upgrade
Updating Homebrew...
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
==> Downloading https://homebrew.bintray.com/bottles-portable-ruby/portable-ruby-2.3.7.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring portable-ruby-2.3.7.mavericks.bottle.tar.gz
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
https://github.com/Homebrew/brew#donations
==> Auto-updated Homebrew!
Updated 3 taps (homebrew/cask, homebrew/core and px4/px4).
==> New Formulae
ahoy eless lf perltidy shellz
中略
Error: The following directories are not writable by your user:
/usr/local/share/aclocal
/usr/local/share/locale
/usr/local/share/man/man3
/usr/local/share/man/man4
/usr/local/share/man/man5
/usr/local/share/man/man7
/usr/local/share/man/man8
/usr/local/share/zsh
/usr/local/share/zsh/site-functions
You should change the ownership of these directories to your user.
sudo chown -R $(whoami) /usr/local/share/aclocal /usr/local/share/locale /usr/local/share/man/man3 /usr/local/share/man/man4 /usr/local/share/man/man5 /usr/local/share/man/man7 /usr/local/share/man/man8 /usr/local/share/zsh /usr/local/share/zsh/site-functions
解決:例示のあったコマンドをコピペ。
sudo chown -R $(whoami) /usr/local/share/aclocal /usr/local/share/locale /usr/local/share/man/man3 /usr/local/share/man/man4 /usr/local/share/man/man5 /usr/local/share/man/man7 /usr/local/share/man/man8 /usr/local/share/zsh /usr/local/share/zsh/site-functions
brew upgrade
==> Upgrading 75 outdated packages:
ant 1.10.1 -> 1.10.5, apr 1.6.3 -> 1.6.5, atk 2.26.1 -> 2.30.0, automake 1.15.1 -> 1.16.1_1, boost 1.65.1 -> 1.68.0_1, c-ares 1.13.0 -> 1.15.0, cairo 1.14.10 -> 1.16.0, cmake 3.9.5 -> 3.13.4, cppcheck 1.81 -> 1.87, curl 7.60.0 -> 7.64.0, docker 18.05.0 -> 18.09.2, doxygen 1.8.13_1 -> 1.8.15, fontconfig 2.12.6 -> 2.13.1, freetype 2.9 -> 2.9.1, gcc 7.2.0_1 -> 8.2.0, gcc@6 6.4.0 -> 6.5.0, gdbm 1.13 -> 1.18.1, gdk-pixbuf 2.36.11 -> 2.38.0, geoip 1.6.11 -> 1.6.12, git 2.16.1 -> 2.20.1, glib 2.54.2 -> 2.58.3, gmp 6.1.2_1 -> 6.1.2_2, gnuplot 5.2.2_1 -> 5.2.6_1, gnutls 3.5.16 -> 3.6.6, gobject-introspection 1.54.1 -> 1.58.3, graphite2 1.3.10 -> 1.3.13, gtk+ 2.24.31_1 -> 2.24.32_2, gzip 1.8 -> 1.10, harfbuzz 1.6.3 -> 2.3.0, icu4c 61.1 -> 63.1, isl 0.18 -> 0.20, jpeg 9b -> 9c, jq 1.5_3 -> 1.6, libgcrypt 1.8.1 -> 1.8.4, libgpg-error 1.27 -> 1.35, libpcap 1.8.1 -> 1.9.0, libpng 1.6.34 -> 1.6.36, libtasn1 4.12 -> 4.13, libtiff 4.0.9_1 -> 4.0.10_1, libunistring 0.9.7 -> 0.9.10, libusb 1.0.21 -> 1.0.22, llvm 6.0.0 -> 7.0.1, lua 5.3.4_2 -> 5.3.5_1, maven 3.5.2 -> 3.6.0, maxima 5.41.0 -> 5.42.2, mpfr 4.0.0 -> 4.0.1, mruby 1.4.1 -> 2.0.0, nettle 3.3 -> 3.4.1, node 10.2.1 -> 11.10.0, oniguruma 6.8.2 -> 6.9.1, openssl 1.0.2o_1 -> 1.0.2q, openssl@1.1 1.1.0h -> 1.1.1a, p11-kit 0.23.9 -> 0.23.15, pandoc 2.0.1.1 -> 2.6, pango 1.40.13 -> 1.42.4_1, pcre 8.41 -> 8.42, perl 5.26.1 -> 5.28.1, pixman 0.34.0_1 -> 0.36.0, py2cairo 1.15.3 -> 1.18.0, pyenv 1.1.5 -> 1.2.9, pygobject 2.28.6_2 -> 2.28.7_1, pygobject3 3.26.1 -> 3.30.4, pygtk 2.24.0_1 -> 2.24.0_2, python 2.7.14 -> 3.7.2_2, r 3.4.3_1 -> 3.5.2_2, readline 7.0.3_1 -> 8.0.0, rlwrap 0.43 -> 0.43_1, shared-mime-info 1.9 -> 1.12, sqlite 3.23.1 -> 3.27.1, subversion 1.9.7_1 -> 1.11.1, tcl-tk 8.6.8 -> 8.6.9, webp 0.6.1 -> 1.0.2, wget 1.19.2 -> 1.20.1_4, wireshark 2.4.2 -> 2.6.6, xdot 0.7_1 -> 0.9_4
==> Upgrading openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2q.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring openssl-1.0.2q.sierra.bottle.tar.gz
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall openssl`
==> Caveats
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
/usr/local/etc/openssl/certs
and run
/usr/local/opt/openssl/bin/c_rehash
openssl is keg-only, which means it was not symlinked into /usr/local,
because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.
If you need to have openssl first in your PATH run:
echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile
For compilers to find openssl you may need to set:
export LDFLAGS="-L/usr/local/opt/openssl/lib"
export CPPFLAGS="-I/usr/local/opt/openssl/include"
For pkg-config to find openssl you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"
==> Summary
🍺 /usr/local/Cellar/openssl/1.0.2q: 1,794 files, 12.3MB
==> `brew cleanup` has not been run in 30 days, running now...
Removing: /usr/local/Cellar/apr-util/1.6.0... (57 files, 780.8KB)
Error: Could not remove /usr/local/Cellar/apr-util/1.6.0! Check its permissions.
Removing: /usr/local/Cellar/apr-util/1.6.0_1... (54 files, 777.6KB)
Error: Could not remove /usr/local/Cellar/apr-util/1.6.0_1! Check its permissions.
Removing: /usr/local/Cellar/gd/2.2.4_1... (34 files, 1MB)
Error: Could not remove /usr/local/Cellar/gd/2.2.4_1! Check its permissions.
Removing: /usr/local/Cellar/gd/2.2.4_2... (34 files, 1MB)
Error: Could not remove /usr/local/Cellar/gd/2.2.4_2! Check its permissions.
Removing: /usr/local/Cellar/hicolor-icon-theme/0.15... (6 files, 48.5KB)
Error: Could not remove /usr/local/Cellar/hicolor-icon-theme/0.15! Check its permissions.
Removing: /usr/local/Cellar/libmpc/1.0.3_1... (12 files, 344.9KB)
Error: Could not remove /usr/local/Cellar/libmpc/1.0.3_1! Check its permissions.
Removing: /usr/local/Cellar/openssl/1.0.2k... (1,696 files, 12MB)
Error: Could not remove /usr/local/Cellar/openssl/1.0.2k! Check its permissions.
Removing: /usr/local/Cellar/openssl/1.0.2l... (1,709 files, 12.2MB)
Error: Could not remove /usr/local/Cellar/openssl/1.0.2l! Check its permissions.
Removing: /usr/local/Cellar/openssl/1.0.2m... (1,792 files, 12.3MB)
Error: Could not remove /usr/local/Cellar/openssl/1.0.2m! Check its permissions.
Removing: /usr/local/Cellar/openssl/1.0.2n... (1,792 files, 12.3MB)
Removing: /usr/local/Cellar/openssl/1.0.2o_1... (1,791 files, 12.3MB)
Removing: /usr/local/Cellar/pkg-config/0.29.1_2... (10 files, 627.5KB)
Error: Could not remove /usr/local/Cellar/pkg-config/0.29.1_2! Check its permissions.
Removing: /usr/local/Cellar/texinfo/6.4... (408 files, 8.2MB)
Error: Could not remove /usr/local/Cellar/texinfo/6.4! Check its permissions.
Removing: /usr/local/Cellar/xz/5.2.3... (92 files, 1.4MB)
Error: Could not remove /usr/local/Cellar/xz/5.2.3! Check its permissions.
Removing: /Users/brew_manager/Library/Caches/Homebrew/autoconf-2.69.sierra.bottle.4.tar.gz... (870.6KB)
中略
Pruned 9 symbolic links and 12 directories from /usr/local
==> Upgrading openssl@1.1
==> Downloading https://homebrew.bintray.com/bottles/openssl@1.1-1.1.1a.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring openssl@1.1-1.1.1a.sierra.bottle.tar.gz
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall openssl@1.1`
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/usr/local/etc/openssl@1.1/certs
and run
/usr/local/opt/openssl@1.1/bin/c_rehash
openssl@1.1 is keg-only, which means it was not symlinked into /usr/local,
because openssl/libressl is provided by macOS so don't link an incompatible version.
If you need to have openssl@1.1 first in your PATH run:
echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.bash_profile
For compilers to find openssl@1.1 you may need to set:
export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"
For pkg-config to find openssl@1.1 you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig"
==> Summary
🍺 /usr/local/Cellar/openssl@1.1/1.1.1a: 7,953 files, 18.2MB
中略
Error: Failure while executing; `cp -pR /var/folders/s3/cvs3zdcj5_lf0ykhnw722bkh0000gs/T/d20190218-64410-qivcei/curl/. /usr/local/Cellar/curl` exited with 1. Here's the output:
cp: /usr/local/Cellar/curl/./7.64.0: Permission denied
cp: /var/folders/s3/cvs3zdcj5_lf0ykhnw722bkh0000gs/T/d20190218-64410-qivcei/curl/./7.64.0: unable to copy extended attributes to /usr/local/Cellar/curl/./7.64.0: Permission denied
cp: /usr/local/Cellar/curl/./7.64.0/.brew: No such file or directory
cp: /var/folders/s3/cvs3zdcj5_lf0ykhnw722bkh0000gs/T/d20190218-64410-qivcei/curl/./7.64.0/.brew: unable to copy extended attributes to /usr/local/Cellar/curl/./7.64.0/.brew: No such file or directory
cp: /usr/local/Cellar/curl/./7.64.0/.brew/curl.rb: No such file or directory
cp: utimes: /usr/local/Cellar/curl/./7.64.0/.brew: No such file or directory
cp: chown: /usr/local/Cellar/curl/./7.64.0/.brew: No such file or directory
cp: chmod: /usr/local/Cellar/curl/./7.64.0/.brew: No such file or directory
cp: chflags: /usr/local/Cellar/curl/./7.64.0/.brew: No such file or directory
中略
cp: utimes: /usr/local/Cellar/curl/.: Operation not permitted
Warning: Bottle installation failed: building from source.
==> Downloading https://curl.haxx.se/download/curl-7.64.0.tar.bz2
######################################################################## 100.0%
Error: An exception occurred within a child process:
Errno::EACCES: Permission denied @ dir_s_mkdir - /usr/local/Cellar/curl/7.64.0
別のIDで登録したかもしれないフォルダを管理者IDの所有に変更
$ cd /usr/local/Cellar/
$ sudo chown -R brew_manager *
Error: Permission denied @ unlink_internal - /usr/local/share/gtk-doc/html/cairo/bindings-errors.html
$ brew upgrade
中略
==> Upgrading cairo
Error: Permission denied @ unlink_internal - /usr/local/share/gtk-doc/html/cairo/bindings-errors.html
類似の方法
$ cd /usr/local/share/
$ sudo chown -R brew_manager *
今度こそ
Error: Cannot link python
$ brew upgrade
中略
Error: Cannot link python
Another version is already linked: /usr/local/Cellar/python/2.7.14
別の機材でのエラー
Error: Can't create update lock
$ brew update
Error: Can't create update lock in /usr/local/var/homebrew/locks!
Fix permissions by running:
sudo chown -R $(whoami) /usr/local/var/homebrew
$ sudo chown -R $(whoami) /usr/local/var/homebrew
Password:
$ brew update
Error: The following directories
brew upgrade
Error: The following directories are not writable by your user:
/usr/local/lib/pkgconfig
/usr/local/lib/python3.7/site-packages
/usr/local/share/locale
/usr/local/share/man/man3
/usr/local/share/man/man5
/usr/local/share/man/man7
/usr/local/share/man/man8
/usr/local/share/zsh
/usr/local/share/zsh/site-functions
You should change the ownership of these directories to your user.
sudo chown -R $(whoami) /usr/local/lib/pkgconfig /usr/local/lib/python3.7/site-packages /usr/local/share/locale /usr/local/share/man/man3 /usr/local/share/man/man5 /usr/local/share/man/man7 /usr/local/share/man/man8 /usr/local/share/zsh /usr/local/share/zsh/site-functions
$ sudo chown -R $(whoami) /usr/local/lib/pkgconfig /usr/local/lib/python3.7/site-packages /usr/local/share/locale /usr/local/share/man/man3 /usr/local/share/man/man5 /usr/local/share/man/man7 /usr/local/share/man/man8 /usr/local/share/zsh /usr/local/share/zsh/site-functions
$ brew upgrade
Error: Failure while executing; `cp -pR /var/folders/81/ql5xyj311jdd9b1z9nn707fh0000gt/T/d20190218-68522-dwz1eg/mysql/. /usr/local/Cellar/mysql` exited with 1. Here's the output:
cp: /usr/local/Cellar/mysql/./8.0.15: Permission denied
brew upgrade
==> Upgrading 12 outdated packages:
ghostscript 9.25 -> 9.26_1, libidn2 2.0.5 -> 2.1.1a, libpng 1.6.35 -> 1.6.36, libtiff 4.0.9_5 -> 4.0.10_1, mysql 8.0.12 -> 8.0.15, numpy 1.15.4 -> 1.16.1, pandoc 2.4 -> 2.6, pyenv 1.2.8 -> 1.2.9, python 3.7.1 -> 3.7.2_2, python@2 2.7.15_1 -> 2.7.15_3, socat 1.7.3.2_2 -> 1.7.3.2_3, wget 1.19.5 -> 1.20.1_4
中略
==> Upgrading mysql
==> Downloading https://homebrew.bintray.com/bottles/mysql-8.0.15.sierra.bottle.tar.gz
Already downloaded: /Users/brew_manager/Library/Caches/Homebrew/downloads/67213f9642a283bcc8b644f5a3f0715051d26b8edf27a06519ce21a614f41495--mysql-8.0.15.sierra.bottle.tar.gz
==> Pouring mysql-8.0.15.sierra.bottle.tar.gz
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall mysql`
==> Caveats
We've installed your MySQL database without a root password. To secure it run:
mysql_secure_installation
MySQL is configured to only allow connections from localhost by default
To connect run:
mysql -uroot
To have launchd start mysql now and restart at login:
brew services start mysql
Or, if you don't want/need a background service you can just run:
mysql.server start
==> Summary
🍺 /usr/local/Cellar/mysql/8.0.15: 267 files, 235.4MB
Removing: /usr/local/Cellar/mysql/8.0.12... (255 files, 233.3MB)
==> Upgrading numpy
==> Installing dependencies for numpy: python and python@2
==> Installing numpy dependency: python
==> Downloading https://homebrew.bintray.com/bottles/python-3.7.2_2.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring python-3.7.2_2.sierra.bottle.tar.gz
==> /usr/local/Cellar/python/3.7.2_2/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python/3.7.2_2/bin --install-lib=/usr/local/lib/python3.7/site-packa
==> /usr/local/Cellar/python/3.7.2_2/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python/3.7.2_2/bin --install-lib=/usr/local/lib/python3.7/site-packa
==> /usr/local/Cellar/python/3.7.2_2/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python/3.7.2_2/bin --install-lib=/usr/local/lib/python3.7/site-packa
==> 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/libexec/bin
If you need Homebrew's Python 2.7 run
brew install python@2
You can install Python packages with
pip3 install <package>
They will install into the site-package directory
/usr/local/lib/python3.7/site-packages
See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺 /usr/local/Cellar/python/3.7.2_2: 3,861 files, 59.7MB
==> Installing numpy dependency: python@2
==> Downloading https://homebrew.bintray.com/bottles/python@2-2.7.15_3.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring python@2-2.7.15_3.sierra.bottle.tar.gz
==> /usr/local/Cellar/python@2/2.7.15_3/bin/python -s setup.py --no-user-cfg install --force --verbose --single-version-externally-managed --record=installed.txt --install-scripts=/usr/local/Cellar/python@
==> /usr/local/Cellar/python@2/2.7.15_3/bin/python -s setup.py --no-user-cfg install --force --verbose --single-version-externally-managed --record=installed.txt --install-scripts=/usr/local/Cellar/python@
==> /usr/local/Cellar/python@2/2.7.15_3/bin/python -s setup.py --no-user-cfg install --force --verbose --single-version-externally-managed --record=installed.txt --install-scripts=/usr/local/Cellar/python@
==> Caveats
Pip and setuptools have been installed. To update them
pip install --upgrade pip setuptools
You can install Python packages with
pip install <package>
They will install into the site-package directory
/usr/local/lib/python2.7/site-packages
See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺 /usr/local/Cellar/python@2/2.7.15_3: 4,730 files, 83MB
==> Installing numpy
==> Downloading https://homebrew.bintray.com/bottles/numpy-1.16.1.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring numpy-1.16.1.sierra.bottle.tar.gz
==> Caveats
If you use system python (that comes - depending on the OS X version -
with older versions of numpy, scipy and matplotlib), you may need to
ensure that the brewed packages come earlier in Python's sys.path with:
mkdir -p /Users/brew_manager/Library/Python/2.7/lib/python/site-packages
echo 'import sys; sys.path.insert(1, "/usr/local/lib/python3.7/site-packages")' >> /Users/brew_manager/Library/Python/2.7/lib/python/site-packages/homebrew.pth
==> Summary
🍺 /usr/local/Cellar/numpy/1.16.1: 998 files, 26MB
Removing: /usr/local/Cellar/numpy/1.14.2... (939 files, 27MB)
Removing: /usr/local/Cellar/numpy/1.15.4... (969 files, 25.4MB)
==> Upgrading pandoc
==> Downloading https://homebrew.bintray.com/bottles/pandoc-2.6.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pandoc-2.6.sierra.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
==> Summary
🍺 /usr/local/Cellar/pandoc/2.6: 171 files, 71.2MB
Removing: /usr/local/Cellar/pandoc/1.19.2.1... (72 files, 116.8MB)
Removing: /usr/local/Cellar/pandoc/1.19.2.4... (72 files, 86.1MB)
Removing: /usr/local/Cellar/pandoc/2.0.1.1... (125 files, 62.6MB)
Removing: /usr/local/Cellar/pandoc/2.1.3... (173 files, 65.2MB)
Removing: /usr/local/Cellar/pandoc/2.4... (172 files, 70.2MB)
==> Upgrading pyenv
==> Downloading https://homebrew.bintray.com/bottles/pyenv-1.2.9.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pyenv-1.2.9.sierra.bottle.tar.gz
🍺 /usr/local/Cellar/pyenv/1.2.9: 619 files, 2.4MB
Removing: /usr/local/Cellar/pyenv/1.0.10... (560 files, 2.2MB)
Removing: /usr/local/Cellar/pyenv/1.0.8... (548 files, 2.2MB)
Removing: /usr/local/Cellar/pyenv/1.1.3... (581 files, 2.2MB)
Removing: /usr/local/Cellar/pyenv/1.1.5... (594 files, 2.3MB)
Removing: /usr/local/Cellar/pyenv/1.2.3... (597 files, 2.4MB)
Removing: /usr/local/Cellar/pyenv/1.2.8... (612 files, 2.4MB)
Removing: /usr/local/Cellar/python/3.6.5... (4,759 files, 100MB)
Removing: /usr/local/Cellar/python/3.7.1... (3,820 files, 59.2MB)
Removing: /usr/local/Cellar/python@2/2.7.15_1... (4,666 files, 82.6MB)
==> python
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/libexec/bin
If you need Homebrew's Python 2.7 run
brew install python@2
You can install Python packages with
pip3 install <package>
They will install into the site-package directory
/usr/local/lib/python3.7/site-packages
See: https://docs.brew.sh/Homebrew-and-Python
==> python@2
Pip and setuptools have been installed. To update them
pip install --upgrade pip setuptools
You can install Python packages with
pip install <package>
They will install into the site-package directory
/usr/local/lib/python2.7/site-packages
See: https://docs.brew.sh/Homebrew-and-Python
==> numpy
If you use system python (that comes - depending on the OS X version -
with older versions of numpy, scipy and matplotlib), you may need to
ensure that the brewed packages come earlier in Python's sys.path with:
mkdir -p /Users/brew_manager/Library/Python/2.7/lib/python/site-packages
echo 'import sys; sys.path.insert(1, "/usr/local/lib/python3.7/site-packages")' >> /Users/brew_manager/Library/Python/2.7/lib/python/site-packages/homebrew.pth
==> pandoc
Bash completion has been installed to:
/usr/local/etc/bash_completion.d