I can't install the library on Mac OS with an intel chip.
I'm in JupiterLab, latest version of Python3, latest pip/wheel/setuptools. I have libomp installed using brew. I have Xcode-select installed.
Error is as follows:
Building wheels for collected packages: bitermplus
Building wheel for bitermplus (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for bitermplus (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
/private/var/folders/p0/b89vzkwj6s59mbscpyll6dzm0000gn/T/pip-build-env-pxw75s_w/overlay/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
config = read_configuration(filepath, True, ignore_option_errors, dist)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-universal2-cpython-311
creating build/lib.macosx-10.9-universal2-cpython-311/bitermplus
copying src/bitermplus/__init__.py -> build/lib.macosx-10.9-universal2-cpython-311/bitermplus
copying src/bitermplus/_util.py -> build/lib.macosx-10.9-universal2-cpython-311/bitermplus
running build_ext
building 'bitermplus._btm' extension
creating build/temp.macosx-10.9-universal2-cpython-311
creating build/temp.macosx-10.9-universal2-cpython-311/src
creating build/temp.macosx-10.9-universal2-cpython-311/src/bitermplus
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c src/bitermplus/_btm.c -o build/temp.macosx-10.9-universal2-cpython-311/src/bitermplus/_btm.o -Xpreprocessor -fopenmp
src/bitermplus/_btm.c:776:10: fatal error: 'omp.h' file not found
#include <omp.h>
^~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for bitermplus
Failed to build bitermplus
ERROR: Could not build wheels for bitermplus, which is required to install pyproject.toml-based projects
Hi,
I can't install the library on Mac OS with an intel chip.
I'm in JupiterLab, latest version of Python3, latest pip/wheel/setuptools. I have libomp installed using brew. I have Xcode-select installed.
Error is as follows:
Any help would be appreciated!