Skip to content

fix python3.10.8 branch “ModuleNotFoundError: No module named '_ssl'” bug#6

Merged
Boris-code merged 1 commit intoBoris-code:python3.10.8from
YeBaoerIsSoCute:python3.10.8_fix_openssl
Apr 18, 2023
Merged

fix python3.10.8 branch “ModuleNotFoundError: No module named '_ssl'” bug#6
Boris-code merged 1 commit intoBoris-code:python3.10.8from
YeBaoerIsSoCute:python3.10.8_fix_openssl

Conversation

@YeBaoerIsSoCute
Copy link
Copy Markdown

Fix inability to compile openssl

背景:python3.10.8分支的feapder_dockerfile自定义镜像后,无法使用ssl

  • 经过调试发现发现

    • 错误一:python3.10.8的openssl最低版本是1.1.1,并需要指定--with-openssl-rpath=auto自动检测openssl运行时路径,以下是在编译时的两个报错:
      • could not build the ssl module. python require a openssl 1.1.1 or newer
      • costom linker flags may require --with-openssl-rpath=auto
        error1
        error2
    • 错误二:还需要安装openssl openssl-devel两个依赖
  • 解决这两个错误后,可以成功使用ssl
    success

@Boris-code Boris-code merged commit f3e8590 into Boris-code:python3.10.8 Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants