-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows下如何安装? #4
Comments
在Windows下可以使用pip安装最新2.2.2版本 在Python环境下检查系统中是否能够找到GmSSL动态库 >>> from ctypes.util import *
>>> lib = find_library('gmssl')
>>> lib
'C:\\Program Files\\GmSSL\\bin\\gmssl.dll'
>>> |
遇到相同的问题,安装于C或D盘也不行,测试了python3.8,3.12问题一样。 |
安装GmSSL-3.1.1-win64安装包,在其目录bin下仅有gmssl.dll一个动态链接库文件,使用gmssl-pytrhon,导入gmssl时,报错:FileNotFoundError: Could not find module…… 安装路径/gmssl.dll。一直以为是gmssl.dll或者python调用dll机制出了问题,后查询python的ctypes文档,才意识到是gmssl.dll依赖的其他dll文件确实导致。后使用第三方基于GmSSL-3.1.1编译的windows动态链接库(其目录下包含gmssl.dll、sdf_dummy.dll、skf_dummy.dll)才解决问题。建议修复该问题,若是GmSSL-3.1.1-win64安装包不支持直接使用,建议显著说明。 |
已经安装gmssl,cmd可使用,但写代码时仍提示找不到动态库
The text was updated successfully, but these errors were encountered: