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

Can't install TenSEAL on Windows #475

Open
martinsandor707 opened this issue Apr 6, 2024 · 0 comments
Open

Can't install TenSEAL on Windows #475

martinsandor707 opened this issue Apr 6, 2024 · 0 comments
Labels
Type: Bug 🐛 Some functionality not working in the codebase as intended

Comments

@martinsandor707
Copy link

Description

Can't install TenSEAL on Windows

How to Reproduce

  1. pip install tenseal

Expected Behavior

TenSEAL should be installed.

Screenshots

If applicable, add screenshots to help explain your problem.

System Information

  • OS: Windows
  • OS Version: 10
  • Language Version: Python 3.11.9
  • Package Manager Version: Pip 24.0

Additional Context

Regular pip install tenseal simply doesn't find a tenseal version on pypi. I tried installing from a cloned repository, but I got the following error message instead:
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

I have gcc, cmake and protocol buffers all installed and working fine. I tried to build TenSEAL manually, and cmake ran without problems, but but cmake --build errored out, throwing thousands of errors along the line of:

C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\atomic(106,9): error C2039: ' _invalid_parameter': is not a member of 'global namespace'' [C:\TenSEAL\build_tenseal_cpp.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\i
`

I am completely out of ideas as to how to solve this, but the problem is probably related to this previous issue.

@martinsandor707 martinsandor707 added the Type: Bug 🐛 Some functionality not working in the codebase as intended label Apr 6, 2024
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

1 participant