gpt4 book ai didi

python-2.7 - MarkupSafe、SQLAlchemy 和 pycrypto 失败,因为 wheel 构建失败

转载 作者:行者123 更新时间:2023-12-04 00:51:33 26 4
gpt4 key购买 nike

使用最新版本的 python 2.7、setuptools、pip 和 wheel 运行 windows。尝试使用

安装依赖项
pip install -r requirements.txt

因为“一个或多个轮子未能构建”而失败。日志:

Building wheels for collected packages: MarkupSafe, SQLAlchemy, pycrypto
Running setup.py bdist_wheel for MarkupSafe: started
Running setup.py bdist_wheel for MarkupSafe: finished with status 'error'
.
.
.
Failed to build wheel for MarkupSafe

Running setup.py bdist_wheel for SQLAlchemy: started
Running setup.py bdist_wheel for SQLAlchemy: finished with status 'error'
.
.
.
Failed to build wheel for SQLAlchemy

Running setup.py bdist_wheel for pycrypto: started
Running setup.py bdist_wheel for pycrypto: finished with status 'error'
.
.
.
Failed to build wheel for pycrypto

Failed to build MarkupSafe SQLAlchemy pycrypto

(删除了完整的输出,因为超过了字符限制,但都达到了某个点然后说找不到某些文件)

但是根据http://pythonwheels.com/这些包没有轮子,那么为什么 pip 试图为它们构建轮子?

最佳答案

尝试改用 python -m easy_install SQLAlchemy。

关于python-2.7 - MarkupSafe、SQLAlchemy 和 pycrypto 失败,因为 wheel 构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38208651/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com