bllmo opened a new issue, #333:
URL: https://github.com/apache/datasketches-cpp/issues/333
I have some trouble to install python `datasketches==4.0.0` on Linux ARM64,
I receive the following error when I run `pip3 install datasketches==4.0.0`
```
Building wheels for collected packages: datasketches
Building wheel for datasketches (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3
/usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel
/tmp/tmpr2gn81le
cwd: /tmp/pip-install-r9ab7pna/datasketches
Complete output (68 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-37
creating build/lib.linux-aarch64-cpython-37/datasketches
copying python/datasketches/PySerDe.py ->
build/lib.linux-aarch64-cpython-37/datasketches
copying python/datasketches/__init__.py ->
build/lib.linux-aarch64-cpython-37/datasketches
running build_ext
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:25 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full
path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also
"/tmp/pip-install-r9ab7pna/datasketches/build/temp.linux-aarch64-cpython-37/CMakeFiles/CMakeOutput.log".
See also
"/tmp/pip-install-r9ab7pna/datasketches/build/temp.linux-aarch64-cpython-37/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File
"/usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 280,
in <module>
main()
File
"/usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 263,
in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File
"/usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 205,
in build_wheel
metadata_directory)
File
"/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/build_meta.py",
line 414, in build_wheel
wheel_directory, config_settings)
File
"/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/build_meta.py",
line 398, in _build_with_temp_dir
self.run_setup()
File
"/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/build_meta.py",
line 335, in run_setup
exec(code, locals())
File "<string>", line 109, in <module>
File
"/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/__init__.py",
line 87, in setup
return distutils.core.setup(**attrs)
File
"/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/_distutils/core.py",
line 185, in setup
return run_commands(dist)
File
"/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/_distutils/core.py",
line 201, in run_commands
dist.run_commands()
File
"/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/_distutils/dist.py",
line 969, in run_commands
self.run_command(cmd)
File
"/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/dist.py",
line 1208, in run_command
super().run_command(command)
File
"/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/_distutils/dist.py",
line 988, in run_command
cmd_obj.run()
File
"/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/wheel/bdist_wheel.py",
line 325, in run
self.run_command("build")
File
"/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/_distutils/cmd.py",
line 318, in run_command
self.distribution.run_command(command)
File
"/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/dist.py",
line 1208, in run_command
super().run_command(command)
File
"/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/_distutils/dist.py",
line 988, in run_command
cmd_obj.run()
File
"/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/_distutils/command/build.py",
line 132, in run
self.run_command(cmd_name)
File
"/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/_distutils/cmd.py",
line 318, in run_command
self.distribution.run_command(command)
File
"/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/dist.py",
line 1208, in run_command
super().run_command(command)
File
"/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/_distutils/dist.py",
line 988, in run_command
cmd_obj.run()
File "<string>", line 46, in run
File "<string>", line 78, in build_extension
File "/usr/lib64/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake',
'/tmp/pip-install-r9ab7pna/datasketches',
'-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-r9ab7pna/datasketches/build/lib.linux-aarch64-cpython-37',
'-DWITH_PYTHON=True', '-DCMAKE_CXX_STANDARD=11',
'-DPython3_EXECUTABLE=/usr/bin/python3', '-DCMAKE_BUILD_TYPE=Release']'
returned non-zero exit status 1.
----------------------------------------
ERROR: Failed building wheel for datasketches
Failed to build datasketches
ERROR: Could not build wheels for datasketches which use PEP 517 and cannot
be installed directly
```
how can i generate a whl that will work on Linux ARM64 of
datasketche==4.0.0?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]