Build issue on Mac

I'm running into some gcc build errors on Mac. Debugging is a bit complicated for me as I have very limited access to the Mac.
Background:
I tried to install stardist on a facility users Mac as I built a workflow for the user that incorporates Stardist. Given the current COVID situation I tried to do this remotely and I do not currently have access to a Mac otherwise. As I can only access the Mac for short periods of time it would be nice to get an idea what would be good to try.
Steps taken:

Create a new conda environment with python 3.6
Activate new environment, install conda install -c conda-forge tensorflow=1.15
pip install stardist
Error when compiling libqhull, error: invalid argument '-std=c++11' not allowed with 'C/ObjC'  . I will include a longer traceback at the end.

I googled the error message and can find a number of projects with similar errors (going back a while). Some seem to be related to the llvm version.
When installing tensorflow from conda-forge:
llvm-openmp        conda-forge/osx-64::llvm-openmp-10.0.0-h28b9765_0

During pip install stardist the following version of llvmlite is also collected.
Collecting llvmlite<=0.33.0.dev0,>=0.31.0.dev0
  Using cached llvmlite-0.32.0-cp36-cp36m-macosx_10_9_x86_64.whl (15.9 MB)

I am not sure whether they might be shadowing each other.
What to try ?
Has anyone encountered this before? As mentioned, I have limited time to try on the machine in question.
What I was going to try next time is:

update conda
try different versions of llvm
try and remove -std=C++11 compiler flag as suggested here: https://github.com/SeanNaren/warp-ctc/issues/26#issuecomment-371033242

Other suggestions are welcome.
Full console log (create environment, install tensorflow, install stardist)
(fibre) RICO:~ cfrederi$ conda create -n stardist_test python=3.6
Collecting package metadata (current_repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.7.10
  latest version: 4.8.3

Please update conda by running

    $ conda update -n base -c defaults conda

## Package Plan ##

  environment location: //anaconda3/envs/stardist_test

  added / updated specs:
    - python=3.6

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    libffi-3.2.1               |       h0a44026_6          43 KB
    ncurses-6.2                |       h0a44026_1         749 KB
    openssl-1.1.1g             |       h1de35cc_0         2.2 MB
    sqlite-3.31.1              |       h5c1f38d_1         2.4 MB
    xz-5.2.5                   |       h1de35cc_0         282 KB
    ------------------------------------------------------------
                                           Total:         5.7 MB

The following NEW packages will be INSTALLED:

  ca-certificates    pkgs/main/osx-64::ca-certificates-2020.1.1-0
  certifi            pkgs/main/osx-64::certifi-2<IP_ADDRESS>-py36_0
  libcxx             pkgs/main/osx-64::libcxx-4.0.1-hcfea43d_1
  libcxxabi          pkgs/main/osx-64::libcxxabi-4.0.1-hcfea43d_1
  libedit            pkgs/main/osx-64::libedit-3.1.20181209-hb402a30_0
  libffi             pkgs/main/osx-64::libffi-3.2.1-h0a44026_6
  ncurses            pkgs/main/osx-64::ncurses-6.2-h0a44026_1
  openssl            pkgs/main/osx-64::openssl-1.1.1g-h1de35cc_0
  pip                pkgs/main/osx-64::pip-20.0.2-py36_1
  python             pkgs/main/osx-64::python-3.6.10-hc70fcce_1
  readline           pkgs/main/osx-64::readline-8.0-h1de35cc_0
  setuptools         pkgs/main/osx-64::setuptools-46.1.3-py36_0
  sqlite             pkgs/main/osx-64::sqlite-3.31.1-h5c1f38d_1
  tk                 pkgs/main/osx-64::tk-8.6.8-ha441bb4_0
  wheel              pkgs/main/osx-64::wheel-0.34.2-py36_0
  xz                 pkgs/main/osx-64::xz-5.2.5-h1de35cc_0
  zlib               pkgs/main/osx-64::zlib-1.2.11-h1de35cc_3

Proceed ([y]/n)?

Downloading and Extracting Packages
libffi-3.2.1         | 43 KB     | ############################################################################################################################################################################################################ | 100%
sqlite-3.31.1        | 2.4 MB    | ############################################################                                                                                |  29% sqlite-3.31.1        | 2.4 MB    | ############################################################################################################################################################################################################ | 100%
ncurses-6.2          | 749 KB    | ############################################################################################################################################################################################################ | 100%
xz-5.2.5             | 282 KB    | ############################################################################################################################################################################################################ | 100%
openssl-1.1.1g       | 2.2 MB    | ############################################################################################################################################################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate stardist_test
#
# To deactivate an active environment, use
#
#     $ conda deactivate

(fibre) RICO:~ cfrederi$ conda activate stardist_test
(stardist_test) RICO:~ cfrederi$ conda install -c conda-forge tensorflow=1.15
Collecting package metadata (current_repodata.json): done
Solving environment: failed with current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.7.10
  latest version: 4.8.3

Please update conda by running

    $ conda update -n base -c defaults conda

## Package Plan ##

  environment location: //anaconda3/envs/stardist_test

  added / updated specs:
    - tensorflow=1.15

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    h5py-2.10.0                |nompi_py36h106b333_102        1020 KB  conda-forge
    hdf5-1.10.5                |nompi_h15a436c_1103         3.0 MB  conda-forge
    libblas-3.8.0              |      16_openblas          10 KB  conda-forge
    libcblas-3.8.0             |      16_openblas          10 KB  conda-forge
    liblapack-3.8.0            |      16_openblas          10 KB  conda-forge
    libopenblas-0.3.9          |       h3d69b6c_0         8.4 MB  conda-forge
    llvm-openmp-10.0.0         |       h28b9765_0         268 KB  conda-forge
    numpy-1.18.1               |   py36hdc5ca10_1         5.0 MB  conda-forge
    six-1.14.0                 |             py_1          13 KB  conda-forge
    ------------------------------------------------------------
                                           Total:        17.7 MB

The following NEW packages will be INSTALLED:

  _tflow_select      pkgs/main/osx-64::_tflow_select-2.3.0-mkl
  absl-py            conda-forge/osx-64::absl-py-0.9.0-py36_0
  astor              conda-forge/noarch::astor-0.7.1-py_0
  c-ares             conda-forge/osx-64::c-ares-1.15.0-h01d97ff_1001
  gast               conda-forge/noarch::gast-0.2.2-py_0
  google-pasta       conda-forge/noarch::google-pasta-0.2.0-pyh8c360ce_0
  grpcio             conda-forge/osx-64::grpcio-1.23.0-py36h6ef0057_0
  h5py               conda-forge/osx-64::h5py-2.10.0-nompi_py36h106b333_102
  hdf5               conda-forge/osx-64::hdf5-1.10.5-nompi_h15a436c_1103
  keras-applications conda-forge/noarch::keras-applications-1.0.8-py_1
  keras-preprocessi~ conda-forge/noarch::keras-preprocessing-1.1.0-py_0
  libblas            conda-forge/osx-64::libblas-3.8.0-16_openblas
  libcblas           conda-forge/osx-64::libcblas-3.8.0-16_openblas
  libgfortran        conda-forge/osx-64::libgfortran-4.0.0-2
  liblapack          conda-forge/osx-64::liblapack-3.8.0-16_openblas
  libopenblas        conda-forge/osx-64::libopenblas-0.3.9-h3d69b6c_0
  libprotobuf        conda-forge/osx-64::libprotobuf-3.9.2-hfbae3c0_0
  llvm-openmp        conda-forge/osx-64::llvm-openmp-10.0.0-h28b9765_0
  markdown           conda-forge/noarch::markdown-3.2.1-py_0
  numpy              conda-forge/osx-64::numpy-1.18.1-py36hdc5ca10_1
  opt_einsum         conda-forge/noarch::opt_einsum-3.2.1-py_0
  protobuf           conda-forge/osx-64::protobuf-3.9.2-py36h6de7cb9_1
  python_abi         conda-forge/osx-64::python_abi-3.6-1_cp36m
  scipy              conda-forge/osx-64::scipy-1.3.1-py36h7e0e109_2
  six                conda-forge/noarch::six-1.14.0-py_1
  tensorboard        conda-forge/osx-64::tensorboard-1.15.0-py36_0
  tensorflow         pkgs/main/osx-64::tensorflow-1.15.0-mkl_py36h975b573_0
  tensorflow-base    pkgs/main/osx-64::tensorflow-base-1.15.0-mkl_py36h032239d_0
  tensorflow-estima~ pkgs/main/noarch::tensorflow-estimator-1.15.1-pyh2649769_0
  termcolor          conda-forge/noarch::termcolor-1.1.0-py_2
  werkzeug           conda-forge/noarch::werkzeug-0.16.1-py_0
  wrapt              conda-forge/osx-64::wrapt-1.12.1-py36h37b9a7d_1

The following packages will be UPDATED:

  ca-certificates     pkgs/main::ca-certificates-2020.1.1-0 --> conda-forge::ca-certificates-2<IP_ADDRESS>-hecc5488_0

The following packages will be SUPERSEDED by a higher-priority channel:

  certifi              pkgs/main::certifi-2<IP_ADDRESS>-py36_0 --> conda-forge::certifi-2<IP_ADDRESS>-py36h9f0ad1d_0
  openssl              pkgs/main::openssl-1.1.1g-h1de35cc_0 --> conda-forge::openssl-1.1.1g-h0b31af3_0

Proceed ([y]/n)?

Downloading and Extracting Packages
hdf5-1.10.5          | 3.0 MB    | ############################################################################################################################################################################################################ | 100%
h5py-2.10.0          | 1020 KB   | ############################################################################################################################################################################################################ | 100%
llvm-openmp-10.0.0   | 268 KB    | ############################################################################################################################################################################################################ | 100%
libopenblas-0.3.9    | 8.4 MB    | ############################################################################################################################################################################################################ | 100%
liblapack-3.8.0      | 10 KB     | ############################################################################################################################################################################################################ | 100%
libcblas-3.8.0       | 10 KB     | ############################################################################################################################################################################################################ | 100%
libblas-3.8.0        | 10 KB     | ############################################################################################################################################################################################################ | 100%
numpy-1.18.1         | 5.0 MB    | ############################################################################################################################################################################################################ | 100%
six-1.14.0           | 13 KB     | ############################################################################################################################################################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(stardist_test) RICO:~ cfrederi$ pip install stardist
Collecting stardist
  Using cached stardist-0.5.0.tar.gz (396 kB)
Collecting csbdeep>=0.4.0
  Using cached csbdeep-0.5.1-py2.py3-none-any.whl (62 kB)
Collecting scikit-image
  Downloading scikit_image-0.16.2-cp36-cp36m-macosx_10_6_intel.whl (30.4 MB)
     |████████████████████████████████| 30.4 MB 610 kB/s
Processing ./Library/Caches/pip/wheels/ac/5a/d7/57de2b0ed2a980d2d245f56506bb93fe3e3ee2d9c965dfefd2/numba-0.49.0-cp36-cp36m-macosx_10_12_x86_64.whl
Requirement already satisfied: numpy in /anaconda3/envs/stardist_test/lib/python3.6/site-packages (from csbdeep>=0.4.0->stardist) (1.18.1)
Collecting tifffile
  Downloading tifffile-2020.2.16-py3-none-any.whl (130 kB)
     |████████████████████████████████| 130 kB 665 kB/s
Collecting tqdm
  Using cached tqdm-4.45.0-py2.py3-none-any.whl (60 kB)
Requirement already satisfied: scipy in /anaconda3/envs/stardist_test/lib/python3.6/site-packages (from csbdeep>=0.4.0->stardist) (1.3.1)
Requirement already satisfied: six in /anaconda3/envs/stardist_test/lib/python3.6/site-packages (from csbdeep>=0.4.0->stardist) (1.14.0)
Collecting keras>=2.1.2
  Using cached Keras-2.3.1-py2.py3-none-any.whl (377 kB)
Requirement already satisfied: h5py in /anaconda3/envs/stardist_test/lib/python3.6/site-packages (from csbdeep>=0.4.0->stardist) (2.10.0)
Collecting matplotlib
  Downloading matplotlib-3.2.1-cp36-cp36m-macosx_10_9_x86_64.whl (12.4 MB)
     |████████████████████████████████| 12.4 MB 22.8 MB/s
Collecting networkx>=2.0
  Downloading networkx-2.4-py3-none-any.whl (1.6 MB)
     |████████████████████████████████| 1.6 MB 1.7 MB/s
Collecting imageio>=2.3.0
  Downloading imageio-2.8.0-py3-none-any.whl (3.3 MB)
     |████████████████████████████████| 3.3 MB 453 kB/s
Collecting pillow>=4.3.0
  Downloading Pillow-7.1.2-cp36-cp36m-macosx_10_10_x86_64.whl (2.2 MB)
     |████████████████████████████████| 2.2 MB 2.1 MB/s
Collecting PyWavelets>=0.4.0
  Downloading PyWavelets-1.1.1-cp36-cp36m-macosx_10_9_x86_64.whl (4.3 MB)
     |████████████████████████████████| 4.3 MB 35.3 MB/s
Requirement already satisfied: setuptools in /anaconda3/envs/stardist_test/lib/python3.6/site-packages (from numba->stardist) (46.1.3.post20200330)
Collecting llvmlite<=0.33.0.dev0,>=0.31.0.dev0
  Using cached llvmlite-0.32.0-cp36-cp36m-macosx_10_9_x86_64.whl (15.9 MB)
Collecting imagecodecs>=2020.1.31
  Downloading imagecodecs-2020.2.18-cp36-cp36m-macosx_10_9_intel.whl (8.6 MB)
     |████████████████████████████████| 8.6 MB 611 kB/s
Processing ./Library/Caches/pip/wheels/e5/9d/ad/2ee53cf262cba1ffd8afe1487eef788ea3f260b7e6232a80fc/PyYAML-5.3.1-cp36-cp36m-macosx_10_9_x86_64.whl
Requirement already satisfied: keras-preprocessing>=1.0.5 in /anaconda3/envs/stardist_test/lib/python3.6/site-packages (from keras>=2.1.2->csbdeep>=0.4.0->stardist) (1.1.0)
Requirement already satisfied: keras-applications>=1.0.6 in /anaconda3/envs/stardist_test/lib/python3.6/site-packages (from keras>=2.1.2->csbdeep>=0.4.0->stardist) (1.0.8)
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1
  Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
     |████████████████████████████████| 67 kB 2.9 MB/s
Collecting python-dateutil>=2.1
  Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
     |████████████████████████████████| 227 kB 2.1 MB/s
Collecting cycler>=0.10
  Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting kiwisolver>=1.0.1
  Downloading kiwisolver-1.2.0-cp36-cp36m-macosx_10_9_x86_64.whl (60 kB)
     |████████████████████████████████| 60 kB 501 kB/s
Collecting decorator>=4.3.0
  Downloading decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Building wheels for collected packages: stardist
  Building wheel for stardist (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: //anaconda3/envs/stardist_test/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/setup.py'"'"'; __file__='"'"'/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-wheel-2xvf3qhx
       cwd: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/
  Complete output (193 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.9-x86_64-3.6
  creating build/lib.macosx-10.9-x86_64-3.6/stardist
  copying stardist/__init__.py -> build/lib.macosx-10.9-x86_64-3.6/stardist
  copying stardist/matching.py -> build/lib.macosx-10.9-x86_64-3.6/stardist
  copying stardist/nms.py -> build/lib.macosx-10.9-x86_64-3.6/stardist
  copying stardist/rays3d.py -> build/lib.macosx-10.9-x86_64-3.6/stardist
  copying stardist/utils.py -> build/lib.macosx-10.9-x86_64-3.6/stardist
  copying stardist/version.py -> build/lib.macosx-10.9-x86_64-3.6/stardist
  creating build/lib.macosx-10.9-x86_64-3.6/stardist/geometry
  copying stardist/geometry/__init__.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/geometry
  copying stardist/geometry/geom2d.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/geometry
  copying stardist/geometry/geom3d.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/geometry
  creating build/lib.macosx-10.9-x86_64-3.6/stardist/models
  copying stardist/models/__init__.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/models
  copying stardist/models/base.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/models
  copying stardist/models/model2d.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/models
  copying stardist/models/model3d.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/models
  copying stardist/models/pretrained.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/models
  copying stardist/models/sample_patches.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/models
  creating build/lib.macosx-10.9-x86_64-3.6/stardist/plot
  copying stardist/plot/__init__.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/plot
  copying stardist/plot/plot.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/plot
  copying stardist/plot/render.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/plot
  creating build/lib.macosx-10.9-x86_64-3.6/stardist/kernels
  copying stardist/kernels/stardist2d.cl -> build/lib.macosx-10.9-x86_64-3.6/stardist/kernels
  copying stardist/kernels/stardist3d.cl -> build/lib.macosx-10.9-x86_64-3.6/stardist/kernels
  running build_ext
  building 'stardist.lib.stardist2d' extension
  Warning: Can't read registry to find the necessary compiler setting
  Make sure that Python modules winreg, win32api or win32con are installed.
  C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I//anaconda3/envs/stardist_test/include -arch x86_64 -I//anaconda3/envs/stardist_test/include -arch x86_64

  creating build/temp.macosx-10.9-x86_64-3.6
  creating build/temp.macosx-10.9-x86_64-3.6/stardist
  creating build/temp.macosx-10.9-x86_64-3.6/stardist/lib
  compile options: '-I//anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include -I//anaconda3/envs/stardist_test/include/python3.6m -c'
  extra options: '-std=c++11 -fopenmp'
  gcc: stardist/lib/stardist2d.cpp
  gcc: stardist/lib/utils.cpp
  gcc: stardist/lib/clipper.cpp
  clang: error: unsupported option '-fopenmp'
  clang: error: unsupported option '-fopenmp'
  clang: error: unsupported option '-fopenmp'
  compiling with OpenMP support failed, re-trying without
  building 'stardist.lib.stardist2d' extension
  C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I//anaconda3/envs/stardist_test/include -arch x86_64 -I//anaconda3/envs/stardist_test/include -arch x86_64

  compile options: '-I//anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include -I//anaconda3/envs/stardist_test/include/python3.6m -c'
  extra options: '-std=c++11'
  gcc: stardist/lib/utils.cpp
  gcc: stardist/lib/clipper.cpp
  gcc: stardist/lib/stardist2d.cpp
  stardist/lib/utils.cpp:4:98: warning: field 'label' will be initialized after field 'eps' [-Wreorder]
  ProgressBar::ProgressBar(const std::string label,const int width, const float eps): width(width),label(label),eps(eps), curr_percentage(0){};
                                                                                ^
  stardist/lib/utils.cpp:4:111: warning: field 'eps' will be initialized after field 'curr_percentage' [-Wreorder]
  ProgressBar::ProgressBar(const std::string label,const int width, const float eps): width(width),label(label),eps(eps), curr_percentage(0){};
                                                                                ^
  In file included from stardist/lib/stardist2d.cpp:8:
  In file included from //anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
  In file included from //anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
  In file included from //anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832:
  //anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
  #warning "Using deprecated NumPy API, disable it with " \
   ^
  2 warnings generated.
  stardist/lib/stardist2d.cpp:102:16: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
    area = 0.5 * abs(area);
                 ^
  stardist/lib/stardist2d.cpp:102:16: note: use function 'std::abs' instead
    area = 0.5 * abs(area);
                 ^~~
                 std::abs
  2 warnings generated.
  creating build/lib.macosx-10.9-x86_64-3.6/stardist/lib
  g++ -bundle -undefined dynamic_lookup -L//anaconda3/envs/stardist_test/lib -arch x86_64 -L//anaconda3/envs/stardist_test/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/stardist/lib/stardist2d.o build/temp.macosx-10.9-x86_64-3.6/stardist/lib/clipper.o build/temp.macosx-10.9-x86_64-3.6/stardist/lib/utils.o -o build/lib.macosx-10.9-x86_64-3.6/stardist/lib/stardist2d.cpython-36m-darwin.so
  building 'stardist.lib.stardist3d' extension
  C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I//anaconda3/envs/stardist_test/include -arch x86_64 -I//anaconda3/envs/stardist_test/include -arch x86_64

  creating build/temp.macosx-10.9-x86_64-3.6/private
  creating build/temp.macosx-10.9-x86_64-3.6/private/var
  creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders
  creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3
  creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx
  creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T
  creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls
  creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist
  creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist
  creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib
  creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src
  creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src
  creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp
  creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r
  compile options: '-I//anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include -I/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src -I//anaconda3/envs/stardist_test/include/python3.6m -c'
  extra options: '-std=c++11 -fopenmp'
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/usermem_r-cpp.cpp
  gcc: stardist/lib/stardist3d.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullStat.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/RboxPoints.cpp
  clang: error: unsupported option '-fopenmp'
  clang: clang: error: unsupported option '-fopenmp'
  error: unsupported option '-fopenmp'
  clang: error: unsupported option '-fopenmp'
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullQh.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullFacetList.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/PointCoordinates.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullPoint.cpp
  clang: error: unsupported option '-fopenmp'
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/stat_r.c
  clang: error: unsupported option '-fopenmp'
  clang: error: unsupported option '-fopenmp'
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/qset_r.c
  clang: error: unsupported option '-fopenmp'
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/merge_r.c
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/io_r.c
  clang: error: unsupported option '-fopenmp'
  clang: error: unsupported option '-fopenmp'
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/geom2_r.c
  clang: error: unsupported option '-fopenmp'
  clang: error: unsupported option '-fopenmp'
  clang: error: unsupported option '-fopenmp'
  compiling with OpenMP support failed, re-trying without
  building 'stardist.lib.stardist3d' extension
  C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I//anaconda3/envs/stardist_test/include -arch x86_64 -I//anaconda3/envs/stardist_test/include -arch x86_64

  compile options: '-I//anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include -I/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src -I//anaconda3/envs/stardist_test/include/python3.6m -c'
  extra options: '-std=c++11'
  gcc: stardist/lib/stardist3d.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/usermem_r-cpp.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullStat.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/RboxPoints.cpp
  /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/usermem_r-cpp.cpp:42:13: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign]
      exitcode= exitcode;
      ~~~~~~~~^ ~~~~~~~~
  1 warning generated.
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/RoadLogEvent.cpp
  In file included from stardist/lib/stardist3d.cpp:2:
  In file included from //anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
  In file included from //anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
  In file included from //anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832:
  //anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
  #warning "Using deprecated NumPy API, disable it with " \
   ^
  1 warning generated.
  gcc: stardist/lib/stardist3d_impl.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullSet.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullVertexSet.cpp
  stardist/lib/stardist3d_impl.cpp:917:33: warning: unused variable 'diff' [-Wunused-variable]
    std::chrono::duration<double> diff = stop-start;
                                  ^
  stardist/lib/stardist3d_impl.cpp:1063:9: warning: unused variable 'status_percentage_new' [-Wunused-variable]
      int status_percentage_new = 100*count_total/n_polys;
          ^
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/RoadError.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullRidge.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullVertex.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullQh.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullPoint.cpp
  2 warnings generated.
  gcc: stardist/lib/utils.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullPoints.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullFacetList.cpp
  stardist/lib/utils.cpp:4:98: warning: field 'label' will be initialized after field 'eps' [-Wreorder]
  ProgressBar::ProgressBar(const std::string label,const int width, const float eps): width(width),label(label),eps(eps), curr_percentage(0){};
                                                                                ^
  stardist/lib/utils.cpp:4:111: warning: field 'eps' will be initialized after field 'curr_percentage' [-Wreorder]
  ProgressBar::ProgressBar(const std::string label,const int width, const float eps): width(width),label(label),eps(eps), curr_percentage(0){};
                                                                                ^
  2 warnings generated.
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/PointCoordinates.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullHyperplane.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullPointSet.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullFacet.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullFacetSet.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/Coordinates.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/stat_r.c
  error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/qset_r.c
  error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/merge_r.c
  error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/io_r.c
  error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/geom2_r.c
  error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/Qhull.cpp
  gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/user_r.c
  error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
  error: Command "gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I//anaconda3/envs/stardist_test/include -arch x86_64 -I//anaconda3/envs/stardist_test/include -arch x86_64 -I//anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include -I/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src -I//anaconda3/envs/stardist_test/include/python3.6m -c /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/stat_r.c -o build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/stat_r.o -std=c++11" failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for stardist
  Running setup.py clean for stardist
Failed to build stardist
Installing collected packages: imagecodecs, tifffile, tqdm, pyyaml, keras, pyparsing, python-dateutil, cycler, kiwisolver, matplotlib, csbdeep, decorator, networkx, pillow, imageio, PyWavelets, scikit-image, llvmlite, numba, stardist
    Running setup.py install for stardist ... error
    ERROR: Command errored out with exit status 1:
     command: //anaconda3/envs/stardist_test/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/setup.py'"'"'; __file__='"'"'/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-record-ot94izl6/install-record.txt --single-version-externally-managed --compile --install-headers //anaconda3/envs/stardist_test/include/python3.6m/stardist
         cwd: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/
    Complete output (193 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.9-x86_64-3.6
    creating build/lib.macosx-10.9-x86_64-3.6/stardist
    copying stardist/__init__.py -> build/lib.macosx-10.9-x86_64-3.6/stardist
    copying stardist/matching.py -> build/lib.macosx-10.9-x86_64-3.6/stardist
    copying stardist/nms.py -> build/lib.macosx-10.9-x86_64-3.6/stardist
    copying stardist/rays3d.py -> build/lib.macosx-10.9-x86_64-3.6/stardist
    copying stardist/utils.py -> build/lib.macosx-10.9-x86_64-3.6/stardist
    copying stardist/version.py -> build/lib.macosx-10.9-x86_64-3.6/stardist
    creating build/lib.macosx-10.9-x86_64-3.6/stardist/geometry
    copying stardist/geometry/__init__.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/geometry
    copying stardist/geometry/geom2d.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/geometry
    copying stardist/geometry/geom3d.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/geometry
    creating build/lib.macosx-10.9-x86_64-3.6/stardist/models
    copying stardist/models/__init__.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/models
    copying stardist/models/base.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/models
    copying stardist/models/model2d.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/models
    copying stardist/models/model3d.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/models
    copying stardist/models/pretrained.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/models
    copying stardist/models/sample_patches.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/models
    creating build/lib.macosx-10.9-x86_64-3.6/stardist/plot
    copying stardist/plot/__init__.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/plot
    copying stardist/plot/plot.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/plot
    copying stardist/plot/render.py -> build/lib.macosx-10.9-x86_64-3.6/stardist/plot
    creating build/lib.macosx-10.9-x86_64-3.6/stardist/kernels
    copying stardist/kernels/stardist2d.cl -> build/lib.macosx-10.9-x86_64-3.6/stardist/kernels
    copying stardist/kernels/stardist3d.cl -> build/lib.macosx-10.9-x86_64-3.6/stardist/kernels
    running build_ext
    building 'stardist.lib.stardist2d' extension
    Warning: Can't read registry to find the necessary compiler setting
    Make sure that Python modules winreg, win32api or win32con are installed.
    C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I//anaconda3/envs/stardist_test/include -arch x86_64 -I//anaconda3/envs/stardist_test/include -arch x86_64

    creating build/temp.macosx-10.9-x86_64-3.6
    creating build/temp.macosx-10.9-x86_64-3.6/stardist
    creating build/temp.macosx-10.9-x86_64-3.6/stardist/lib
    compile options: '-I//anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include -I//anaconda3/envs/stardist_test/include/python3.6m -c'
    extra options: '-std=c++11 -fopenmp'
    gcc: stardist/lib/stardist2d.cpp
    gcc: stardist/lib/clipper.cpp
    gcc: stardist/lib/utils.cpp
    clang: error: unsupported option '-fopenmp'
    clang: error: unsupported option '-fopenmp'
    clang: error: unsupported option '-fopenmp'
    compiling with OpenMP support failed, re-trying without
    building 'stardist.lib.stardist2d' extension
    C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I//anaconda3/envs/stardist_test/include -arch x86_64 -I//anaconda3/envs/stardist_test/include -arch x86_64

    compile options: '-I//anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include -I//anaconda3/envs/stardist_test/include/python3.6m -c'
    extra options: '-std=c++11'
    gcc: stardist/lib/clipper.cpp
    gcc: stardist/lib/stardist2d.cpp
    gcc: stardist/lib/utils.cpp
    stardist/lib/utils.cpp:4:98: warning: field 'label' will be initialized after field 'eps' [-Wreorder]
    ProgressBar::ProgressBar(const std::string label,const int width, const float eps): width(width),label(label),eps(eps), curr_percentage(0){};
                                                                                ^
    stardist/lib/utils.cpp:4:111: warning: field 'eps' will be initialized after field 'curr_percentage' [-Wreorder]
    ProgressBar::ProgressBar(const std::string label,const int width, const float eps): width(width),label(label),eps(eps), curr_percentage(0){};
                                                                                ^
    2 warnings generated.
    In file included from stardist/lib/stardist2d.cpp:8:
    In file included from //anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
    In file included from //anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
    In file included from //anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832:
    //anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
    #warning "Using deprecated NumPy API, disable it with " \
     ^
    stardist/lib/stardist2d.cpp:102:16: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
      area = 0.5 * abs(area);
                   ^
    stardist/lib/stardist2d.cpp:102:16: note: use function 'std::abs' instead
      area = 0.5 * abs(area);
                   ^~~
                   std::abs
    2 warnings generated.
    creating build/lib.macosx-10.9-x86_64-3.6/stardist/lib
    g++ -bundle -undefined dynamic_lookup -L//anaconda3/envs/stardist_test/lib -arch x86_64 -L//anaconda3/envs/stardist_test/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.9-x86_64-3.6/stardist/lib/stardist2d.o build/temp.macosx-10.9-x86_64-3.6/stardist/lib/clipper.o build/temp.macosx-10.9-x86_64-3.6/stardist/lib/utils.o -o build/lib.macosx-10.9-x86_64-3.6/stardist/lib/stardist2d.cpython-36m-darwin.so
    building 'stardist.lib.stardist3d' extension
    C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I//anaconda3/envs/stardist_test/include -arch x86_64 -I//anaconda3/envs/stardist_test/include -arch x86_64

    creating build/temp.macosx-10.9-x86_64-3.6/private
    creating build/temp.macosx-10.9-x86_64-3.6/private/var
    creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders
    creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3
    creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx
    creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T
    creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls
    creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist
    creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist
    creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib
    creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src
    creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src
    creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp
    creating build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r
    compile options: '-I//anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include -I/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src -I//anaconda3/envs/stardist_test/include/python3.6m -c'
    extra options: '-std=c++11 -fopenmp'
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/usermem_r-cpp.cpp
    gcc: stardist/lib/stardist3d.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/RboxPoints.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullStat.cpp
    clang: error: unsupported option '-fopenmp'
    clang: error: unsupported option '-fopenmp'
    clang: error: unsupported option '-fopenmp'
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullQh.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullPoint.cpp
    clang: error: unsupported option '-fopenmp'
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullFacetList.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/PointCoordinates.cpp
    clang: error: unsupported option '-fopenmp'
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/stat_r.c
    clang: error: unsupported option '-fopenmp'
    clang: error: unsupported option '-fopenmp'
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/qset_r.c
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/merge_r.c
    clang: error: unsupported option '-fopenmp'
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/io_r.c
    clang: error: unsupported option '-fopenmp'
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/geom2_r.c
    clang: error: unsupported option '-fopenmp'
    clang: error: unsupported option '-fopenmp'
    clang: error: unsupported option '-fopenmp'
    clang: error: unsupported option '-fopenmp'
    compiling with OpenMP support failed, re-trying without
    building 'stardist.lib.stardist3d' extension
    C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I//anaconda3/envs/stardist_test/include -arch x86_64 -I//anaconda3/envs/stardist_test/include -arch x86_64

    compile options: '-I//anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include -I/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src -I//anaconda3/envs/stardist_test/include/python3.6m -c'
    extra options: '-std=c++11'
    gcc: stardist/lib/stardist3d.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/usermem_r-cpp.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/RboxPoints.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullStat.cpp
    /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/usermem_r-cpp.cpp:42:13: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign]
        exitcode= exitcode;
        ~~~~~~~~^ ~~~~~~~~
    1 warning generated.
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/RoadLogEvent.cpp
    In file included from stardist/lib/stardist3d.cpp:2:
    In file included from //anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
    In file included from //anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
    In file included from //anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832:
    //anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
    #warning "Using deprecated NumPy API, disable it with " \
     ^
    1 warning generated.
    gcc: stardist/lib/stardist3d_impl.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullSet.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullVertexSet.cpp
    stardist/lib/stardist3d_impl.cpp:917:33: warning: unused variable 'diff' [-Wunused-variable]
      std::chrono::duration<double> diff = stop-start;
                                    ^
    stardist/lib/stardist3d_impl.cpp:1063:9: warning: unused variable 'status_percentage_new' [-Wunused-variable]
        int status_percentage_new = 100*count_total/n_polys;
            ^
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/RoadError.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullRidge.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullQh.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullVertex.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullPoint.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullPoints.cpp
    2 warnings generated.
    gcc: stardist/lib/utils.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullFacetList.cpp
    stardist/lib/utils.cpp:4:98: warning: field 'label' will be initialized after field 'eps' [-Wreorder]
    ProgressBar::ProgressBar(const std::string label,const int width, const float eps): width(width),label(label),eps(eps), curr_percentage(0){};
                                                                                ^
    stardist/lib/utils.cpp:4:111: warning: field 'eps' will be initialized after field 'curr_percentage' [-Wreorder]
    ProgressBar::ProgressBar(const std::string label,const int width, const float eps): width(width),label(label),eps(eps), curr_percentage(0){};
                                                                                ^
    2 warnings generated.
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/PointCoordinates.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullHyperplane.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullPointSet.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullFacet.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/QhullFacetSet.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/Coordinates.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/stat_r.c
    error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/qset_r.c
    error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/merge_r.c
    error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/io_r.c
    error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/geom2_r.c
    error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhullcpp/Qhull.cpp
    gcc: /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/user_r.c
    error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
    error: Command "gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I//anaconda3/envs/stardist_test/include -arch x86_64 -I//anaconda3/envs/stardist_test/include -arch x86_64 -I//anaconda3/envs/stardist_test/lib/python3.6/site-packages/numpy/core/include -I/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src -I//anaconda3/envs/stardist_test/include/python3.6m -c /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/stat_r.c -o build/temp.macosx-10.9-x86_64-3.6/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/stardist/lib/qhull_src/src/libqhull_r/stat_r.o -std=c++11" failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: //anaconda3/envs/stardist_test/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/setup.py'"'"'; __file__='"'"'/private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-install-tmrhw9ls/stardist/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/v3/8r0std7j1m1d4h9fvmpr6yc80000gx/T/pip-record-ot94izl6/install-record.txt --single-version-externally-managed --compile --install-headers //anaconda3/envs/stardist_test/include/python3.6m/stardist Check the logs for full command output.

Hi Volker,
Could you try installing/compiling with gcc (instead of clang)?

Install gcc via brew install gcc
install stardist with gcc (assuming gcc-9 was installed in the first step)

CC=gcc-9 CXX=g++-9 pip install stardist

Cheers,
M

Thanks Martin,
will give this a try when I get a chance.
Volker
On Fri, 1 May 2020 at 11:53, Martin Weigert<EMAIL_ADDRESS>wrote:

Hi Volker,
Could you try installing/compiling with gcc (instead of clang)?

Install gcc via brew install gcc
install stardist with gcc (assuming gcc-9 was installed in the
first step)

CC=gcc-9 CXX=g++-9 pip install stardist
Cheers,
M
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mpicbg-csbd/stardist/issues/49#issuecomment-622208915,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQ3R7BOP4L5QG2KRBB5EZTRPISXDANCNFSM4MWY7NSQ
.

Hi Martin,
well ... I gave this a try today and failed ... the problems I ran into were not related to Stardist. I didn't even manage to install brew (and therefore gcc). Brew gave a network error when trying to download the commandline tools and downloading them manually from Apple didn't work either as I don't have an Apple Developer login. Needless to say that the user is still lagging behind with his MacOS (Mac OS 10.12). I also don't want to download the whole XCode package onto the user's laptop.
I guess next time I will try removing/adding compiler flags, starting with removing -std=C++11  unless you have some alternative suggestion.

note that you can conda install gcc

@maweigert btw you could also provide wheels? It's a fair bit of infrastructure to get them built automatically, but to just make Mac ones for the current version you should be able to python setup.py bdist_wheel locally, then twine upload dist/*.whl

@maweigert btw you could also provide wheels? It's a fair bit of infrastructure to get them built automatically

This has been on our todo list for a long time, but we haven't found the time to work on that.
(I had planned to try cibuildwheel, any opinions?)

but to just make Mac ones for the current version you should be able to python setup.py bdist_wheel locally, then twine upload dist/*.whl

Is it really that easy? I thought wheels should be build for some sort of a reference system to ensure compatibility. Also, macOS would be the last of my priorities because there's no GPU support for TensorFlow anyway.

Is it really that easy? I thought wheels should be build for some sort of a reference system to ensure compatibility.

I have only a vague understanding, but for Mac, they are forward compatible, so if you build on 10.12 you should be set for future systems. You can see info about the build system for skimage wheels here. Looks like we use 10.13 actually!
For Linux, there are reference systems, yes, which makes sense since Linux distros are much more varied. I don't know the situation on Windows.
Linux wheels are in some sense the least important since Linux systems typically have a nice compiler environment.

(I had planned to try cibuildwheel, any opinions?)

That's probably the best approach. For scikit-image have an archaic mishmash of Travis and AppVeyor that is not at all fun. Probably we should switch to cibuildwheel also!

btw you could also provide wheels? It's a fair bit of infrastructure to get them built automatically, but to just make Mac ones for the current version

@jni Yep, that'd be wonderful! Alas the additional hassle with the build chain was still a bit of a deterrent (as @uschmidt83 mentioned). Maybe we'll give it a try...
@VolkerH I created a wheel for on my OSX machine (10.14.6), maybe it works for you:
https://drive.switch.ch/index.php/s/11XKCPY3qOsOU6Z

(fibre37) RICO:~ cfrederi$ python
Python 3.7.7 (default, May  6 2020, 04:59:01)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import stardist
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "//anaconda3/envs/fibre37/lib/python3.7/site-packages/stardist/__init__.py", line 8, in <module>
    from .geometry import star_dist,   polygons_to_label,   relabel_image_stardist, ray_angles, dist_to_coord
  File "//anaconda3/envs/fibre37/lib/python3.7/site-packages/stardist/geometry/__init__.py", line 5, in <module>
    from .geom2d import star_dist, polygons_to_label, relabel_image_stardist, ray_angles, dist_to_coord
  File "//anaconda3/envs/fibre37/lib/python3.7/site-packages/stardist/geometry/geom2d.py", line 11, in <module>
    from ..lib.stardist2d import c_star_dist
ImportError: dlopen(//anaconda3/envs/fibre37/lib/python3.7/site-packages/stardist/lib/stardist2d.cpython-37m-darwin.so, 2): Library not loaded: /usr/local/opt/gcc/lib/gcc/9/libgomp.1.dylib
  Referenced from: //anaconda3/envs/fibre37/lib/python3.7/site-packages/stardist/lib/stardist2d.cpython-37m-darwin.so
  Reason: image not found

I am getting exactly the same error, thus preventing me from using this amazing tool in Python :-(
(tf) {17:09}~ ➭ python
Python 3.7.6 | packaged by conda-forge | (default, Mar 23 2020, 22:45:16)
[Clang 9.0.1 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import stardist
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/Caskroom/miniconda/base/envs/tf/lib/python3.7/site-packages/stardist/__init__.py", line 8, in <module>
    from .geometry import star_dist,   polygons_to_label,   relabel_image_stardist, ray_angles, dist_to_coord
  File "/usr/local/Caskroom/miniconda/base/envs/tf/lib/python3.7/site-packages/stardist/geometry/__init__.py", line 5, in <module>
    from .geom2d import star_dist, polygons_to_label, relabel_image_stardist, ray_angles, dist_to_coord
  File "/usr/local/Caskroom/miniconda/base/envs/tf/lib/python3.7/site-packages/stardist/geometry/geom2d.py", line 11, in <module>
    from ..lib.stardist2d import c_star_dist
ImportError: dlopen(/usr/local/Caskroom/miniconda/base/envs/tf/lib/python3.7/site-packages/stardist/lib/stardist2d.cpython-37m-darwin.so, 2): Symbol not found: _GOMP_loop_nonmonotonic_dynamic_next
  Referenced from: /usr/local/Caskroom/miniconda/base/envs/tf/lib/python3.7/site-packages/stardist/lib/stardist2d.cpython-37m-darwin.so
  Expected in: flat namespace
 in /usr/local/Caskroom/miniconda/base/envs/tf/lib/python3.7/site-packages/stardist/lib/stardist2d.cpython-37m-darwin.so

I'd really appreciate help/a fix on this as StarDist has outstanding nuclei segmentation performance

I just wanted to report back on your suggestions, not expecting anyone to fix this, I think something is generally messed up in this user's environment.

Thanks for trying out! Yeah, looks like it didn't bundle the external OpenMP library. Not really experience with wheels, so not sure how to fix that (apart from installing some gcc). Sorry.

I am getting exactly the same error

The error you seems to be not identical

I am getting exactly the same error, thus preventing me from using this amazing tool in Python :-(

That's not the same error as @VolkerH - but its might be a nicer one, as it might get fixed by this :)

The error you seems to be not identical

Apologies, I meant to say error type.
So the issue you pointed to was helpful, as it doesn't seem to be spitting out an error because of that anymore. Thank you.
However, I now have a 'Symbol not found' error... Does this have to do with the installation process? I think I'm going to create a new environment & start from scratch again.
(tf) {18:32}~ ➭ python
Python 3.7.6 | packaged by conda-forge | (default, Mar 23 2020, 22:45:16)
[Clang 9.0.1 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import stardist
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/Caskroom/miniconda/base/envs/tf/lib/python3.7/site-packages/stardist/__init__.py", line 8, in <module>
    from .geometry import star_dist,   polygons_to_label,   relabel_image_stardist, ray_angles, dist_to_coord
  File "/usr/local/Caskroom/miniconda/base/envs/tf/lib/python3.7/site-packages/stardist/geometry/__init__.py", line 5, in <module>
    from .geom2d import star_dist, polygons_to_label, relabel_image_stardist, ray_angles, dist_to_coord
  File "/usr/local/Caskroom/miniconda/base/envs/tf/lib/python3.7/site-packages/stardist/geometry/geom2d.py", line 11, in <module>
    from ..lib.stardist2d import c_star_dist
ImportError: dlopen(/usr/local/Caskroom/miniconda/base/envs/tf/lib/python3.7/site-packages/stardist/lib/stardist2d.cpython-37m-darwin.so, 2): Symbol not found: __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
  Referenced from: /usr/local/Caskroom/miniconda/base/envs/tf/lib/python3.7/site-packages/stardist/lib/stardist2d.cpython-37m-darwin.so
  Expected in: flat namespace
 in /usr/local/Caskroom/miniconda/base/envs/tf/lib/python3.7/site-packages/stardist/lib/stardist2d.cpython-37m-darwin.so

Hmm, apologies, looks like I gave bad wheel advice... :grimacing:

So the issue you pointed to was helpful, as it doesn't seem to be spitting out an error because of that anymore. Thank you.
However, I now have a 'Symbol not found' error... Does this have to do with the installation process? I think I'm going to create a new environment & start from scratch again.

With which version of gcc did you install stardist?

@jni

looks like I gave bad wheel advice..

"Wheely bad advice!" (Pontius Pilate :)
I don't have any experience with building wheels, so I highly suspect its just me not spotting the option to include all external libraries. There seems to be auditwheel for that exact purpose, yet it is only available for linux... :(

"Wheely bad advice!" (Pontius Pilate :)

:rofl: That is a perfect joke in Python-land. :grin:


Add Troubleshooting section

Add a chapter to getting started with errors that can happen and what to do in this cases.

I already added a file "troubleshooting.md" for this purpose.
But it is currently not referenced in the getting started guide and should be included.

@slechte  - sebastian - do you work those documentation / getting started topics now .. ? just asking - so I don't get started.


Model/DB management: Do Thumbnails take an array of objects when editing pages?

Laravel Version: 5.3.0
Voyager Version: 0.9
PHP Version: 7.0.2
Database Driver & Version: mysql  Ver 14.14 Distrib 5.7.10

Description:
In my "pages" table, there is a column "thumbnail". This column is of "text" type, and supposed to have multiple images as thumbnails.
I thought I could save multiple images to with this column, set the input type "Image" and edited Optional Details, following the documentation.
Now the Optional Details look like this.
{
"thumbnails": [
{
"name": "medium",
"scale": "50%"
},
{
"name": "small",
"scale": "25%"
},
{
"name": "cropped",
"crop": {
"width": "300",
"height": "250"
}
}
]
}
However, I can save only one image with this column. I tried copy-and-past the template, but it didn't work either.
My goal is to be able to put two or more images with this column and show them on the view as required.
Any advice will be appreciated!
Steps To Reproduce:

@Hiroki1116 The thumbnails were generated but didn't save into database instead it generate files with suffix of thumbnail name on it. Please check the upload folder to see if the thumbnails generated.

Thanks for your reply. I'd like to confirm one more thing.
Now I can see that there was a thumbnail under the public/storage/pages. Still, however, only one image can be retrieved per page.
This is because the "thumbnail" column will be updated once you upload a new thumbnail. So, even if there were two or more thumbnails in the folder, the directory will be lost from the DB table if you upload another thumbnail.
Is that correct?

I'm going to close this.  There have been significant changes since this was opened.


Switched closing cluster after closing all sub-services + Added windo…

…ws and macOS runtimes to unit and integration tests
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no api changes)
[x] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Other information

Codecov Report

Merging #74 (8078e73) into master (1cc8599) will decrease coverage by 19.12%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           master      #74       +/-   ##
===========================================
- Coverage   52.34%   33.21%   -19.13%
===========================================
  Files          79       43       -36
  Lines        9344     6560     -2784
===========================================
- Hits         4891     2179     -2712
- Misses       4166     4246       +80
+ Partials      287      135      -152

Flag
Coverage Δ

1.16.x
33.21% <0.00%> (ø)

1.17.x
33.21% <0.00%> (-19.13%)
:arrow_down:

integration
?

ubuntu-latest
33.21% <0.00%> (-19.13%)
:arrow_down:

unit
33.21% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

connection.go
0.00% <0.00%> (-44.31%)
:arrow_down:

internal/driver/driver_as_cluster.go
0.00% <0.00%> (-90.00%)
:arrow_down:

internal/driver/driver.go
0.00% <0.00%> (-85.72%)
:arrow_down:

scheme.go
0.00% <0.00%> (-80.65%)
:arrow_down:

table.go
0.00% <0.00%> (-64.62%)
:arrow_down:

internal/scheme/scheme.go
0.00% <0.00%> (-55.72%)
:arrow_down:

internal/table/scanner/result.go
31.86% <0.00%> (-52.75%)
:arrow_down:

options.go
0.00% <0.00%> (-52.60%)
:arrow_down:

internal/errors/errors.go
0.00% <0.00%> (-36.59%)
:arrow_down:

... and 58 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1cc8599...8078e73. Read the comment docs.


Lead users to get access keys from sorna cloud during installation

Lead users to get access keys from sorna cloud during installation
If no api key is set, notify / lead users to get keys from the site. (when installing integration)

On macOS Sierra 10.12.5, it says:
You can get your own API keypair from https://cloud.sorna.io. Do you want to open the site? [y/n] y
0:38: execution error: "https://cloud.sorna.io"이(가) ‘open location’ 메시지를 인식하지 못합니다. (-1708)

but this is a bug in Apple:
http://bugs.python.org/issue30392
Just ignoring this.


Port tokenHandler mechanism from go-nats (option createConnection())

Fixes: #265
Description
I wasn't sure of the best place to plug this in. This PR introduces the code into createConnection(). It might work well there because it wouldn't be "interrupting" an otherwise synchronous flow inside the processInbound(). However, it moves the call to obtain the token a bit further from where it would be used. This solution also assumes that the auth is only ever done on a fresh TCP connection. Is this assumption correct?

Coverage increased (+0.1%) to 89.355% when pulling c21fc5b865c5b8b7c69fa402c2e3fd69426bb2fb on andriy-bulynko:token-handler-createConnection into e5f4558904f0a88183d2c542f33351b546d1d3b6 on nats-io:master.

The Travis CI seems to be failing on unrelated tests. Is there any way to re-run it?

Also sendConnect is where authentication is gathered and filled in.

How firm are you on the "no-async" policy? It certainly makes it more difficult to track the token expiry outside of the lib.

the point is that by the time you get a connect if you don't have the token already resolved, you'll be unceremoniously disconnected. I think you should periodically check for your token or have some other mechanism where you are notified when the token is updated, but that is not for the nats library to resolve. The library should simply be concerned with reading the value as an immediate operation.
If you look at the other resolutions (for creds files) they are immediately resolved. The process charged with updating can do so whenever. The only contract is for the file to be current when we need it.

Also if you are dabbling in Promises or async/await or are looking for more 'modern' javascript, take a look at ts-nats. The contract above would still be true (the limitation is not on client, but that nats servers typically disconnect clients very very quickly if the connect protocol is not fulfilled quickly enough.

@aricart: I agree that speed is off the essence. I hope you noticed that in my tests I setup very long timeouts for token resolutions (I think I tried as far as just under 1000ms), and the server was fine. Again, in go-nats the synchronous callbacks can do "anything" synchronously for a period of time, and that period may be non-trivial. In our case, tokenHandler() callbacks in go-nats go out and refreshes tokens. None of that is affecting the timing for the protocol. And even if any individual call would take too long to mess up timing, then there should be a predictable failure followed by a reconnect if configured. Wouldn't you agree?

@aricart: Simplicity is nice and how can you get simpler than asking for a token when you need it? Of course, other approaches can be used, but none of them would be as lean as that simple pattern.

@andriy-bulynko I am ok with the asking for the token dynamically, I just don't want you to resolve the token within the sendConnect. By making it a Promise the door is open, because now until it resolves I cannot really attempt a connection. This can easily translate to support issues.
When the resolution of the token is out of band with the client the worse that could happen is that your client will get an authentication error.

@aricart: Also, I'm not hung up on promises or any other "modern" ES6 features. I chose the promise approach because it's an easy-to-use data type available in the version of node that's listed as minimally supported by the library. It offers an easy abstraction for returning a value or an error. I could re-write this using the callback(val, error) vanilla function.

Have you seen the other PR: https://github.com/nats-io/node-nats/pull/266 ? There, I'm attempting to do the same in the processInbound() instead of the sendConnect(). That seems to work well too.

replaced with the sync version


create_signature_help: TypeError: 'NoneType' object is not iterable

Hello again @rwols I reported a bug a few minutes ago that is very similar to one that you fixed 5+ months ago but this one is also completely new, it just happens to throw the same message, but the backtrace is different. I’m using gopls with LSP 0.8.4, and noticed the following crash while hovering a function name.

Using macOS with gopls (default configuration)
I installed LSP using “Package Control”
Minimal reproduction steps: Same as the other bug, I am unable to reproduce this crash voluntarily, and when it happens I already forgot the steps that ended up in the crash. Often it’s because I triggered textDocument/hover or the “rename” command.

Error handling server payload
Traceback (most recent call last):
  File "LSP.sublime-package/plugin/core/rpc.py", line 149, in receive_payload
    self.response_handler(payload)
  File "LSP.sublime-package/plugin/core/rpc.py", line 168, in response_handler
    handler(response["result"])
  File "LSP.sublime-package/plugin/signature_help.py", line 97, in <lambda>
    lambda response: self.handle_response(response, point))
  File "LSP.sublime-package/plugin/signature_help.py", line 100, in handle_response
    self._help = create_signature_help(response)
  File "LSP.sublime-package/plugin/core/signature_help.py", line 114, in create_signature_help
    signatures = list(parse_signature_information(signature) for signature in response.get("signatures", []))
TypeError: 'NoneType' object is not iterable

I hope the backtrace is descriptive enough to fix it.

Thanks for reporting!
It looks like gopls is returning a SignatureHelp object with signatures field set to null (None) instead of an empty array - LSP assumes servers follow the spec and don't put None there:
https://github.com/Microsoft/language-server-protocol/blob/gh-pages/specification.md#signature-help-request-leftwards_arrow_with_hook
Might be this code:
https://github.com/golang/tools/blob/68211a626cca1068197e1fa98907659c722d4222/internal/lsp/signature_help.go#L39
I think it would be great if you can confirm what gopls is sending by turning on log_payloads and reproducing the issue. We can then decide if gopls or LSP needs a fix :)

Thank you @tomv564 I agree with you, the language server should comply with the specification. I’ve mentioned this to some gopls maintainers, and one of them submitted this change to address the issue.

Change looks like it should do the job, I will assume the issue is fixed with their next release. Thanks for following up with them!


Exclude files for windows

We found that on Windows, blackbox will try to tail the rotated log files that have names like
job-service-wrapper.0.out.log, resulting in duplicate log lines in the syslog sink.
This PR gives us the ability to specify a pattern of files to exclude, such as .[0-9]..log
We will send a corresponding PR to windows-syslog-release that sets this property.
Tracker story: #161665842

Closing so that we can update the CLA.


refactor(createInfluencer): Add Typescript types

Contributes to #4517
Add Typescript types to CreateInfluencer
What did you change?
Changed the CreateInfluencer.js to CreateInfluencer.tsx with typescript type support
How did you test and verify your work?
Storybook

it looks like there is a type mismatch which is causing CI to fail

Thanks @emyarod.
The type issue is fixed now.


bug in Custom Feature Extraction

def _custom_layers(x, trainable=True):
    return keras.layers.LSTM(
        units=768,
        trainable=trainable,
        name='LSTM',
    )(x)

It seems that the lstm custom_layers　should add "return_sequences=True"

Thanks for the advice.


Logspam when decoding invalid image

If you try to decode an image using instantiateImageCodec but the data is invalid, instead of (or in addition to?) throwing an exception, it prints Shell: [ERROR:flutter/lib/ui/painting/codec.cc(97)] Failed decoding image. Data is either invalid, or it is encoded using an unsupported format. to the console.

@sjmcdowall I think #16592 is the way to go. Try master channel if it doesn't work. There was a related fix merged quite recently #25980.

@zoechi -- Thanks Gunter!  After exploring I decided on using a package I found -- flutter_advanced_networkimage that has lots of nice features including an callback for image errors that works perfectly as I need.

@Hixie can you provide a repro case along with your expected behavior so that we can track this down?


Active connections not coming down in envoy

Title: Envoy cx active connection is not coming down eventhough the request rate is normal
Description:
Envoy version :1.25.0
We are using enovy as side car proxy we have configured the below clusters.
listener :
- name: freno_listener
enable_reuse_port: false
address:
socket_address:
protocol: TCP
address: <IP_ADDRESS>
port_value: 8189
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
stat_prefix: ingress_http_freno
tracing:
client_sampling:
value: 100
random_sampling:
value: 0
overall_sampling:
value: 100
route_config:
name: freno
virtual_hosts:
- name: freno_service
domains: ["*"]
routes:
- match: { prefix: "/" }
route:
cluster: freno
auto_host_rewrite: true
timeout: 0.2s
retry_policy:
retry_on: 5xx
num_retries: 3
per_try_timeout: 0.05s
http_filters:
- name: envoy.filters.http.router
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
dynamic_stats: true
start_child_span: true

name: freno
connect_timeout: 0.2s
type: STRICT_DNS
lb_policy: ROUND_ROBIN
dns_lookup_family: V4_ONLY
common_lb_config: { healthy_panic_threshold: { value: 0 } }

All the criteria below will be evaluated for each request and the connection
will be opened when any one of the conditions below matches
  circuit_breakers:
    thresholds:
    - max_retries: 3
      track_remaining: true
      max_connections: 40
      max_pending_requests: 40

Host returning consecutive errors will be ejected and will be brought back
after the ejection time calculated based on the number of failures
  outlier_detection:
    base_ejection_time: 3s
    split_external_local_origin_errors: true
    consecutive_local_origin_failure: 10
  upstream_connection_options:
    tcp_keepalive:
      keepalive_probes: 5
      keepalive_interval: 5
      keepalive_time: 300
  health_checks:
     timeout: 0.05s
     interval: 60s
     unhealthy_threshold: 1
     healthy_threshold: 1
     http_health_check:
       path: "/leader-check"
  load_assignment:
    cluster_name: freno
    endpoints:
      - lb_endpoints:
        - endpoint:
            health_check_config:
              port_value: "8189"
            address:
              socket_address:
                address: "frenoeks-blue.freshdesk.internal"
                port_value: "8189"
        - endpoint:
            health_check_config:
              port_value: "8189"
            address:
              socket_address:
                address: "frenoeks-green.freshdesk.internal"
                port_value: "8189"

Questions:

I need to understand why the cx_active connection is not coming down even when the request rate is very normal.
We are observing the cx_active crossing the circuit breaker max connection even though the request rate is very normal.
Also the cx_open for the freno cluster is open when it crosses the max connection of 40 and we are not observing any 503 even though the circuit breaker is open.

[optional Relevant Links:]

Any extra documentation required to understand the issue.

Envoy keeps connections to the upstream hosts open so they can be reused for future requests. These connections are closed when either an idle or connection timeouts occur.

I agree that connections will not come down immediately and also we found an issue where one of the endpoint ip is mapped to other layer which shouldnt be routed and we are going to fix that .
But eventhough the circuit breaker is open why i am getting 2xx?

You also have maximum of 40 pending requests. It is likely that you did not exceed this threshold.

I understand that the request can be in pending state but in this case why the circuit breaker is open (cx_active= 1) ?

My bad sry it was cx_open=1, even though the circuit breaker is open why i am getting 2xx?


Full policy editor

Originally created by Antoine Nguyen on 2012-10-21T09:33:54Z
Add a complete policy editor:

Possibility to define all policy fields
Possibility to assign a policy to a domain

This issue was moved to modoboa/modoboa-amavis#7


Kilo upgrade to Liberty died on repo build process

Tracking of the following OSA bug:
https://bugs.launchpad.net/openstack-ansible/+bug/1585243

Duplicate of https://github.com/rcbops/rpc-openstack/issues/1131


Set InLove property for GlowAgeable only if contained in nbt data

The InLove tag may not be present as it is only added when needed in vanilla minecraft. This commit only sets the property of GlowAgeable if the NBT Tag is present. (It defaults to 0)

Thank you for your contribution!


Code Section Collapsing

Issue Type: Bug
Collapse a code segment on a page (Page A)
Go on to another page (Page B)
Return to the previous page (Page A)
All the collapsed code segment would expand
And the icon for collapsing and expanding code takes few seconds before showing up, and also takes few more seconds to respond to clicks.
VS Code version: Code 1.39.1 (88f15d17dca836346e787762685a40bb5cce75a8, 2019-10-10T23:31:28.683Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Pentium(R) CPU  N3710  @ 1.60GHz (4 x 1600)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
3.89GB (0.93GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (12)

Extension
Author (truncated)
Version

vscode-browser-preview
auc
0.5.9

dart-code
Dar
3.5.1

flutter
Dar
3.5.1

php-debug
fel
1.13.0

php-intellisense
fel
2.3.13

Angular-BeastCode
Mik
8.0.10

vscode-antlr4
mik
2.1.1

mssql
ms-
1.6.0

python
ms-
2019.10.41019

cpptools
ms-
0.25.1

csharp
ms-
1.21.4

twig
wha
1.0.2

Its not producible, can you please provide more info

@aeschli Same problem here, code collapsing for some js file does not work as intend occasionally:

Collapsing and expanding code takes few more seconds to respond to clicks.

And sometimes, the icon disappeared...

No specified steps found to reproduce now.
(OSX 10.13.6 and VS Code 1.38.0)

@Ebuka18 What type of files is that? HTML, JSON, ... Does it reproduce with all extensions disabled?
@ayqy If you have any steps or code sample, please file a separate issue.


fix: adding back in setTargetResolution

Fixes the scan window on Samsung A23. Also verified it works on Moto G Play, Moto G Power (2021), and Pixel 6.
Pull request for https://github.com/juliansteenbakker/mobile_scanner/issues/604

Pull request for https://github.com/juliansteenbakker/mobile_scanner/issues/604

Up, if i'm not wrong image quality is important for ML Kit image recognition. Based on our test, by default the package use a resolution of 640x480 which lead to many false positive or many bad result during scans.
By upgrading the quality manually theses issue disappears...

@bswhite1 btw, no issue around aspect Ratio ?

@EArminjon the setTargetResolution call is definitely the thing that fixes it on the samsungs. I have been running my fork in production since May with no issues or complaints. I feel like I couldn't get the CamcorderProfile.getAll() to work for some reason, but it has been a while and I don't fully remember.

@bswhite1 with this PR i detect a weird aspect ratio :

Without this PR :

@bswhite1  Can you tell me if https://github.com/juliansteenbakker/mobile_scanner/pull/760 fix this issue ?

@EArminjon Yes, #760 fixes the issue and it does have a better aspect ratio.

@EArminjon Yes, #760 fixes the issue and it does have a better aspect ratio.

Okay ty for your reply ! To help maintainer to determine which PR to merge, maybe you close this one please ?

closing in favor of https://github.com/juliansteenbakker/mobile_scanner/pull/760


CodeSandbox Link in Issue Template is not working

Or at least I can't figure out how to get it to work 🤷
I've tried:
❌ Running it as-is by following the link
❌ Forking onto my account
❌ Following the CodeSandbox prompts to upgrade to a DevBox to run commands
When debugging a different Tamagui issue, I tried out Gitpod, which seemed to work much better. While this isn't an endorsement for them and would advise the Tamagui project to do whatever works best, it is worth noting that Gitpod has an Open Source program as well: https://www.gitpod.io/discover/opensource
Let me know how to best move this forward as I'd like to test out a few behaviours I'm seeing to determine if it's an actual Tamagui issue or an issue with my setup
Thanks!

Probably regressed at some point, thanks for notifying. Gitpod is fine if we get something together on it.

Yeah 😅
Reporting back, I tried Stackblitz with more success than CodeSandbox but it's still having issues related to Yarn. Saving the link here in case other folks have more success moving it forward: https://stackblitz.com/github/tamagui/starter-free

Same issue here trying to create a minimal reproducer for a potential issue.
Seems the problem is that codesandbox by default tries to use pnpm instead of yarn.
Adding a .codesandbox/tasks.json file in the repo should fix that:
{
  // These tasks will run in order when initializing your CodeSandbox project.
  "setupTasks": [
    {
      "name": "Install Dependencies",
      "command": "yarn install"
    }
  ],

  // These tasks can be run from CodeSandbox. Running one will open a log in the app.
  "tasks": {
    "install": {
      "name": "install dependencies",
      "command": "yarn install"
    },
    "Development": {
      "name": "Development",
      "command": "yarn web",
      "runAtStart": true,
      "preview": {
        "port": 3000
      }
    }
  }
}

There's a more complete official sandbox template for react-native-expo here which could be used for further improvement for the tamagui starter sandbox https://github.com/codesandbox/sandbox-templates/tree/main/react-native-expo

Looks like it's also needed to specify a .devcontainer/devcontainer.json for the sandbox to automatically start as a devbox. So for instance opening this devcontainer branch on my fork does the right thing https://codesandbox.io/p/devbox/github/jmatsushita/starter-free/tree/devcontainer I'll modify the PR to include this.

Alternatively, this is a devbox version based of the tamagui expo-router template:
npm create tamagui@latest --template expo-router

And using the .codesandbox and .devcontainer from the react-native-expo sandbox template (modified for yarn). https://github.com/jmatsushita/tamagui-expo-router-devbox feel free to just copy it into the tamagui namespace if you want.
https://codesandbox.io/p/devbox/github/jmatsushita/tamagui-expo-router-devbox
Turns out on first launch it reproduced this bug https://github.com/tamagui/tamagui/issues/2230
Web Bundling failed 69519ms (node_modules/expo-router/entry.js)
Unable to resolve "/workspaces/sandbox/.tamagui/css/apptabslayouttsx.css" from "app/(tabs)/_layout.tsx"
λ Bundling failed 69561ms (node_modules/expo-router/node/render.js)
λ node_modules/expo-router/node/render.js ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100.0% (1357/1367)
Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
But reloading the preview fixed it.


Performance compared to other common models?

Considering using this to train some self instructors. Do the pretrained models score well on benchmarks?

We have few shot text classification results in the paper. We haven’t evaluated the models on other benchmarks yet, but we have released the models (check bottom of README), and they can be converted to HF format for further evaluation. So far, our perplexity results have been tracking well with downstream performance, so I would expect our cBTM models to outperform equivalent dense models on other benchmarks too.


Adding other controls

Getting the stream and images is nice but for home automation, being able to turn on and off PIR without going to the app would be really nice (I have an argus pro mounted by the front door, if I could control that I could turn of PIR during daytime if the family is home and not my mailbox filled up with emails of the kids getting in and out).
Have you managed to decode settings updates as well?

I'm better on the hardware end of things, what I'd like to do is make a wireless device that can remotely trigger a recording.... I'd probably make this a simple board that you could wire up to your own photo eye of choice or any other 24V sensor with a little web interface to enter your camera info and trigger duration (since I imagine it would have to start the recording and end it as that seems to be how the app works) (I want to setup a laser sensor at my driveway). I'd post the board design also so anyone could order their own (should be like $15 for 5 board itself + parts which would vary depending on what features you wanted to enable solar power etc...).


multiple urls pointing to same view

Hi,
Say I have two url rules in django pointing to the same view, is there a way I can prevent having to enter the content into the cms multiple times?
For example, I have /campaign/choose_character/ but also /campaign/choose_character/2/ I enter the content for /campaign/choose_character/ but when I go to /campaign/choose_characters/2/ the content from the cms placeholders in this template disapear. Can I avoid entering the content twice? Further more can I change the content if the value of the optional argument = 1 vs. 2?
thanks!

I'm guessing this is where static_placeholders come in.


[SILGen] Silence redundant unreachable enum case warning

When an enum case is already handled, for example:
enum Foo { case a, b }
func takesFoo(arg: Foo) {
  switch arg {
    case _: break
    case .b: break
  }
}

We would get two warnings on case .b: case is already handled by previous patterns; consider removing it & case will never be executed. The first warning comes from Space Engine and the second warning comes from SILGenPattern.
So, silence the (redundant) warning emitted by SILGenPattern for switch statements (except default case).
Resolves SR-12231
Resolves rdar://problem/59655513

IIRC there isn't perfect overlap between the two diagnostics, so disabling either one will cause us to miss cases the other doesn't catch either. @CodaFi how does this sound to you now?

The space engine only has incomplete redundancy checking for expression patterns - there we do something awful that approximates redundancy checking for (non-range) literals. Proper patterns always overlap, so we could at least ditch it for those cases.

I have updated the implementation to check for expression patterns and continue to emit the diagnostic in that case. I tried a couple of test cases involving redundant expression patterns but I couldn't get the redundant warning to trigger in Xcode 12. Do you know a test case which triggers it?

Ping. Does the change look good now @CodaFi?

Ping.