hana-ml-samples
hana-ml-samples copied to clipboard
not able to install hana-ml and hdbcli on new macbook pro m1 chip aarch64 architecture
ERROR: Could not find a version that satisfies the requirement hdbcli (from versions: none) ERROR: No matching distribution found for hdbcli
ERROR: Could not find a version that satisfies the requirement hana-ml (from versions: none) ERROR: No matching distribution found for hana-ml
I have the same issue. It also can't be installed from .tar.gz:
Installing collected packages: hdbcli
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Running setup.py install for hdbcli ... error
error: subprocess-exited-with-error
× Running setup.py install for hdbcli did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
running install
/opt/homebrew/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build/lib.macosx-12-arm64-3.9
creating build/lib.macosx-12-arm64-3.9/hdbcli
copying hdbcli/dbapi.py -> build/lib.macosx-12-arm64-3.9/hdbcli
copying hdbcli/__init__.py -> build/lib.macosx-12-arm64-3.9/hdbcli
copying hdbcli/resultrow.py -> build/lib.macosx-12-arm64-3.9/hdbcli
running build_ext
error: This hdbcli installer is not compatible with your Python interpreter
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> hdbcli
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
As a workaround you can use Apple Rosetta to run the binaries. Check this blog for more information.