Last active
September 18, 2018 17:29
-
-
Save mvexel/0670afeab32bbff7f319eef0f0b77c42 to your computer and use it in GitHub Desktop.
python3-homebrew-install-fail.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install python | |
Warning: Building python from source: | |
The bottle needs the Apple Command Line Tools to be installed. | |
You can install them, if desired, with: | |
xcode-select --install | |
==> Downloading https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz | |
Already downloaded: /Users/martijnv/Library/Caches/Homebrew/downloads/f87e3a4f88925ead242c820be2fef7aa64d70507a5c4f8e544e666263a881f41--Python-3.7.0.tar.xz | |
==> ./configure --prefix=/usr/local/Cellar/python/3.7.0 --enable-ipv6 --dataroot | |
==> make | |
==> make install PYTHONAPPSDIR=/usr/local/Cellar/python/3.7.0 | |
Last 15 lines from /Users/martijnv/Library/Logs/Homebrew/python/03.make: | |
NS_DEPRECATED_MAC(10_8, API_TO_BE_DEPRECATED, "All NSUserNotifications API should be replaced with UserNotifications.frameworks API") | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:102:26: error: expected a version of the form 'major[.minor[.subminor]]' | |
NS_DEPRECATED_MAC(10_10, API_TO_BE_DEPRECATED, "All NSUserNotifications API should be replaced with UserNotifications.frameworks API") | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:115:95: error: expected a version of the form 'major[.minor[.subminor]]' | |
FOUNDATION_EXPORT NSString * const NSUserNotificationDefaultSoundName NS_DEPRECATED_MAC(10_8, API_TO_BE_DEPRECATED, "All NSUserNotifications API should be replaced with UserNotifications.frameworks API") API_UNAVAILABLE(ios, watchos, tvos); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:117:25: error: expected a version of the form 'major[.minor[.subminor]]' | |
NS_DEPRECATED_MAC(10_8, API_TO_BE_DEPRECATED, "All NSUserNotifications API should be replaced with UserNotifications.frameworks API") | |
^ | |
6 errors generated. | |
make[2]: *** [FileSettings.o] Error 1 | |
make[1]: *** [install_PythonLauncher] Error 2 | |
make: *** [frameworkinstallapps] Error 2 | |
/usr/local/Homebrew/Library/Homebrew/utils/fork.rb:49:in `write': Broken pipe (Errno::EPIPE) | |
from /usr/local/Homebrew/Library/Homebrew/utils/fork.rb:49:in `puts' | |
from /usr/local/Homebrew/Library/Homebrew/utils/fork.rb:49:in `rescue in block (3 levels) in safe_fork' | |
from /usr/local/Homebrew/Library/Homebrew/utils/fork.rb:31:in `block (3 levels) in safe_fork' | |
from /usr/local/Homebrew/Library/Homebrew/utils/fork.rb:30:in `fork' | |
from /usr/local/Homebrew/Library/Homebrew/utils/fork.rb:30:in `block (2 levels) in safe_fork' | |
from /usr/local/Homebrew/Library/Homebrew/utils/fork.rb:27:in `open' | |
from /usr/local/Homebrew/Library/Homebrew/utils/fork.rb:27:in `block in safe_fork' | |
from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/tmpdir.rb:89:in `mktmpdir' | |
from /usr/local/Homebrew/Library/Homebrew/utils/fork.rb:26:in `safe_fork' | |
from /usr/local/Homebrew/Library/Homebrew/formula_installer.rb:719:in `build' | |
from /usr/local/Homebrew/Library/Homebrew/formula_installer.rb:311:in `install' | |
from /usr/local/Homebrew/Library/Homebrew/cmd/install.rb:321:in `install_formula' | |
from /usr/local/Homebrew/Library/Homebrew/cmd/install.rb:253:in `block in install' | |
from /usr/local/Homebrew/Library/Homebrew/cmd/install.rb:251:in `each' | |
from /usr/local/Homebrew/Library/Homebrew/cmd/install.rb:251:in `install' | |
from /usr/local/Homebrew/Library/Homebrew/brew.rb:89:in `<main>' | |
READ THIS: https://docs.brew.sh/Troubleshooting | |
These open issues may also help: | |
pipenv cannot easily manage multiple python versions https://github.com/Homebrew/homebrew-core/issues/31487 | |
WeeChat fails to build --with-python https://github.com/Homebrew/homebrew-core/issues/30509 | |
Python fails to build on macOS 10.13.6, with MacOSX10.14.sdk command line tools. https://github.com/Homebrew/homebrew-core/issues/31679 | |
Jupyter notebook is launched with PYTHONPATH, modifies sys.path in Python kernels https://github.com/Homebrew/homebrew-core/issues/31325 | |
`vim` fails to build from source with option `--with-client-server` when python is installed with '--with-tcl-tk' https://github.com/Homebrew/homebrew-core/issues/30949 | |
$ which ruby | |
/usr/bin/ruby |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Root cause turned out to be something else. I had XCode 10 installed on High Sierra (10.13). XCode 10 installs 10.14 CLT, so after removing XCode 10 and the CLT, downloading XCode 9.x, and re-doing
xcode-select --install
things were fine.Note, I did also try the separate 10.13 CLT installer, which failed with an unhelpful error message.