GmSSL / GmSSL-Python

Python binding to the GmSSL library
https://gmssl.github.io/GmSSL-Python/
Apache License 2.0
57 stars 10 forks source link

windows下如何安装? #4

Open sqs404 opened 9 months ago

sqs404 commented 9 months ago

已经安装gmssl,cmd可使用,但写代码时仍提示找不到动态库

guanzhi commented 9 months ago

在Windows下可以使用pip安装最新2.2.2版本 py -m pip install gmssl-python

在Python环境下检查系统中是否能够找到GmSSL动态库

>>> from ctypes.util import *
>>> lib = find_library('gmssl')
>>> lib
'C:\\Program Files\\GmSSL\\bin\\gmssl.dll'
>>>
Tthvic commented 2 months ago

a266e50af37d7e60d9583aea47b647d1 d234d7d0d91bb2caa8fc808f832fd429 可以找到动态库但是依然报错该怎么解决?