Closed nickolay closed 1 month ago
Hi, this Python library is actually written in Rust. Because the wheel is compiled with the latest stable rust toolchain, the issue you saw (https://github.com/rustdesk/rustdesk/discussions/7503) should be root cause of the missing dependency, I think. If you have rust toolchain installed locally, you may be able to get around this by running pip install
with --no-use-wheel
flag to ignore existing compiled wheel and build the library locally. Maybe @Julian has a better solution?
I'm not sure there's anything further we could do here, we build wheels I believe for all platforms GH Actions supports on Windows, but I'm certainly happy to merge a PR adding more if not -- or if you think there's something else we can do please let us know!
Otherwise appreciate you sharing the info in case it helps anyone else!
rpds_py==0.19.0 DLL load failed on Python 3.8.0 / Windows 2008R2
I thought I'd share what I learned with other users on ancient systems.
0.18.1 works fine, while 0.19 raises
ImportError: DLL load failed while importing rpds: The specified procedure could not be found.
when importing.The reason is missing
ProcessPrng
in C:\Windows\system32\bcryptprimitives.dllPer https://github.com/rustdesk/rustdesk/discussions/7503 it's a rust issue https://github.com/rust-lang/rust/pull/121337 ; they make people compile for Windows 7 / 2008 as a separate target, which I don't think is achievable for a python library.
dependencywalker notes:
while https://github.com/lucasg/Dependencies is more specific, pointing to C:\Windows\system32\bcryptprimitives.dll missing a ProcessPrng