mac 설치 geckodriver 및 chromedriver

60684 단어
Last login: Fri Apr 12 12:40:34 on ttys000
(base) localhost:~ ligaijiang$ env
TERM_PROGRAM=Apple_Terminal
SHELL=/bin/bash
TERM=xterm-256color
NLS_LANG=AMERICAN_AMERICA.UTF8
TMPDIR=/var/folders/g0/5l5qtsr16yvgyw_89s7d_1c00000gn/T/
CONDA_SHLVL=1
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.qgwNPtVWBG/Render
CONDA_PROMPT_MODIFIER=(base) 
TERM_PROGRAM_VERSION=404
TERM_SESSION_ID=33A4B99F-EA8B-4DFF-895F-B32D71FD7078
USER=ligaijiang
CONDA_EXE=/Users/ligaijiang/anaconda3/bin/conda
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.yCgFI6MGUe/Listeners
_CE_CONDA=
PATH=/Users/ligaijiang/anaconda3/bin:/Users/ligaijiang/anaconda3/condabin:/Users/ligaijiang/oracle/instantclient_11_2:/Users/ligaijiang/oracle/instantclient_11_2:SQLPATH:/Users/ligaijiang/instantclient_11_2:/Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:.
CONDA_PREFIX=/Users/ligaijiang/anaconda3
PWD=/Users/ligaijiang
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home
LANG=zh_CN.UTF-8
XPC_FLAGS=0x0
_CE_M=
XPC_SERVICE_NAME=0
SHLVL=1
HOME=/Users/ligaijiang
LOGNAME=ligaijiang
CLASSPATH=/Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home/lib/dt.jar:.
CONDA_DEFAULT_ENV=base
ORACLE_HOME=/Users/ligaijiang/oracle/instantclient_11_2
SECURITYSESSIONID=186a8
_=/usr/bin/env
(base) localhost:~ ligaijiang$ brew install geckodriver
Updating Homebrew...



Error: The following directories are not writable by your user:
/usr/local/share/man/man3
/usr/local/share/man/man5
/usr/local/share/man/man7

You should change the ownership of these directories to your user.
  sudo chown -R $(whoami) /usr/local/share/man/man3 /usr/local/share/man/man5 /usr/local/share/man/man7

And make sure that your user has write permission.
  chmod u+w /usr/local/share/man/man3 /usr/local/share/man/man5 /usr/local/share/man/man7
(base) localhost:~ ligaijiang$ 
(base) localhost:~ ligaijiang$ 
(base) localhost:~ ligaijiang$ 
(base) localhost:~ ligaijiang$ brew install geckodriver
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
ahoy                       grpcurl                    protoc-gen-go
aliyun-cli                 gtranslator                pyinstaller
anyenv                     h3                         re-flex
aws-iam-authenticator      homeassistant-cli          reprepro
bluetoothconnector         i386-elf-grub              riff
breezy                     jinja2-cli                 s2geometry
buildkit                   jp                         s3ql
bumpversion                kcov                       sd
cafeobj                    kubeprod                   serve
cassandra-reaper           lazygit                    sha3sum
ccls                       libgusb                    signal-cli
chafa                      libkeccak                  simple-scan
cmusfm                     libopenmpt                 sn0int
cryptominisat              libpulsar                  solr@7.7
cstore_fdw                 libvirt-glib               spice-protocol
diskus                     llvm@7                     spirv-cross
dmg2img                    lsd                        step
dockerize                  mage                       stolon
embree                     man-db                     swagger2markup-cli
entityx                    mdbook                     tesseract-lang
fff                        needle                     tmx
ffsend                     opencv@3                   triangle
frpc                       operator-sdk               ungit
frps                       ospray                     usbredir
gerbil-scheme              osx-cpu-temp               ***-plugin
git-absorb                 oxipng                     volt
gitleaks                   phpmd                      vulkan-headers
gnunet                     proper                     zabbix-cli
go@1.11                    protobuf@3.6               zydis
==> Updated Formulae
abcde                                    libbluray
abcm2ps                                  libcec
abcmidi                                  libcerf
abook                                    libchaos
ace                                      libcroco
ack                                      libdazzle
acpica                                   libdill
activemq                                 libdvdread
activemq-cpp                             libetpan
adwaita-icon-theme                       libextractor
aescrypt-packetizer                      libfabric
afflib                                   libgaiagraphics
afio                                     libgda
agedu                                    libgeotiff
aide                                     libgit2
akamai                                   libglademm
alexjs                                   libgnomecanvasmm
algernon                                 libgosu
allegro                                  libgpg-error
allure                                   libgphoto2
amazon-ecs-cli                           libgtop
ammonite-repl                            libgweather
amqp-cpp                                 libheif
angle-grinder                            libhttpserver
angular-cli                              libidn2
annie                                    liblas
ansible                                  liblcf
ansible-lint                             liblwgeom
anycable-go                              libmagic
apache-arrow                             libnotify
apache-arrow-glib                        libosinfo
apache-flink                             libosmium
apache-opennlp                           libphonenumber
apache-spark                             libpointing
apache-zeppelin                          libpq
apachetop                                libpqxx
apibuilder-cli                           libpsl
apktool                                  libpst
app-engine-java                          libqalculate
appledoc                                 librasterlite
apr                                      libraw
apt-dater                                librdkafka
arangodb                                 libreadline-java
aravis                                   librealsense
argus-clients                            librsvg
aria2                                    libsass
arm-linux-gnueabihf-binutils             libsecret
armadillo                                libsigc++
arpack                                   libsoundio
artifactory                              libsoup
asciidoctor                              libspatialite
asciidoctorj                             libssh
asciinema                                libssh2
asdf                                     libswiften
asio                                     libtensorflow
ask-cli                                  libtermkey
aspcud                                   libtiff
atk                                      libtins
atkmm                                    libtommath
atlassian-cli                            libtorrent-rasterbar
atomist-cli                              libu2f-host
ats2-postiats                            libuninameslist
aubio                                    libuv
audacious                                libvirt
auditbeat                                libvmaf
augeas                                   libvoikko
aurora                                   libvpx
autoconf-archive                         libvterm
autogen                                  libxc
autossh                                  libxlsxwriter
avfs                                     libxml++
avian                                    libxml++3
aws-okta                                 libxml2
aws-sdk-cpp                              libxslt
awscli                                   libyaml
axel                                     libzip
azure-cli                                lighttpd
azure-storage-cpp                        linkerd
babeld                                   links
babl                                     liquibase
backupninja                              lldpd
bacula-fd                                llnode
ballerina                                llvm
baobab                                   lmod
bartycrouch                              log4cplus
basex                                    logrotate
bash                                     logstalgia
bashdb                                   logstash
bat                                      logtalk
batik                                    lolcat
bazel                                    lorem
bear                                     ltc-tools
bedops                                   lumo
bedtools                                 lxc
bee                                      lynis
befunge93                                lzlib
bento4                                   mackup
berkeley-db                              macvim
bettercap                                mafft
bgpstream                                magnetix
bibtexconv                               mailutils
bigloo                                   mame
binaryen                                 mandoc
bind                                     mapcrafter
bindfs                                   mapnik
binutils                                 mapserver
bison                                    mariadb
bit                                      mariadb@10.0
bitcoin                                  mariadb@10.1
bitrise                                  mariadb@10.2
bitwarden-cli                            mas
blahtexml                                mat2
blastem                                  math-comp
blueutil                                 maxima
bmake                                    maxwell
bnd                                      mdbtools
boost                                    mdcat
boost-bcp                                mdds
boost-build                              mdk
boost-mpi                                mednafen
boost-python                             menhir
boost-python3                            mercurial
botan                                    mesa
bower                                    meson
bowtie2                                  mesos
boxes                                    metabase
brew-gem                                 metaproxy
brew-php-switcher                        metashell
bro                                      metricbeat
btfs                                     mgba
buildifier                               micronaut
buku                                     micropython
bundletool                               mill
burp                                     mingw-w64
bwm-ng                                   minimal-racket
bzt                                      minio
c-blosc                                  minio-mc
cabextract                               miniserve
cadaver                                  mint
caddy                                    mitie
caf                                      mkcert
caffe                                    mkl-dnn
cairomm                                  mkvtoolnix
cake                                     mlkit
calabash                                 mmark
calc                                     mmseqs2
calcurse                                 moarvm
calicoctl                                modd
camlp5                                   mogenerator
capnp                                    monero
capstone                                 monetdb
cargo-completion                         mongo-cxx-driver
carla                                    mongodb
carrot2                                  mongodb@3.0
carthage                                 mongodb@3.2
cash-cli                                 mongodb@3.4
cassandra                                mongodb@3.6
cassandra@2.1                            monit
cassandra@2.2                            mono
cataclysm                                moreutils
ccache                                   mosh
cdk                                      mosquitto
cdogs-sdl                                mpd
ceres-solver                             mpfr
certbot                                  mplayer
cfengine                                 mplayershell
cflow                                    mps-youtube
cfr-decompiler                           mpv
cfssl                                    mrboom
cgal                                     mu
cgdb                                     mutt
cglm                                     mvnvm
chakra                                   mvtools
chapel                                   mysql
check_postgres                           mysql-client
checkbashisms                            mysql@5.6
checkstyle                               mysql@5.7
chezscheme                               nano
chkrootkit                               nativefier
chrome-cli                               nats-streaming-server
chronograf                               nave
cimg                                     ncdu
citus                                    ncmpcpp
clamav                                   nco
cli53                                    ncompress
click                                    ncview
clingo                                   neo4j
clipsafe                                 neofetch
clisp                                    neovim
clojure                                  netcdf
clojurescript                            netdata
closure-compiler                         netpbm
clutter-gst                              newlisp
cmake                                    newsboat
cmark                                    nexus
cmark-gfm                                nghttp2
cmus                                     nginx
cockroach                                ngircd
cocoapods                                ngspice
coffeescript                             nickle
cointop                                  nicovideo-dl
collada-dom                              nifi
collector-sidecar                        nim
commandbox                               ninja
compcert                                 nkf
composer                                 nnn
conan                                    node
configen                                 node-build
confluent-oss                            node@10
conjure-up                               node@6
conserver                                node@8
console_bridge                           nomad
consul                                   nordugrid-arc
consul-template                          nqp
container-diff                           nsd
convox                                   nspr
coq                                      nss
coreutils                                ntopng
coturn                                   ntp
couchdb                                  nu
cp2k                                     numpy
cppad                                    nuxeo
cppcheck                                 nvm
cppcms                                   nwchem
cpprestsdk                               nzbget
cproto                                   objc-codegenutils
cquery                                   ocamlbuild
crc32c                                   ocrmypdf
cromwell                                 octave
crowdin                                  odpi
cryfs                                    offlineimap
cryptopp                                 ohcount
crystal                                  ompl
crystal-icr                              onscripter
cscope                                   opa
csfml                                    opam
csv-fix                                  open-babel
csvkit                                   open-mpi
ctop                                     openal-soft
cucumber-cpp                             opencc
curl                                     openclonk
curl-openssl                             opencoarrays
curlpp                                   openconnect
cython                                   opencv
czmq                                     opendbx
dar                                      opendetex
darcs                                    openforti
dartsim                                  openimageio
datamash                                 openjpeg
dateutils                                openrct2
dav1d                                    opensaml
davix                                    openssl
davmail                                  openssl@1.1
dbhash                                   opentracing-cpp
dbxml                                    opentsdb
dcd                                      openttd
dcmtk                                    openvdb
dcos-cli                                 orc-tools
ddrescue                                 ori
deark                                    osc
debianutils                              osm-pbf
deja-gnu                                 osm2pgsql
dep                                      osquery
deployer                                 osrm-backend
derby                                    overmind
devd                                     p11-kit
devtodo                                  pacapt
dhall                                    packer
dhall-json                               pacvim
dhex                                     pagmo
dialog                                   paket
diff-pdf                                 pandoc
diff-so-fancy                            pandoc-citeproc
diffoscope                               pango
diffstat                                 pangomm
digdag                                   parallel
direnv                                   parallelstl
dita-ot                                  pari
django-completion                        passenger
dlib                                     pce
dmd                                      pcl
dmenu                                    pcre
dnscrypt-proxy                           pdal
dnsperf                                  pdf2htmlex
dnsviz                                   pdfgrep
docfx                                    pdftoipe
docker                                   pdnsrec
docker-completion                        pdsh
docker-compose                           pegtl
docker-compose-completion                percona-server
docker-credential-helper-ecr             percona-toolkit
docker-machine                           petsc
docker-machine-completion                petsc-complex
doctl                                    pgloader
doitlive                                 pgroonga
dosbox-x                                 pgrouting
double-conversion                        pgweb
dovecot                                  phoronix-test-suite
dpkg                                     php
draco                                    php-code-sniffer
dropbear                                 php@7.1
dscanner                                 php@7.2
dspdfviewer                              phplint
dssim                                    phpmyadmin
dtc                                      phpunit
dub                                      picard-tools
duck                                     picat
duply                                    pioneer
dwarf                                    pipenv
dwdiff                                   pius
dwm                                      pixman
dyld-headers                             planck
dynamips                                 plank
dynare                                   plantuml
easyengine                               platformio
easyrpg-player                           pmd
eccodes                                  podofo
efl                                      points2grid
eiffelstudio                             polyml
ejabberd                                 pony-stable
ekg2                                     ponyc
elasticsearch                            poppler
elasticsearch@5.6                        postgis
elektra                                  postgres-xc
elixir                                   postgresql
embulk                                   postgresql@10
emscripten                               postgresql@9.4
encfs                                    postgresql@9.5
enet                                     postgresql@9.6
enigma                                   povray
epic5                                    powerman
epubcheck                                ppsspp
erlang                                   pre-commit
erlang@20                                precomp
eslint                                   prefixsuffix
esptool                                  presto
etcd                                     prettier
ethereum                                 primesieve
etsh                                     procyon-decompiler
exact-image                              profanity
exempi                                   proj
exiftool                                 prometheus
exim                                     protobuf
exomizer                                 protobuf-c
exploitdb                                protobuf-swift
eye-d3                                   prototool
faas-cli                                 proxychains-ng
fabio                                    pspg
fades                                    psql2csv
fastbit                                  ptex
fastme                                   pulledpork
fastqc                                   pulumi
fauna-shell                              pumba
fb-client                                purescript
fcl                                      pushpin
fd                                       putty
feh                                      puzzles
ffe                                      pwntools
ffmpeg                                   pwsafe
ffmpeg@2.8                               pycodestyle
fifechan                                 pyenv
file-formula                             pygobject3
file-roller                              pypy
fio                                      pypy3
firebase-cli                             pyside
fish                                     python
flake8                                   python-yq
flann                                    python@2
flatcc                                   qalculate-gtk
flow                                     qjackctl
fltk                                     qpdf
fluid-synth                              qt
flume                                    quex
fluxctl                                  quicktype
fn                                       qxmpp
folly                                    r
fontforge                                rabbitmq
fonttools                                rakudo
fortio                                   rakudo-star
fossil                                   rancher-cli
fping                                    rawtoaces
freedink                                 rbenv
freeipmi                                 rbspy
freeradius-server                        rclone
freetds                                  rdfind
freetype                                 re2
frugal                                   readline
fselect                                  rebar3
fstrm                                    redis
fswatch                                  redis@3.2
fuse-emulator                            redis@4.0
fuse-zip                                 renameutils
fuseki                                   repo
futhark                                  rethinkdb
fwup                                     rgbds
fx                                       rhash
fzf                                      riak
gambit-scheme                            rke
gammaray                                 rlwrap
gammu                                    rocksdb
gauge                                    rom-tools
gawk                                     root
gcc                                      roswell
gdal                                     rp
gdcm                                     rst-lint
gdk-pixbuf                               rtags
geant4                                   rtv
gearboy                                  ruby
gearman                                  ruby-build
gearsystem                               ruby@2.0
geckodriver                              ruby@2.4
gecode                                   ruby@2.5
gedit                                    rust
genstats                                 rustup-init
geocode-glib                             s3fs
geogram                                  safe
geoipupdate                              salt
geos                                     sbcl
geoserver                                scalariform
get_iplayer                              sccache
getdns                                   sceptre
getmail                                  scipy
gexiv2                                   scrcpy
ghc                                      scummvm
ghc@8.2                                  scw
ghostscript                              sdcv
gibo                                     sdl
gif2png                                  sdl2
gifski                                   securefs
ginac                                    serveit
git                                      serverless
git-annex                                servus
git-cola                                 sf-pwgen
git-extras                               sfcgal
git-fixup                                sfml
git-flow-avh                             s-libev
git-fresh                                shapelib
git-lfs                                  shared-mime-info
git-open                                 shellshare
git-quick-stats                          shellz
git-secret                               shfmt
git-secrets                              shibboleth-sp
gitbucket                                ship
github-keygen                            shmux
gitlab-runner                            shogun
gjs                                      siege
glances                                  sile
glbinding                                simple-mtpfs
glib                                     simple-tiles
glib-networking                          simutrans
glibmm                                   singular
glm                                      sip
globjects                                siril
glog                                     skaffold
gloox                                    skinny
glslang                                  skopeo
glui                                     slackcat
gmic                                     sleuthkit
gmsh                                     smimesign
gmt                                      snapcraft
gmt@4                                    snort
gnatsd                                   socat
gnome-builder                            solr
gnome-latex                              sonar-scanner
gnome-recipes                            sound-touch
gnu-chess                                source-highlight
gnu-getopt                               sourcekitten
gnu-smalltalk                            sourcery
gnu-tar                                  sox
gnu-units                                spatialindex
gnumeric                                 spatialite-gui
gnupg                                    spatialite-tools
gnupg-pkcs11-scd                         spdlog
gnuplot                                  speedtest-cli
gnuplot@4                                sphinx
gnuradio                                 sphinx-doc
gnutls                                   spidermonkey
go                                       spigot
go-statik                                spoof-mac
go@1.10                                  spotbugs
go@1.9                                   sqlcipher
gobby                                    sqldiff
gobject-introspection                    sqlite
gocr                                     sqlite-analyzer
gocryptfs                                sqlmap
godep                                    squashfs
golang-migrate                           squid
gomplate                                 sshguard
google-benchmark                         sshuttle
google-java-format                       ssllabs-scan
googler                                  stellar-core
goreleaser                               stone-soup
gosu                                     streamlink
gource                                   stubby
gpgme                                    stunnel
gphoto2                                  subversion
gqlplus                                  sundials
gr-osmosdr                               supersonic
gradle                                   supertux
gradle-completion                        svgo
grafana                                  swagger-codegen
graph-tool                               swagger-codegen@2
graphite2                                swi-prolog
gromacs                                  swift-protobuf
groonga                                  swiftformat
groovy                                   swiftgen
grpc                                     swiftlint
grv                                      switch-lan-play
gsettings-desktop-schemas                switchaudio-osx
gsmartcontrol                            sxiv
gsoap                                    syncthing
gspell                                   synfig
gssdp                                    takt
gssh                                     tarantool
gstreamermm                              task
gtk+3                                    taskell
gtkmm                                    tbb
gtkmm3                                   tcl-tk
gtksourceview3                           tcpdump
gtksourceview4                           telegraf
gtksourceviewmm                          telegram-cli
gtksourceviewmm3                         teleport
gucharmap                                template-glib
guile                                    terminal-notifier
guile@2.0                                termtosvg
gupnp                                    terraform
gupnp-av                                 terraform-docs
gupnp-tools                              terraform-inventory
gwyddion                                 terraform_landscape
gx                                       terragrunt
gx-go                                    tesseract
hadolint                                 texinfo
handbrake                                tgui
hapi-fhir-cli                            thors-serializer
haproxy                                  thrift
harfbuzz                                 tig
hatari                                   tile38
hbase                                    timidity
hcloud                                   tintin
hdf5                                     tippecanoe
hebcal                                   tmux
helmfile                                 tmux-mem-cpu-load
help2man                                 tmux-xpanes
hexyl                                    tokei
hfstospell                               tomcat
hg-fast-export                           tomcat-native
highlight                                tomcat@7
hivemind                                 tomcat@8
hledger                                  topgrade
homebank                                 tor
howard-hinnant-date                      tox
hss                                      trace2html
hstr                                     tracebox
htmldoc                                  traefik
htop                                     trafficserver
httpd                                    treefrog
hub                                      ttfautohint
hugo                                     typescript
hunspell                                 ucloud
hyperscan                                uhd
i2pd                                     umlet
i386-elf-binutils                        unbound
iamy                                     unrar
ibex                                     unzip
ice                                      upscaledb
igv                                      upx
imagemagick                              urbit
imagemagick@6                            urdfdom
immortal                                 urdfdom_headers
inetutils                                userspace-rcu
influxdb                                 utf8proc
instead                                  v8
ios-sim                                  vagrant-completion
ios-webkit-debug-proxy                   vala
ipfs                                     valabind
ipv6calc                                 vault
ipython                                  vc4asm
iso-codes                                verilator
ispc                                     vert.x
istioctl                                 vifm
jadx                                     vim
jasper                                   vim@7.4
jbake                                    vips
jdupes                                   visp
jemalloc                                 vowpal-wabbit
jenkins                                  vte
jenkins-lts                              vte3
jenv                                     vtk
jetty                                    vultr
jetty-runner                             w3m
jfrog-cli-go                             wabt
jhipster                                 wartremover
jid                                      watchexec
jmeter                                   weaver
jo                                       weboob
joplin                                   webp
jpeg-turbo                               weechat
jruby                                    wellington
json-fortran                             wesnoth
json11                                   wget
jsoncpp                                  whois
jsonnet                                  widelands
jsonrpc-glib                             wildfly-as
juju                                     wine
juju-wait                                winetricks
julius                                   wireguard-go
kafka                                    wireguard-tools
kafkacat                                 wireshark
kakoune                                  with-readline
kallisto                                 wolfssl
kettle                                   wsk
khal                                     wtf
kibana                                   wxmaxima
kibana@5.6                               x265
kitchen-sync                             xalan-c
knot                                     xapian
knot-resolver                            xcodegen
kompose                                  xcproj
kops                                     xdot
kotlin                                   xerces-c
kpcli                                    xmake
krakend                                  xml-security-c
ktmpl                                    xml-tooling-c
kube-aws                                 xmrig
kube-ps1                                 xpa
kubecfg                                  xqilla
kubectx                                  xsd
kubeless                                 xsimd
kubernetes-cli                           xtensor
kubernetes-helm                          xxhash
kustomize                                yafc
lammps                                   yaml-cpp
languagetool                             yamllint
lastpass-cli                             yara
lcov                                     yarn
ldapvi                                   ydcv
ldc                                      yelp-tools
lean                                     ykman
lean-cli                                 ykpers
ledger                                   yle-dl
leiningen                                yosys
leptonica                                you-get
leveldb                                  youtube-dl
lf                                       yq
lftp                                     z3
lgogdownloader                           zabbix
libassuan                                zbackup
libbi                                    zenity
libbitcoin                               zeromq
libbitcoin-blockchain                    zig
libbitcoin-client                        zim
libbitcoin-database                      zmqpp
libbitcoin-explorer                      znc
libbitcoin-network                       zola
libbitcoin-node                          zorba
libbitcoin-protocol                      zsh
libbitcoin-server                        zurl
==> Renamed Formulae
ark -> velero                            resin-cli -> balena-cli
gloo-ctl -> glooctl                      todolist -> ultralist
==> Deleted Formulae
at-spi2-atk         hyper               plan9port           solr@6.6
at-spi2-core        liblastfm           protobuf@2.5        tmux-cssh
cputhrottle         libutf              protobuf@2.6        zxing-cpp
gdnsd               monax               ruby@1.8
go@1.4              pdftoedn            ruby@2.3
go@1.8              percona-server@5.6  solr@5.5

Error: The following directories are not writable by your user:
/usr/local/share/man/man3
/usr/local/share/man/man5
/usr/local/share/man/man7

You should change the ownership of these directories to your user.
  sudo chown -R $(whoami) /usr/local/share/man/man3 /usr/local/share/man/man5 /usr/local/share/man/man7

And make sure that your user has write permission.
  chmod u+w /usr/local/share/man/man3 /usr/local/share/man/man5 /usr/local/share/man/man7
(base) localhost:~ ligaijiang$ sudo chown -R `whoami`:admin /usr/local/bin
Password:
(base) localhost:~ ligaijiang$ sudo chown -R `whoami`:admin /usr/local/share
(base) localhost:~ ligaijiang$ brew install geckodriver
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
coffeescript    gnu-getopt      ipv6calc        unrar           xcodegen
glm             hyperscan       jid             util-linux
glooctl         imagemagick     pixman          wtf

==> Downloading https://homebrew.bintray.com/bottles/geckodriver-0.24.0.high_sie
==> Downloading from https://akamai.bintray.com/be/bebf98611d54ba2a2226988e35c3a
######################################################################## 100.0%
==> Pouring geckodriver-0.24.0.high_sierra.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/geckodriver
Target /usr/local/bin/geckodriver
already exists. You may want to remove it:
  rm '/usr/local/bin/geckodriver'

To force the link and overwrite all conflicting files:
  brew link --overwrite geckodriver

To list all files that would be deleted:
  brew link --overwrite --dry-run geckodriver

Possible conflicting files are:
/usr/local/bin/geckodriver
==> Summary
?  /usr/local/Cellar/geckodriver/0.24.0: 7 files, 5.9MB
==> `brew cleanup` has not been run in 30 days, running now...
Pruned 1 symbolic links and 1 directories from /usr/local
(base) localhost:~ ligaijiang$ brew install geckodriver
Warning: geckodriver 0.24.0 is already installed, it's just not linked
You can use `brew link geckodriver` to link this version.
(base) localhost:~ ligaijiang$ brew link geckodriver
Linking /usr/local/Cellar/geckodriver/0.24.0... 2 symlinks created
(base) localhost:~ ligaijiang$ brew install chromedriver
Error: No available formula with the name "chromedriver" 
It was migrated from homebrew/core to homebrew/cask.
You can access it again by running:
  brew tap homebrew/cask
And then you can install it by running:
  brew cask install chromedriver
(base) localhost:~ ligaijiang$ brew tap homebrew/cask
==> Tapping homebrew/cask
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask'...
remote: Enumerating objects: 4108, done.
remote: Counting objects: 100% (4108/4108), done.
remote: Compressing objects: 100% (4095/4095), done.
remote: Total 4108 (delta 24), reused 606 (delta 11), pack-reused 0
Receiving objects: 100% (4108/4108), 1.32 MiB | 87.00 KiB/s, done.
Resolving deltas: 100% (24/24), done.
Tapped 1 command and 4000 casks (4,114 files, 4.2MB).
(base) localhost:~ ligaijiang$ which selenium
(base) localhost:~ ligaijiang$ which selenium
(base) localhost:~ ligaijiang$ 

 
전재 대상:https://www.cnblogs.com/jpr-ok/p/10695858.html

좋은 웹페이지 즐겨찾기