Openfhe-python Dockerfile missing file setup.py

Hi all,

I’m trying to download the Python wrapper for OpenFHE through Docker.

However, I keep having the error:

[8/9] RUN python3 setup.py sdist bdist_wheel && pip install dist/openfhe-*.whl:
0.288 python3: can’t open file ‘/openfhe-python/setup.py’: [Errno 2] No such file or directory


Dockerfile:49

47 | # Install openfhe as a pip package
48 | WORKDIR /openfhe-python
49 | >>> RUN python3 setup.py sdist bdist_wheel && pip install dist/openfhe-*.whl
50 |
51 | # Expose the port JupyterLab will listen on

ERROR: failed to build: failed to solve: process “/bin/sh -c python3 setup.py sdist bdist_wheel && pip install dist/openfhe-*.whl” did not complete successfully: exit code: 2

I also can’t see the openfhe-python/setup.py in the latest version.

Can anybody help me with this? Thanks!

@SWC The openfhe-python repo doesn’t need setup.py anymore as packaging is handled separately. You can install the python wrapper directly with “pip install openfhe” (you can find all available releases here). This is the recommended way.
Could you try that and let us know if it works?
PS: I will remove all obsolete or/and unused files from the repo