Open WCY-dt opened 4 weeks ago
I choose another way to solve this problem.
Change PYTHON_HOME/Lib/site-packages/opendp/_lib.py line 29 to lib_dir_file_names = [p for p in lib_dir.iterdir() if p.suffix in {".so", ".dylib", ".dll", ".pyd"}]
.
Because there may be a bug in this version of OpenDP
.
I can find .so, .dylib, .dll
in PYTHON_HOME\Lib\site-packages\opendp\lib, just find a .pyd
.
I choose another way to solve this problem. Change PYTHON_HOME/Lib/site-packages/opendp/_lib.py line 29 to
lib_dir_file_names = [p for p in lib_dir.iterdir() if p.suffix in {".so", ".dylib", ".dll", ".pyd"}]
. Because there may be a bug in this version ofOpenDP
. I can find.so, .dylib, .dll
in PYTHON_HOME\Lib\site-packages\opendp\lib, just find a.pyd
.
True, it is fixed in OpenDP in https://github.com/opendp/opendp/commit/bfd21b3d18b883ab460efaa96e6e2765e197862a#diff-6c98c6ce51d86ccd80c9828da357ba071c052b0f58580d1526c20b2859dd610bR29
fix #608