小工具知识网

当前位置: 首页 > 行业知识 > cryptography构建报错(Could not build wheels for cryptography)

行业知识

cryptography构建报错(Could not build wheels for cryptography)

2026-11-15 03:32:43 来源:互联网转载

1、问题描述:

一个���常开发的python项目,在今天打包镜像的时候突然报错,报错内容如下:

Failed to build cryptographyERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects

2、排查过程:

使用“Could not build wheels for cryptography, which is required to install pyproject.toml-based projects”去网络上搜集解决方法,都没有解决。接着,尝试重新初始化项目环境后重新打包镜像,还是报一样的错误。

很是迷惑...因为项目配置的几个依赖包版本号近期都没有变动过,怎么在今天突然报错了...

接着,想从报错日志中捞取更多的报错信息,使用“error”搜日志中初始报错的位置,发现报错如下:

上一篇:花雨庭服务器怎么进?

下一篇:联通备用dns怎么填服务器?