尝试安装flask-bcrypt时无法打开包含文件:'io.h'

时间:2015-08-03 18:21:23

标签: python python-2.7 flask

当我尝试安装flask-bcrypt时出现以下错误。我使用的是Windows和Python 2.7。如何修复此错误并将其安装?

Searching for flask-bcrypt
Best match: flask-bcrypt 0.6.2
Processing flask_bcrypt-0.6.2-py2.7.egg
flask-bcrypt 0.6.2 is already the active version in easy-install.pth

Using c:\python_examples\realpython\flasktaskr\env\lib\site-packages\flask_bcrypt-0.6.2-py2.7.egg
Processing dependencies for flask-bcrypt Searching for python-bcrypt
Reading ...
Best match: python-bcrypt 0.3.1
Downloading ...
Processing python-bcrypt-0.3.1.zip
Writing c:\users\2c46f~1.0\appdata\local\temp\easy_install-30gixg\python-bcrypt-0.3.1\setup.cfg
Running python-bcrypt-0.3.1\setup.py -q bdist_egg --dist-dir c:\users\2c46f~1.0\appdata\local\temp\easy_install-30gixg\python-bcrypt-0.3.1\egg-dist-tmp-v8alpt
bcrypt_python.c c:\python27\include\pyconfig.h(68) : fatal error
C1083: Cannot open include file: 'io.h': No such file or directory.

我访问了this page 并手动安装py-bcrypt,但它没有帮助我。

0 个答案:

没有答案
相关问题