Skip to content

cryptography>=43.0.0 在 Docker Desktop (macOS ARM + QEMU 仿真) 下触发 SIGILL 的问题 #109

@mislayming

Description

@mislayming

Describe the bug

我是 M4 跑不起来,一直报错。
2026-05-17 23:06:10 [2026-05-17 23:06:10 +0800] [1] [WARNING] Worker (pid:1899) was sent SIGILL!

  • 根因:cryptography 48.x 的 Rust 编译扩展使用了 QEMU 不支持的 ARM 指令
  • 修复:锁定 cryptography==43.0.0

AI 帮我修的,现在跑起来了

Steps to reproduce

按照文档:git clone https://github.com/brokermr810/QuantDinger.git && cd QuantDinger && cp backend_api_python/env.example backend_api_python/.env && chmod +x scripts/generate-secret-key.sh && ./scripts/generate-secret-key.sh && docker compose pull && docker compose up -d

Expected behavior

No response

Deployment method

Docker Compose

Relevant logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions