Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not able to install hana-ml and hdbcli on new macbook pro m1 chip aarch64 architecture #19

Open
rohtash opened this issue Feb 3, 2022 · 2 comments

Comments

@rohtash
Copy link

rohtash commented Feb 3, 2022

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

@pawelwiejkut
Copy link

pawelwiejkut commented Feb 19, 2022

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.

@mkemeter
Copy link

As a workaround you can use Apple Rosetta to run the binaries. Check this blog for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants