LoadError building PyCall, PyPlot, and Homebrew

Pkg.build("PyCall") results in

julia> Pkg.build("PyCall")
INFO: Building Conda
INFO: Building PyCall
INFO: Using the Python distribution in the Conda package by default.
To use a different Python version, set ENV["PYTHON"]="pythoncommand" and re-run Pkg.build("PyCall").
INFO: Downloading miniconda installer ...
INFO: Installing miniconda ...
=====================[ ERROR: PyCall ]===================================

LoadError: chmod: no such file or directory (ENOENT)
while loading /Users/StrangeHeim/.julia/v0.6/PyCall/deps/build.jl, in expression starting on line 255
==================================[ BUILD ERRORS ]==================

WARNING: PyCall had build errors.

 - packages with build errors remain installed in /Users/StrangeHeim/.julia/v0.6
 - build the package(s) and all dependencies with `Pkg.build("PyCall")`
 - build a single package by running its `deps/build.jl` script

===============================================================

Mac OS Sierra 10.12.6, and a freshly installed Julia> VERSION v"0.6.0".
Errors are very similar when attempting to build PyPlot and Homebrew;
only the package name and line number change. I can’t tell from the
error message what file is missing. FWIW: I’ve been upgrading Julia
since around v.3x and have never encountered installation problems.
This problem started after uninstalling JuliaPro and attempting to start
anew with the standard installation procedure. Perhaps I didn’t uninstall cleanly.

julia> ENV produces

  "TERM_PROGRAM"                    => "Apple_Terminal"
  "TERM"                            => "xterm-256color"
  "SHELL"                           => "/bin/bash"
  "TMPDIR"                          => "/var/folders/33/6n9mv33s6q1_ftqytshwt2f00000gn/T/"
  "Apple_PubSub_Socket_Render"      => "/private/tmp/com.apple.launchd.uH991Qew8L/Render"
  "TERM_PROGRAM_VERSION"            => "388.1.1"
  "JAVA_LIB"                        => "/Applications/MATLAB_R2016a.app/sys/java/jre/maci64/jre/lib/server/libjvm.dylib"
  "TERM_SESSION_ID"                 => "1557A3E2-28C7-4110-BAA6-1BD9496FB7E0"
  "USER"                            => "StrangeHeim"
  "SSH_AUTH_SOCK"                   => "/private/tmp/com.apple.launchd.Jca3s461oC/Listeners"
  "__CF_USER_TEXT_ENCODING"         => "0x1F5:0x0:0x0"
  "PATH"                            => "/Applications/Julia-0.6.app/Contents/Resources/julia/bin:/Users/StrangeHeim/anaconda3/bin:/Users/StrangeHeim/anaconda2/bin:…
  "PWD"                             => "/Users/StrangeHeim"
  "DBUS_LAUNCHD_SESSION_BUS_SOCKET" => "/private/tmp/com.apple.launchd.7heYw4rc3M/unix_domain_listener"
  "LANG"                            => "en_US.UTF-8"
  "XPC_FLAGS"                       => "0x0"
  "XPC_SERVICE_NAME"                => "0"
  "HOME"                            => "/Users/StrangeHeim"
  "SHLVL"                           => "1"
  "LOGNAME"                         => "StrangeHeim"
  "ARCHFLAGS"                       => "-arch x86_64"
  "DISPLAY"                         => "/private/tmp/com.apple.launchd.o2wrW2resq/org.macosforge.xquartz:0"
  "_"                               => "/usr/local/bin/julia"
  "OLDPWD"                          => "/Users/StrangeHeim/.julia/v0.6/METADATA/PyCall/versions"
  "OPENBLAS_MAIN_FREE"              => "1"
  "FONTCONFIG_PATH"                 => "/Applications/Julia-0.6.app/Contents/Resources/julia/etc/fonts"
  "TK_LIBRARY"                      => "/System/Library/Frameworks/Tk.framework/Versions/8.5/Resources/Scripts"
  "PYTHON"                          => ""
  "JUPYTER"                         => "/Users/StrangeHeim/anaconda2/bin/jupyter"

julia> Pkg.status()
1 required packages:
 - PyCall                        1.15.0
7 additional packages:
 - BinDeps                       0.7.0
 - Compat                        0.32.0
 - Conda                         0.7.0
 - JSON                          0.15.1
 - MacroTools                    0.3.7
 - SHA                           0.5.1
 - URIParser                     0.2.0