开发者

Paramiko in Apache : DLL load failed

开发者 https://www.devze.com 2023-02-15 10:18 出处:网络
I have a Django app that uses Paramiko to communicate with other remote servers. Paramiko relies on module winrandom, but that won\'t 开发者_JAVA百科install on windows without gcc, so instead I use wi

I have a Django app that uses Paramiko to communicate with other remote servers. Paramiko relies on module winrandom, but that won't 开发者_JAVA百科install on windows without gcc, so instead I use winrandom-ctypes.

This all works fine from development, but when I deploy to Apache (also on Windows), it fails on import winrandom, with this error:

DLL load failed: The specified module could not be found.

So...how can I make this work under Apache?


I've got the same problem with pyCrypton 2.3. Switching back to 2.1 seems to fix it.

0

精彩评论

暂无评论...
验证码 换一张
取 消