OpenMined / TenSEAL

A library for doing homomorphic encryption operations on tensors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to install TenSEAL on MacOS

abbydong0417 opened this issue · comments

Description

I want to install TenSEAL on my MacBook Pro 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"

Expected Behavior

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

Screenshots

Screenshot 2023-02-17 at 13 43 44

System Information

  • OS: MacOS
  • OS Version: 12.6
  • Language Version: Python 3.9
  • Package Manager Version: Conda 23.1.0 Pip 22.3.1
  • Browser (if applicable): Not applicable
  • Browser Version (if applicable): Not applicable
commented

I found a solution for the installation :

  1. Clone the git directory : git clone --recursive https://github.com/OpenMined/TenSEAL.git
  2. Go to TenSeal directory with : cd ./TenSeal
  3. Install the TenSeal librairy : pip install .

The installation doesn’t work for me beacause I didn't have cmake. You can verify this with : cmake –-version

if you don't have it : brew install cmake
Then you can try again to install the librairy: pip install .

good luck ;)