Issue 1:
When I install jax-0.1.15 and jaxlib-0.1.3 via pip:

$ pip install jax jaxlib

After I import jax, I get lapack-related errors:

/Users/ericmjl/anaconda/envs/mpnn/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.7 of module 'lapack' does not match runtime version 3.6
return f(*args, **kwds)

My Python session then segfaults.

System is macOS on 12" MacBook, anaconda Python 3.6.

Environment spec:

# packages in environment at /Users/ericmjl/anaconda/envs/mpnn:
#
# Name Version Build Channel
absl-py 0.6.1 <pip>
appnope 0.1.0 py36hf537a9a_0
asn1crypto 0.24.0 py36_0
backcall 0.1.0 py36_0
blas 1.0 mkl
bleach 3.0.2 py36_0
boost 1.68.0 py36h3e44d54_1 conda-forge
boost-cpp 1.68.0 h3a22d5f_0 conda-forge
bzip2 1.0.6 h1de35cc_5
ca-certificates 2018.03.07 0
cairo 1.14.12 hc4e6be7_4
certifi 2018.11.29 py36_0
cffi 1.11.5 py36h6174b99_1
chainer 5.1.0 <pip>
chardet 3.0.4 py36_1
conda 4.5.12 py36_0
conda-env 2.6.0 1
cryptography 2.4.2 py36ha12b0ac_0
cycler 0.10.0 py36hfc81398_0
dbus 1.13.2 h760590f_1
decorator 4.3.0 py36_0
entrypoints 0.2.3 py36_2
expat 2.2.6 h0a44026_0
filelock 3.0.10 <pip>
fontconfig 2.13.0 h5d5b041_1
freetype 2.9.1 hb4e5f40_0
gettext 0.19.8.1 h15daf44_3
glib 2.56.2 hd9629dc_0
icu 58.2 h4b95b61_1
idna 2.8 py36_0
intel-openmp 2019.1 144
ipykernel 5.1.0 py36h39e3cac_0
ipython 7.2.0 py36h39e3cac_0
ipython_genutils 0.2.0 py36h241746c_0
ipywidgets 7.4.2 py36_0
jedi 0.13.2 py36_0
jinja2 2.10 py36_0
jpeg 9b he5867d9_2
jsonschema 2.6.0 py36hb385e00_0
jupyter 1.0.0 py36_7
jupyter_client 5.2.4 py36_0
jupyter_console 6.0.0 py36_0
jupyter_core 4.4.0 py36_0
jupyterlab 0.35.3 py36_0
jupyterlab_server 0.2.0 py36_0
kiwisolver 1.0.1 py36h0a44026_0
libboost 1.65.1 hcc95346_4
libcxx 4.0.1 hcfea43d_1
libcxxabi 4.0.1 hcfea43d_1
libedit 3.1.20170329 hb402a30_2
libffi 3.2.1 h475c297_4
libgfortran 3.0.1 h93005f0_2
libiconv 1.15 hdd342a3_7
libpng 1.6.35 ha441bb4_0
libsodium 1.0.16 h3efe00b_0
libtiff 4.0.9 hcb84e12_2
libxml2 2.9.8 hab757c2_1
markupsafe 1.1.0 py36h1de35cc_0
matplotlib 3.0.2 py36h54f8f79_0
mistune 0.8.4 py36h1de35cc_0
mkl 2019.1 144
mkl_fft 1.0.6 py36h27c97d8_0
mkl_random 1.0.2 py36h27c97d8_0
nbconvert 5.3.1 py36_0
nbformat 4.4.0 py36h827af21_0
ncurses 6.1 h0a44026_1
networkx 2.2 py36_1
nodejs 10.13.0 h0a44026_0
notebook 5.7.4 py36_0
numpy 1.15.4 py36hacdab7b_0
numpy-base 1.15.4 py36h6575580_0
olefile 0.46 py36_0
openssl 1.1.1a h1de35cc_0
opt-einsum 2.3.2 <pip>
pandas 0.23.4 py36h6440ff4_0
pandas-flavor 0.1.2 py_0 conda-forge
pandoc 2.2.3.2 0
pandocfilters 1.4.2 py36_1
parso 0.3.1 py36_0
pcre 8.42 h378b8a2_0
pexpect 4.6.0 py36_0
pickleshare 0.7.5 py36_0
pillow 5.3.0 py36hb68e598_0
pip 18.1 py36_0
pixman 0.34.0 hca0a616_3
prometheus_client 0.5.0 py36_0
prompt_toolkit 2.0.7 py36_0
protobuf 3.6.1 <pip>
ptyprocess 0.6.0 py36_0
py-boost 1.65.1 py36h1439ea1_4
pycairo 1.18.0 py36ha54c0a8_0
pycosat 0.6.3 py36h1de35cc_0
pycparser 2.19 py36_0
pygments 2.3.1 py36_0
pyjanitor 0.16.0 py_0 conda-forge
pyopenssl 18.0.0 py36_0
pyparsing 2.3.0 py36_0
pyqt 5.9.2 py36h655552a_2
pysocks 1.6.8 py36_0
python 3.6.8 haf84260_0
python-dateutil 2.7.5 py36_0
pytz 2018.7 py36_0
pyzmq 17.1.2 py36h1de35cc_0
qt 5.9.7 h468cd18_1
qtconsole 4.4.3 py36_0
rdkit 2018.09.1.0 py36h6adbef8_1 rdkit
readline 7.0 h1de35cc_5
requests 2.21.0 py36_0
ruamel_yaml 0.15.46 py36h1de35cc_0
scikit-learn 0.20.2 py36h27c97d8_0
scipy 1.1.0 py36h1410ff5_2
send2trash 1.5.0 py36_0
setuptools 40.6.3 py36_0
sip 4.19.8 py36h0a44026_0
six 1.12.0 py36_0
sqlite 3.26.0 ha441bb4_0
terminado 0.8.1 py36_1
testpath 0.4.2 py36_0
tk 8.6.8 ha441bb4_0
tornado 5.1.1 py36h1de35cc_0
tqdm 4.28.1 py36h28b3542_0
traitlets 4.3.2 py36h65bd3ce_0
urllib3 1.24.1 py36_0
wcwidth 0.1.7 py36h8c6ec74_0
webencodings 0.5.1 py36_1
wheel 0.32.3 py36_0
widgetsnbextension 3.4.2 py36_0
xz 5.2.4 h1de35cc_4
yaml 0.1.7 hc338f04_2
zeromq 4.2.5 h0a44026_1
zlib 1.2.11 h1de35cc_3

Issue 2:
I'm trying to build the project in OS X 10.11.5, using Python 2.7.13 in a virtualenv (version 16.1.0).

python build/build.py raises the error:

external/org_tensorflow/tensorflow/core/platform/posix/env_time.cc:31:19: error: use of undeclared identifier 'CLOCK_REALTIME'

clock_gettime(CLOCK_REALTIME, &ts);

^

1 error generated.

Target //build:install_xla_in_source_tree failed to build

This looks like an OS X compatibility issue. What's my best course of action here to get JAX running? Looks like I could fork and patch with this:

pjreddie/darknet#62