Skip to content

Alpine环境导入失败 #23

Description

@lingfeng126

安装Gmssl和本python包后尝试导入报错

>>> import gmssl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.11/site-packages/gmssl.py", line 17, in <module>
raise ValueError('Install GmSSL dynamic library from https://github.com/guanzhi/GmSSL')
ValueError: Install GmSSL dynamic library from https://github.com/guanzhi/GmSSL

Activity

  1. lingfeng126 commented on Dec 27, 2024

    @lingfeng126
    Author

    find_library("gmssl") 找不到动态库, 怀疑是alpine环境不存在ld, ldconfig等命令导致. Python文档说明

  2. ferstar commented on Oct 18, 2025

    @ferstar

    @lingfeng126 我提了个 PR #26 完全解决依赖问题了,二进制包见:https://github.com/ferstar/GmSSL-Python/releases/tag/v2.2.2

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions