I
I
Irina Pakhomova2015-08-03 21:03:24
Flask
Irina Pakhomova, 2015-08-03 21:03:24

How to install flask-bcrypt on Windows?

I can't install flask-bcrypt at all. There is Windows 7 and Python 2.7.
Upon installation, I get the following:

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 https://pypi.python.org/simple/python-bcrypt/
Best match: python-bcrypt 0.3.1
Downloading https://pypi.python.org/packages/source/p/python-b...
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


Tried looking for solutions. I came across the advice to install py-bcrypt, that after that everything should go like clockwork. Through pip and easy_install, this failed for me for about the same reason as flask-bcrypt. Manually installed via whl file py-bcrypt-04.
The installation problem remains.

What I need, in general, is it possible to do somehow? :)

Upd. Could this be because I happen to have many versions of VS installed, from 2005 to 2015? I don’t know where they came from, and why there are a lot of them, I’m not strong in this.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question