Skip to content

Instantly share code, notes, and snippets.

@kounelisagis
Created May 22, 2024 11:37
Show Gist options
  • Save kounelisagis/28f520e52d98e1c04f4f00573b310ace to your computer and use it in GitHub Desktop.
Save kounelisagis/28f520e52d98e1c04f4f00573b310ace to your computer and use it in GitHub Desktop.
C:\TileDB-Py>cibuildwheel --platform=windows
_ _ _ _ _ _ _
___|_| |_ _ _|_| |_| |_ _ _| |_ ___ ___| |
| _| | . | | | | | . | | | | | -_| -_| |
|___|_|___|___|_|_|___|_____|_|_|___|___|_|
cibuildwheel version 2.16.5
Build options:
platform: windows
architectures: AMD64
build_selector:
build_config: *
skip_config: pp*
requires_python: >=3.8
prerelease_pythons: False
container_engine: docker
output_dir: C:\TileDB-Py\wheelhouse
package_dir: C:\TileDB-Py
test_selector:
skip_config:
before_all:
before_build:
before_test:
build_frontend: None
build_verbosity: 0
config_settings:
dependency_constraints: pinned
environment:
manylinux_images: None
musllinux_images: None
repair_command:
test_command:
test_extras:
test_requires:
Cache folder: C:\Users\Administrator\AppData\Local\pypa\cibuildwheel\Cache
Here we go!
Building cp38-win_amd64 wheel
CPython 3.8 Windows 64bit
Installing Python cp38...
✓ 0.00s
Setting up build environment...
+ 'C:\Users\Administrator\AppData\Local\Programs\Python\Python311\python.exe' -sS 'C:\Users\Administrator\AppData\Local\pypa\cibuildwheel\Cache\virtualenv-20.21.1.pyz' --activators= --no-periodic-update --pip=23.3.2 --setuptools=69.0.3 --wheel=0.42.0 --python 'C:\Users\Administrator\AppData\Local\pypa\cibuildwheel\Cache\nuget-cpython\python.3.8.10\tools\python.exe' 'C:\Users\Administrator\AppData\Local\Temp\2\cibw-run-1bc_373d\cp38-win_amd64\build\venv'
created virtual environment CPython3.8.10.final.0-64 in 504ms
creator CPython3Windows(dest=C:\Users\Administrator\AppData\Local\Temp\2\cibw-run-1bc_373d\cp38-win_amd64\build\venv, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=23.3.2, setuptools=69.0.3, wheel=0.42.0, via=copy, app_data_dir=C:\Users\Administrator\AppData\Local\pypa\virtualenv)
added seed packages: pip==23.3.2, setuptools==69.0.3, wheel==0.42.0
+ python -m pip install --upgrade pip -c 'C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\cibuildwheel\resources\constraints-python38.txt'
Requirement already satisfied: pip in c:\users\administrator\appdata\local\temp\2\cibw-run-1bc_373d\cp38-win_amd64\build\venv\lib\site-packages (23.3.2)
+ where python
C:\Users\Administrator\AppData\Local\Temp\2\cibw-run-1bc_373d\cp38-win_amd64\build\venv\Scripts\python.exe
C:\Users\Administrator\AppData\Local\Programs\Python\Python311\python.exe
+ python --version
Python 3.8.10
+ python -c '"import struct; print(struct.calcsize('"'"'P'"'"') * 8)"'
+ where python
+ where pip
+ pip --version
pip 23.3.2 from C:\Users\Administrator\AppData\Local\Temp\2\cibw-run-1bc_373d\cp38-win_amd64\build\venv\lib\site-packages\pip (python 3.8)
✓ 5.59s
Installing build tools...
+ pip install --upgrade setuptools wheel -c 'C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\cibuildwheel\resources\constraints-python38.txt'
Requirement already satisfied: setuptools in c:\users\administrator\appdata\local\temp\2\cibw-run-1bc_373d\cp38-win_amd64\build\venv\lib\site-packages (69.0.3)
Requirement already satisfied: wheel in c:\users\administrator\appdata\local\temp\2\cibw-run-1bc_373d\cp38-win_amd64\build\venv\lib\site-packages (0.42.0)
✓ 0.94s
Building wheel...
+ python -m pip wheel 'C:\TileDB-Py' '--wheel-dir=C:\Users\Administrator\AppData\Local\Temp\2\cibw-run-1bc_373d\cp38-win_amd64\built_wheel' --no-deps
Processing c:\tiledb-py
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: tiledb
Building wheel for tiledb (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for tiledb (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [74 lines of output]
TILEDB_PATH from env: ''
libtiledb_exists checking 'library_dirs': []
libtiledb_exists found: 'None'
running bdist_wheel
Using vcpkg features: serialization;s3;webp
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Not found clang-tidy
-- Not found clang-format
-- was unable to find clang-format
-- Running vcpkg install
Detecting compiler hash for triplet x64-windows...
error: while detecting compiler information:
The log file content at "C:\TileDB-Py\build\TileDB-2.23.0\build\_deps\vcpkg-src\buildtrees\detect_compiler\stdout-x64-windows.log" is:
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\pypa\cibuildwheel\Cache\nuget-cpython\python.3.8.10\tools\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\Administrator\AppData\Local\pypa\cibuildwheel\Cache\nuget-cpython\python.3.8.10\tools\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\Administrator\AppData\Local\Temp\2\pip-build-env-rcygudrw\overlay\Scripts\cmake.exe\__main__.py", line 4, in <module>
ModuleNotFoundError: No module named 'cmake'
error: vcpkg was unable to detect the active compiler's information. See above for the CMake failure output.
-- Running vcpkg install - failed
CMake Error at build/_deps/vcpkg-src/scripts/buildsystems/vcpkg.cmake:899 (message):
vcpkg install failed. See logs for more information:
C:\TileDB-Py\build\TileDB-2.23.0\build\vcpkg-manifest-install.log
Call Stack (most recent call first):
C:/Users/Administrator/AppData/Local/Temp/2/pip-build-env-rcygudrw/overlay/Lib/site-packages/cmake/data/share/cmake-3.29/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:142 (project)
-- Configuring incomplete, errors occurred!
C:\Users\Administrator\AppData\Local\Temp\2\pip-build-env-rcygudrw\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:83: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies)
corresp(dist, value, root_dir)
ext_modules: [<setuptools.extension.Extension('tiledb.libtiledb') at 0x24e49dc5cd0>, <setuptools.extension.Extension('tiledb.main') at 0x24e58ebb1c0>, <pybind11.setup_helpers.Pybind11Extension('tiledb.cc') at 0x24e58ebb190>]
tiledb_ext: <setuptools.extension.Extension('tiledb.libtiledb') at 0x24e49dc5cd0>
main_ext: <setuptools.extension.Extension('tiledb.main') at 0x24e58ebb1c0>
tiledb_cc_ext: <pybind11.setup_helpers.Pybind11Extension('tiledb.cc') at 0x24e58ebb190>
tiledb_ext.library_dirs: []
libtiledb_exists checking 'library_dirs': []
libtiledb_exists found: 'None'
Building libtiledb in directory C:\TileDB-Py\build\TileDB-2.23.0\build...
CMake configure command: ['cmake', '-DCMAKE_INSTALL_PREFIX=C:\\TileDB-Py\\build\\TileDB-2.23.0\\dist', '-DTILEDB_TESTS=OFF', '-DTILEDB_S3=ON', '-DTILEDB_WERROR=OFF', '-DTILEDB_HDFS=OFF', '-DTILEDB_INSTALL_LIBDIR=lib', '-DTILEDB_CPP_API=ON', '-DTILEDB_LOG_OUTPUT_ON_FAILURE=ON', '-DTILEDB_FORCE_ALL_DEPS:BOOL=OFF', '-DTILEDB_SERIALIZATION:BOOL=ON', '-DCMAKE_BUILD_TYPE=Release', '-DMSVC_MP_FLAG=/MP4', 'C:\\TileDB-Py\\build\\TileDB-2.23.0']
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Temp\2\cibw-run-1bc_373d\cp38-win_amd64\build\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "C:\Users\Administrator\AppData\Local\Temp\2\cibw-run-1bc_373d\cp38-win_amd64\build\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\Administrator\AppData\Local\Temp\2\cibw-run-1bc_373d\cp38-win_amd64\build\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "C:\Users\Administrator\AppData\Local\Temp\2\pip-build-env-rcygudrw\overlay\Lib\site-packages\setuptools\build_meta.py", line 410, in build_wheel
return self._build_with_temp_dir(
File "C:\Users\Administrator\AppData\Local\Temp\2\pip-build-env-rcygudrw\overlay\Lib\site-packages\setuptools\build_meta.py", line 395, in _build_with_temp_dir
self.run_setup()
File "C:\Users\Administrator\AppData\Local\Temp\2\pip-build-env-rcygudrw\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 751, in <module>
File "C:\Users\Administrator\AppData\Local\Temp\2\pip-build-env-rcygudrw\overlay\Lib\site-packages\setuptools\__init__.py", line 103, in setup
return distutils.core.setup(**attrs)
File "C:\Users\Administrator\AppData\Local\Temp\2\pip-build-env-rcygudrw\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 184, in setup
return run_commands(dist)
File "C:\Users\Administrator\AppData\Local\Temp\2\pip-build-env-rcygudrw\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 200, in run_commands
dist.run_commands()
File "C:\Users\Administrator\AppData\Local\Temp\2\pip-build-env-rcygudrw\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
self.run_command(cmd)
File "C:\Users\Administrator\AppData\Local\Temp\2\pip-build-env-rcygudrw\overlay\Lib\site-packages\setuptools\dist.py", line 968, in run_command
super().run_command(command)
File "C:\Users\Administrator\AppData\Local\Temp\2\pip-build-env-rcygudrw\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "<string>", line 499, in run
File "<string>", line 316, in find_or_install_libtiledb
File "<string>", line 277, in build_libtiledb
File "C:\Users\Administrator\AppData\Local\pypa\cibuildwheel\Cache\nuget-cpython\python.3.8.10\tools\lib\subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '-DCMAKE_INSTALL_PREFIX=C:\\TileDB-Py\\build\\TileDB-2.23.0\\dist', '-DTILEDB_TESTS=OFF', '-DTILEDB_S3=ON', '-DTILEDB_WERROR=OFF', '-DTILEDB_HDFS=OFF', '-DTILEDB_INSTALL_LIBDIR=lib', '-DTILEDB_CPP_API=ON', '-DTILEDB_LOG_OUTPUT_ON_FAILURE=ON', '-DTILEDB_FORCE_ALL_DEPS:BOOL=OFF', '-DTILEDB_SERIALIZATION:BOOL=ON', '-DCMAKE_BUILD_TYPE=Release', '-DMSVC_MP_FLAG=/MP4', 'C:\\TileDB-Py\\build\\TileDB-2.23.0']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tiledb
Failed to build tiledb
ERROR: Failed to build one or more wheels
✕ 31.08s
Error: Command ['python', '-m', 'pip', 'wheel', 'C:\\TileDB-Py', '--wheel-dir=C:\\Users\\Administrator\\AppData\\Local\\Temp\\2\\cibw-run-1bc_373d\\cp38-win_amd64\\built_wheel', '--no-deps'] failed with code 1. None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment