# Installation of OpenFHE Python wrapper fails

**URL:** <https://openfhe.discourse.group/t/installation-of-openfhe-python-wrapper-fails/1611>\
**Category:** OpenFHE ports/wrappers\
**Created:** [September 30, 2024, 9:06pm UTC](https://openfhe.discourse.group/t/installation-of-openfhe-python-wrapper-fails/1611 "2024-09-30T21:06:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DenisRed](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/denisred/32/303_2.png) [@DenisRed](https://openfhe.discourse.group/u/DenisRed)\
**Post date:** [September 30, 2024, 9:06pm UTC](https://openfhe.discourse.group/t/installation-of-openfhe-python-wrapper-fails/1611/1 "2024-09-30T21:06:55Z")

</div>

Hello guys,

I’m trying to install the OpenFHE Python wrapper but `cmake ..` fails. I followed the instructions for Conda on [https://github.com/openfheorg/openfhe-python/tree/main](https://github.com/openfheorg/openfhe-python/tree/main), but it fails with the following error:

 ![Screenshot 2024-09-30 at 22.50.03](https://canada1.discourse-cdn.com/flex031/uploads/openfhe/original/1X/126f39f512c873f39cdd6dacff77dfd7594c47e2.jpeg)

- Python 3.9 installed
- OpenFHE 1.2.0 installed
- pybind11 installed

My steps were:

1. I cloned the Github repo openfhe-python
2. I opened a terminal in the repo folder and created a build directory
3. I moved into the build directory and fired `cmake ..`

I tried a few things like adding the path to the python executable manually by using using the option DPYTHON\_EXCUTABLE or something like that … which did not work. I have absolutely no clue what i can do more. Thanks in advance for your help

---

<div class="post-metadata">

**Author:** ![dsuponitskiy-duality](https://avatars.discourse-cdn.com/v4/letter/d/c68b51/32.png) [@dsuponitskiy-duality](https://openfhe.discourse.group/u/dsuponitskiy-duality)\
**Post date:** [October 3, 2024, 9:13pm UTC](https://openfhe.discourse.group/t/installation-of-openfhe-python-wrapper-fails/1611/2 "2024-10-03T21:13:44Z")

</div>

@DenisRed There seems to be a problem with your Anaconda environment, specifically the deprecation warning. I recently installed Conda following the instructions and was able to link the library without any issues.
