OpenMined / TenSEAL

A library for doing homomorphic encryption operations on tensors
Apache License 2.0
811 stars 156 forks source link

I can´t install Tenseal #492

Closed mariasun-pr closed 13 hours ago

mariasun-pr commented 1 day ago

Description

I'm trying to install the library in python 3.11.9, but I can't because I get a wheel error (attached error): :41: DeprecationWarning: distutils The version classes are deprecated. Use packaging.version instead. CMake Error in CMakeLists.txt:3 (project): Generator

      NMake Makefiles

    does not support the platform specification, but platform

      x64

    platform was specified.

  CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
  CMake error: CMAKE_CXX_COMPILER not set, after EnableLanguage
  -- Incomplete configuration, errors occurred!

[...]

ERROR: Error compiling the wheel for tenseal Error building tenseal ERROR: ERROR: Failed to build installable wheels for some projects based on pyproject.toml (tenseal)

How to Reproduce

pip install git+https://github.com/OpenMined/TenSEAL.git

Expected Behavior

The installation of the library

Screenshots

If applicable, add screenshots to help explain your problem.

System Information

youben11 commented 1 day ago

Well you don't have the compiler setup apparently. But why aren't you installing it from PyPI?

mariasun-pr commented 13 hours ago

Because I tried to and I have another error: ERROR: Could not find a version that satisfies the requirement tenseal (from versions: none) ERROR: No matching distribution found for tenseal

El lun., 30 sept. 2024 14:34, Ayoub Benaissa @.***> escribió:

Well you don't have the compiler setup apparently. But why aren't you installing it from PyPI?

— Reply to this email directly, view it on GitHub https://github.com/OpenMined/TenSEAL/issues/492#issuecomment-2383063655, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5V5QKSMJQFZQSS2WL6C3WTZZFANNAVCNFSM6AAAAABPDCWMKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBTGA3DGNRVGU . You are receiving this because you authored the thread.Message ID: @.***>

philomath213 commented 13 hours ago

Because I tried to and I have another error: ERROR: Could not find a version that satisfies the requirement tenseal (from versions: none) ERROR: No matching distribution found for tenseal

El lun., 30 sept. 2024 14:34, Ayoub Benaissa @.***> escribió:

Well you don't have the compiler setup apparently. But why aren't you installing it from PyPI?

— Reply to this email directly, view it on GitHub https://github.com/OpenMined/TenSEAL/issues/492#issuecomment-2383063655, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5V5QKSMJQFZQSS2WL6C3WTZZFANNAVCNFSM6AAAAABPDCWMKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBTGA3DGNRVGU . You are receiving this because you authored the thread.Message ID: @.***>

Can you please try again. A new release for Windows was published a few minutes ago that supports Python 3.11 and 3.12

mariasun-pr commented 13 hours ago

It worked out. Thank you very much :)