到目前为止,我一直在尝试安装flask-bcrypt,但每次尝试时都会遇到“运行setup.py install for bcrypt'
它正确启动,我支持如下。
Requirement already satisfied (use --upgrade to upgrade): flask-bcrypt in /Library/Python/2.7/site-packages/Flask_Bcrypt-0.7.1-py2.7.egg
Requirement already satisfied (use --upgrade to upgrade): Flask in /Library/Python/2.7/site-packages (from flask-bcrypt)
Collecting bcrypt (from flask-bcrypt)
Downloading bcrypt-2.0.0.tar.gz
Requirement already satisfied (use --upgrade to upgrade): Werkzeug>=0.7 in /Library/Python/2.7/site-packages (from Flask->flask-bcrypt)
Requirement already satisfied (use --upgrade to upgrade): Jinja2>=2.4 in /Library/Python/2.7/site-packages (from Flask->flask-bcrypt)
Requirement already satisfied (use --upgrade to upgrade): itsdangerous>=0.21 in /Library/Python/2.7/site-packages (from Flask->flask-bcrypt)
Requirement already satisfied (use --upgrade to upgrade): cffi>=1.1 in /Library/Python/2.7/site-packages (from bcrypt->flask-bcrypt)
Requirement already satisfied (use --upgrade to upgrade): six>=1.4.1 in /Library/Python/2.7/site-packages (from bcrypt->flask-bcrypt)
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe in /Library/Python/2.7/site-packages (from Jinja2>=2.4->Flask->flask-bcrypt)
Requirement already satisfied (use --upgrade to upgrade): pycparser in /Library/Python/2.7/site-packages (from cffi>=1.1->bcrypt->flask-bcrypt)
Installing collected packages: bcrypt
Running setup.py install for bcrypt
- >从这里它还没有完成。 我已经安装了烧瓶扩展,例如login,bootstrap,wtf。所有这些都是成功的,但是bcrypt。我使用了pip来安装和试用easy_isntall,没有任何效果。
我不确定我在这里缺少什么。我将不胜感激任何帮助。谢谢!
EDIT) 谢谢乔的建议。但它似乎又被卡在了下面。
Running command /usr/bin/python -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-_9RHUo/bcrypt/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-oEbDb0-record/install-record.txt --single-version-externally-managed --compile
你能解释一下-v的作用吗?