gpt4 book ai didi

Python3无法安装bcrypt

转载 作者:太空狗 更新时间:2023-10-30 02:44:01 25 4
gpt4 key购买 nike

当我尝试安装 bcrypt 时,使用 python3 -m pip install bcrypt

我明白了:

`命令/usr/bin/python3 -c "import setuptools, tokenize;file='/tmp/pip-build-vhc0qtab/bcrypt/setup.py';exec(compile(getattr (tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec '))"install --record/tmp/pip-v9cb4je7-record/install-record.txt --single-version-externally-managed --compile --user 在/tmp/pip-build- 中失败,错误代码为 1 vhc0qtab/bcrypt在/home/vkristof/.pip/pip.log 中存储失败的调试日志

调试日志:

http://pastebin.com/UEa3WEG3

最佳答案

其中一条错误消息指出缺少 libffi。在类似 debian 的系统上,您可以尝试 $ sudo apt-get install libffi6 libffi-dev

关于Python3无法安装bcrypt,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31233914/

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