文章内容
2023/5/25 11:30:51,作 者: 黄兵
ERROR: Failed building wheel for pycrypto
在使用 pip 安装 pycrypto 的时候:
pip install pycrypto
出现了如下错误:
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pycrypto
Running setup.py clean for pycrypto
Failed to build pycrypto
ERROR: Could not build wheels for pycrypto, which is required to install pyproject.toml-based projects
截图如下:
出现问题的原因:
具体原因未查明。
解决方案:
使用 pycrypto 的替代品:pycryptodome,我们执行如下命令:
pip uninstall pycrypto pip install pycryptodome
最后问题解决。
参考资料:
1、Failed installing pycrypto with pip
其它相关推荐:
黄兵个人博客原创。
评论列表