1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Python] py-bcrypt installing on win 7 64bit python

Discussão em 'Python' iniciado por Stack, Outubro 6, 2024 às 00:12.

  1. Stack

    Stack Membro Participativo

    Trying to install py-bcrypt on win7. Python is 64bit. First error unable to find vcvarsall.bat. Googled a bit learned that i needed to install mingw. installed it now this

    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


    no idea what to do next. guess i'll just not use bcrypt and try something else. Any other suggestions?

    Continue reading...

Compartilhe esta Página