Closed santiavenda2 closed 2 years ago
Same problem here with pip 10.0.1.
Actually you can install it by downloading source and python setup.py install
.
Getting this error while trying to install it by downloading source
src/pyconcrete_ext/openaes/src/oaes_lib.c:475:3: note: include the header
<stdio.h> or explicitly provide a declaration for 'sprintf'
src/pyconcrete_ext/openaes/src/oaes_lib.c:515:43: warning: implicit declaration
of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
(uint32_t) ( _test + timer.millitm ) + getpid();
^
src/pyconcrete_ext/openaes/src/oaes_lib.c:515:43: warning: this function
declaration is not a prototype [-Wstrict-prototypes]
src/pyconcrete_ext/openaes/src/oaes_lib.c:784:15: warning: comparison of
integers of different signs: 'size_t' (aka 'unsigned long') and 'int'
[-Wsign-compare]
if( data_len != _key_length + OAES_BLOCK_SIZE )
~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyconcrete_ext/openaes/src/oaes_lib.c:30:19: warning: unused variable '_NR'
[-Wunused-const-variable]
static const char _NR[] = {
^
src/pyconcrete_ext/openaes/src/oaes_lib.c:291:17: warning: unused function
'oaes_word_rot_right' [-Wunused-function]
static OAES_RET oaes_word_rot_right( uint8_t word[OAES_COL_LEN] )
^
135 warnings generated.
gcc -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/src/pyconcrete_exe/pyconcrete_exe.o build/temp.macosx-10.7-x86_64-3.6/src/pyconcrete_ext/pyconcrete.o build/temp.macosx-10.7-x86_64-3.6/src/pyconcrete_ext/openaes/src/oaes_base64.o build/temp.macosx-10.7-x86_64-3.6/src/pyconcrete_ext/openaes/src/oaes_lib.o -lpython3.6m -o build/scripts-3.6/pyconcrete
ld: library not found for -lpython3.6m
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'gcc' failed with exit status 1
Command :
python3 setup.py install
Getting this error while trying to install it by downloading source
src/pyconcrete_ext/openaes/src/oaes_lib.c:475:3: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf' src/pyconcrete_ext/openaes/src/oaes_lib.c:515:43: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] (uint32_t) ( _test + timer.millitm ) + getpid(); ^ src/pyconcrete_ext/openaes/src/oaes_lib.c:515:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] src/pyconcrete_ext/openaes/src/oaes_lib.c:784:15: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] if( data_len != _key_length + OAES_BLOCK_SIZE ) ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyconcrete_ext/openaes/src/oaes_lib.c:30:19: warning: unused variable '_NR' [-Wunused-const-variable] static const char _NR[] = { ^ src/pyconcrete_ext/openaes/src/oaes_lib.c:291:17: warning: unused function 'oaes_word_rot_right' [-Wunused-function] static OAES_RET oaes_word_rot_right( uint8_t word[OAES_COL_LEN] ) ^ 135 warnings generated. gcc -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/src/pyconcrete_exe/pyconcrete_exe.o build/temp.macosx-10.7-x86_64-3.6/src/pyconcrete_ext/pyconcrete.o build/temp.macosx-10.7-x86_64-3.6/src/pyconcrete_ext/openaes/src/oaes_base64.o build/temp.macosx-10.7-x86_64-3.6/src/pyconcrete_ext/openaes/src/oaes_lib.o -lpython3.6m -o build/scripts-3.6/pyconcrete ld: library not found for -lpython3.6m clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command 'gcc' failed with exit status 1
Command :
python3 setup.py install
Getting same error. Did you ever succeed installing?
I try next command
# passphrase=my_passphrase111
# yes $passphrase |pip install pyconcrete
Collecting pyconcrete
Installing collected packages: pyconcrete
Successfully installed pyconcrete-0.12.1
write to Dockerfile
RUN sh -c "yes my_passphrase111 |pip install pyconcrete"
when you install pyconcrete using pip==9.0.3:
$ pip install pyconcrete --egg --install-option="--passphrase=<your passphrase>"
this warning is showed on the console
I can't install pyconcrete using pip-10.0.0b2. I get this error: