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

Failed to install TenSEAL on Macbook Air M2 #465

Open
SimengZhan opened this issue Jan 3, 2024 · 1 comment
Open

Failed to install TenSEAL on Macbook Air M2 #465

SimengZhan opened this issue Jan 3, 2024 · 1 comment
Labels
Type: Bug 🐛 Some functionality not working in the codebase as intended

Comments

@SimengZhan
Copy link

Description

I want to install TenSEAL on my MacBook Air M2 trying to use pip.
It reported

ERROR: Could not find a version that satisfies the requirement tenseal (from versions: none)

ERROR: No matching distribution found for tenseal

Then I tried to use the suggestions provided by the developer:

pip install git+https://github.com/OpenMined/TenSEAL.git#egg=tenseal

But it reported

note: This error originates from a subprocess, and is likely not a problem with pip.

  ERROR: Failed building wheel for tenseal

Failed to build tenseal

ERROR: Could not build wheels for tenseal, which is required to install pyproject.toml-based projects 

Also, I tried to install core library with "brew install cmake", and then input the following in my terminal:

git clone --recursive https://github.com/OpenMined/TenSEAL.git

cd TenSEAL/

git submodule init

git submodule update

pip install .

But it also reported note:

This error originates from a subprocess, and is likely not a problem with pip.

  ERROR: Failed building wheel for tenseal

Failed to build tenseal

ERROR: Could not build wheels for tenseal, which is required to install pyproject.toml-based projects

When I tried to install Tenseal with "pip install tenseal" on my lenovo book with Windows , it successed!

Expected Behavior

I don't know if there is any available version for MacOS with Apple M2 Silicon.

Screenshots

image
image
image

System Information

  • OS: macOS
  • OS Version: Ventura 13.4
  • Language Version: Python 3.12.0
  • Package Manager Version: pip 23.3.2, cmake 3.28.1
@SimengZhan SimengZhan added the Type: Bug 🐛 Some functionality not working in the codebase as intended label Jan 3, 2024
@rayhankinan
Copy link

Try to downgrade your python's version to 3.9. Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug 🐛 Some functionality not working in the codebase as intended
Projects
None yet
Development

No branches or pull requests

2 participants