Got it working nicely with Autocompletion and everything. Here’s how to do it:
- Install OpenFHE trough the IDE package manager
- Copy your built openfhe .so file () to the openfhe folder inside the .venv folder
- Rename said file to openfhe.so (mine was openfhe.cpython-311-x86_64-linux-gnu.so), delete the installed by ide first
- Create a custom configuration for your run file on the IDE with this env variable (LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/openfhe/library/),
It should look something like this:
- That’s it It should work.

