Skip to content

Instantly share code, notes, and snippets.

@ajfriend
Created May 29, 2022 21:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajfriend/ba66e9169606d983ed9d935b8658a160 to your computer and use it in GitHub Desktop.
Save ajfriend/ba66e9169606d983ed9d935b8658a160 to your computer and use it in GitHub Desktop.
❯ env/bin/pip install dist/h3-4.0.0.tar.gz
Processing ./dist/h3-4.0.0.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: h3
Building wheel for h3 (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for h3 (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [82 lines of output]
Not searching for unused variables given on the command line.
-- The C compiler identification is AppleClang 12.0.5.12050022
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /private/var/folders/p9/gc1qcwtx6wg5_22cf88gcqlh0000gn/T/pip-req-build-4idz4ucd/_cmake_test_compile/build
-- The C compiler identification is AppleClang 12.0.5.12050022
-- The CXX compiler identification is AppleClang 12.0.5.12050022
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Doxygen: /usr/local/bin/doxygen (found version "1.9.3") found components: doxygen dot
CMake Error: File /private/var/folders/p9/gc1qcwtx6wg5_22cf88gcqlh0000gn/T/pip-req-build-4idz4ucd/src/h3lib/dev-docs/Doxyfile.in does not exist.
CMake Error at src/h3lib/CMakeLists.txt:355 (configure_file):
configure_file Problem configuring file
-- Found PythonInterp: /Users/ajfriend/work/h3-py_v4/h3-py/env/bin/python (found version "3.9.12")
-- Found Cython: /Users/ajfriend/work/h3-py_v4/h3-py/env/bin/cython
-- Found PythonLibs: /Users/ajfriend/.pyenv/versions/3.9.12/lib/libpython3.9.a (found version "3.9.12")
-- Performing Test Weak Link MODULE -> SHARED (gnu_ld_ignore) - Failed
-- Performing Test Weak Link MODULE -> SHARED (osx_dynamic_lookup) - Success
_modinit_prefix:PyInit_
_modinit_prefix:PyInit_
_modinit_prefix:PyInit_
_modinit_prefix:PyInit_
_modinit_prefix:PyInit_
-- Configuring incomplete, errors occurred!
See also "/private/var/folders/p9/gc1qcwtx6wg5_22cf88gcqlh0000gn/T/pip-req-build-4idz4ucd/_skbuild/macosx-12.0-x86_64-3.9/cmake-build/CMakeFiles/CMakeOutput.log".
See also "/private/var/folders/p9/gc1qcwtx6wg5_22cf88gcqlh0000gn/T/pip-req-build-4idz4ucd/_skbuild/macosx-12.0-x86_64-3.9/cmake-build/CMakeFiles/CMakeError.log".
File "/private/var/folders/p9/gc1qcwtx6wg5_22cf88gcqlh0000gn/T/pip-build-env-83z9m9dm/overlay/lib/python3.9/site-packages/skbuild/setuptools_wrap.py", line 637, in setup
env = cmkr.configure(
File "/private/var/folders/p9/gc1qcwtx6wg5_22cf88gcqlh0000gn/T/pip-build-env-83z9m9dm/overlay/lib/python3.9/site-packages/skbuild/cmaker.py", line 328, in configure
raise SKBuildError(
--------------------------------------------------------------------------------
-- Trying "Ninja" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "Ninja" generator - success
--------------------------------------------------------------------------------
Configuring Project
Working directory:
/private/var/folders/p9/gc1qcwtx6wg5_22cf88gcqlh0000gn/T/pip-req-build-4idz4ucd/_skbuild/macosx-12.0-x86_64-3.9/cmake-build
Command:
cmake /private/var/folders/p9/gc1qcwtx6wg5_22cf88gcqlh0000gn/T/pip-req-build-4idz4ucd -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/private/var/folders/p9/gc1qcwtx6wg5_22cf88gcqlh0000gn/T/pip-req-build-4idz4ucd/_skbuild/macosx-12.0-x86_64-3.9/cmake-install -DPYTHON_VERSION_STRING:STRING=3.9.12 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/private/var/folders/p9/gc1qcwtx6wg5_22cf88gcqlh0000gn/T/pip-build-env-83z9m9dm/overlay/lib/python3.9/site-packages/skbuild/resources/cmake -DPython3_EXECUTABLE:FILEPATH=/Users/ajfriend/work/h3-py_v4/h3-py/env/bin/python -DPython3_INCLUDE_DIR:PATH=/Users/ajfriend/.pyenv/versions/3.9.12/include/python3.9 -DPython3_LIBRARY:PATH=/Users/ajfriend/.pyenv/versions/3.9.12/lib/libpython3.9.a -DPython_EXECUTABLE:FILEPATH=/Users/ajfriend/work/h3-py_v4/h3-py/env/bin/python -DPython_INCLUDE_DIR:PATH=/Users/ajfriend/.pyenv/versions/3.9.12/include/python3.9 -DPython_LIBRARY:PATH=/Users/ajfriend/.pyenv/versions/3.9.12/lib/libpython3.9.a -DPYTHON_EXECUTABLE:FILEPATH=/Users/ajfriend/work/h3-py_v4/h3-py/env/bin/python -DPYTHON_INCLUDE_DIR:PATH=/Users/ajfriend/.pyenv/versions/3.9.12/include/python3.9 -DPYTHON_LIBRARY:PATH=/Users/ajfriend/.pyenv/versions/3.9.12/lib/libpython3.9.a -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=12.0 -DCMAKE_OSX_ARCHITECTURES:STRING=x86_64
Traceback (most recent call last):
An error occurred while configuring with CMake.
Command:
cmake /private/var/folders/p9/gc1qcwtx6wg5_22cf88gcqlh0000gn/T/pip-req-build-4idz4ucd -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/private/var/folders/p9/gc1qcwtx6wg5_22cf88gcqlh0000gn/T/pip-req-build-4idz4ucd/_skbuild/macosx-12.0-x86_64-3.9/cmake-install -DPYTHON_VERSION_STRING:STRING=3.9.12 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/private/var/folders/p9/gc1qcwtx6wg5_22cf88gcqlh0000gn/T/pip-build-env-83z9m9dm/overlay/lib/python3.9/site-packages/skbuild/resources/cmake -DPython3_EXECUTABLE:FILEPATH=/Users/ajfriend/work/h3-py_v4/h3-py/env/bin/python -DPython3_INCLUDE_DIR:PATH=/Users/ajfriend/.pyenv/versions/3.9.12/include/python3.9 -DPython3_LIBRARY:PATH=/Users/ajfriend/.pyenv/versions/3.9.12/lib/libpython3.9.a -DPython_EXECUTABLE:FILEPATH=/Users/ajfriend/work/h3-py_v4/h3-py/env/bin/python -DPython_INCLUDE_DIR:PATH=/Users/ajfriend/.pyenv/versions/3.9.12/include/python3.9 -DPython_LIBRARY:PATH=/Users/ajfriend/.pyenv/versions/3.9.12/lib/libpython3.9.a -DPYTHON_EXECUTABLE:FILEPATH=/Users/ajfriend/work/h3-py_v4/h3-py/env/bin/python -DPYTHON_INCLUDE_DIR:PATH=/Users/ajfriend/.pyenv/versions/3.9.12/include/python3.9 -DPYTHON_LIBRARY:PATH=/Users/ajfriend/.pyenv/versions/3.9.12/lib/libpython3.9.a -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=12.0 -DCMAKE_OSX_ARCHITECTURES:STRING=x86_64
Source directory:
/private/var/folders/p9/gc1qcwtx6wg5_22cf88gcqlh0000gn/T/pip-req-build-4idz4ucd
Working directory:
/private/var/folders/p9/gc1qcwtx6wg5_22cf88gcqlh0000gn/T/pip-req-build-4idz4ucd/_skbuild/macosx-12.0-x86_64-3.9/cmake-build
Please see CMake's output for more information.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for h3
Failed to build h3
ERROR: Could not build wheels for h3, which is required to install pyproject.toml-based projects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment