Closed basilboli closed 1 year ago
Unfortunately as of 1.6.1 (but also with 1.7.0) we create a unique .so for tink_cc and its extensions for Tink Python to use. This won't change in the near future. Also, currently we don't support Windows.
Could you please share the command you've used to install, and the Bazel version? Also, could you please give it a try with v1.7.0?
I'll take a look at this and try to reproduce it in the meantime.
Thank you for quick answer. Finally, it worked with python 3.8.14 installed with homebrew.
How I solved the problem:
Seems like with Python 3.8.3 on MacOs 12.2.1 pip was not able to download tink-1.6.1-2-cp38-cp38-macosx_11_0_x86_64.whl
. When I tried installing it directly I had:
ERROR: tink-1.6.1-cp38-cp38-macosx_11_0_x86_64.whl is not a supported wheel on this platform.
With Python 3.8.14 it's working.
Great! Thanks for sharing how you solved it :) I am going to close this issue, feel free to reopen it if you have any other questions/concerns.
Help us help you
Hi , We’re using tink library with python program.
When installing tink package on MacOs or Windows tink will build from sources using Bazel and will fail with error:
We don’t use / import gcpkms nor awskms features from tink in our program. How can we add those bindings so we can compile it ? Can we build tink without gcpkms and awskms features ?
Installing tink package on Linux works OK as it’s doesn’t compile from sources with Bazel.
What sort of feature would you like to see?
We expect installing tink library on Windows / MacOs to work.
Have you considered any alternative solutions? No
Would you like to add additional context? Tink version 1.6.1 MacOs Version 12.2.1 Python 3.8.3