Установка py-bcrypt на 64-битный Python Win 7 ⇐ Python

Программы на Python
Anonymous
Установка py-bcrypt на 64-битный Python Win 7

Сообщение Anonymous »

Пытаюсь установить py-bcrypt на Win7. Питон 64-битный. Первая ошибка: невозможно найти vcvarsall.bat. Немного погуглив, узнал, что мне нужно установить mingw. установил сейчас вот это

Код: Выделить всё

C:\tools\python_modules\py-bcrypt-0.2>python setup.py build -c mingw32
running build
running build_py
running build_ext
building 'bcrypt._bcrypt' extension
C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -Ic:\Python27\include -Ic:\Python27\PC -c bcrypt/bcrypt_python.c -o b
d\temp.win-amd64-2.7\Release\bcrypt\bcrypt_python.o
bcrypt/bcrypt_python.c:29:26: error: expected declaration specifiers or '...' before 'u_int8_t'
bcrypt/bcrypt_python.c:29:38: error: expected declaration specifiers or '...' before 'u_int16_t'
bcrypt/bcrypt_python.c:29:49: error: expected declaration specifiers or '...' before 'u_int8_t'
bcrypt/bcrypt_python.c: In function 'bcrypt_encode_salt':
bcrypt/bcrypt_python.c:56:2: error: too many arguments to function 'encode_salt'
bcrypt/bcrypt_python.c:29:6: note: declared here
error: command 'gcc' failed with exit status 1
не знаю, что делать дальше. думаю, я просто не буду использовать bcrypt и попробую что-нибудь еще. Есть еще предложения?

Подробнее здесь: https://stackoverflow.com/questions/709 ... bit-python

Вернуться в «Python»