Closed dongruixue closed 4 years ago
Last login: Thu Dec 5 04:40:58 on ttys000 (base) dongruixuedeiMac:~ dongruixue$ brew update Updated 1 tap (homebrew/core). ==> New Formulae diesel dune gnirehtet krew pympress ==> Updated Formulae apktool libqalculate awsume libsoup ballerina libtorrent-rasterbar basex lmod batik logtalk bit math-comp bluepill micronaut borgmatic mockserver cash-cli mosquitto cfn-lint mutt checkstyle netdata ckan nnn conan nushell contentful-cli octomap coq omega csvq oniguruma django-completion onioncat dnscrypt-proxy onscripter doctl openal-soft eccodes openapi-generator elm opencascade embulk orc eslint osmium-tool exploitdb paket faas-cli paps ffsend pdns flow php-code-sniffer fmt phpstan gatsby-cli protobuf ghq qalculate-gtk gimme-aws-creds rabbitmq gitleaks rabbitmq-c gmsh rargs gnuplot re2 gnutls serverless google-authenticator-libpam simutrans goreman singular gst-editing-services snapcraft gst-libav solr gst-plugins-bad sops gst-plugins-base ssh-copy-id gst-plugins-good starship gst-plugins-ugly swiftformat gst-python swiftlint gst-rtsp-server syncthing gst-validate terraform gstreamer terraformer haxe terragrunt helmfile terrahub hledger tintin imagemagick tmux imagemagick@6 tmuxinator jenkins traefik jupyterlab verilator ktlint vips kube-aws vulkan-headers kyma-cli wiki liblouis wtf libosmium xcodegen ==> Deleted Formulae php@7.1 shocco (base) dongruixuedeiMac:~ dongruixue$ brew doctor Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: "config" scripts exist outside your system or Homebrew directories.
./configure
scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via Homebrew if the config script overrides a system or Homebrew-provided script of the same name. We found the following "config" scripts: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7-config /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7m-config /Library/Frameworks/Python.framework/Versions/3.7/bin/python3-config /Users/dongruixue/anaconda3/bin/icu-config /Users/dongruixue/anaconda3/bin/krb5-config /Users/dongruixue/anaconda3/bin/freetype-config /Users/dongruixue/anaconda3/bin/xslt-config /Users/dongruixue/anaconda3/bin/libpng16-config /Users/dongruixue/anaconda3/bin/python3.7-config /Users/dongruixue/anaconda3/bin/libpng-config /Users/dongruixue/anaconda3/bin/xml2-config /Users/dongruixue/anaconda3/bin/python3.7m-config /Users/dongruixue/anaconda3/bin/python3-config /Users/dongruixue/anaconda3/bin/curl-config /Users/dongruixue/anaconda3/bin/ncursesw6-config /Users/dongruixue/anaconda3/bin/pcre-config
Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run brew link
on these:
python
(base) dongruixuedeiMac:~ dongruixue$ brew link
Usage: brew link, ln [options] formula
Symlink all of formula's installed files into Homebrew's prefix. This is done automatically when you install formulae but can be useful for DIY installations.
--overwrite Delete files that already exist in the
prefix while linking.
-n, --dry-run List files which would be linked or deleted
by brew link --overwrite without actually
linking or deleting any files.
-f, --force Allow keg-only formulae to be linked.
-v, --verbose Make some output more verbose.
-d, --debug Display any debugging information.
-h, --help Show this message.
Error: Invalid usage: This command requires a keg argument (base) dongruixuedeiMac:~ dongruixue$ brew list gdbm git pcre2 readline xz gettext openssl@1.1 python sqlite (base) dongruixuedeiMac:~ dongruixue$ python3 -V Python 3.7.3 (base) dongruixuedeiMac:~ dongruixue$ code . (base) dongruixuedeiMac:~ dongruixue$ ls Applications Downloads Pictures anaconda3 Desktop Library Public code Documents Movies This hello.py Downloading Music Untitled.ipynb pilot-student (base) dongruixuedeiMac:~ dongruixue$ python3 hello.py hello world! (base) dongruixuedeiMac:~ dongruixue$
截图里第一个代码单元格未执行,所以 t 和 f 都尚未初始化。