1
Base / Re:python3.8 errore di compilazione
« il: Novembre 24, 2020, 16:44 »
E' quello che pensavo di fare se non trovo la soluzione. Su apt c'è python 3.7 e a dicembre home assistant abbandona il 3.7.
Grazie
Grazie
canale Telegram di forumpython.it: https://forumpython.it/avvisi-dallo-staff/canale-telegram-di-forumpython-it/
Questa sezione ti permette di visualizzare tutti i post inviati da questo utente. N.B: puoi vedere solo i post relativi alle aree dove hai l'accesso.
openssl version
OpenSSL 1.0.2o 27 Mar 2018
Could not build the ssl module!
Python requires an OpenSSL 1.0.2 or 1.1 compatible libssl with X509_VERIFY_PARAM_set1_host().
LibreSSL 2.6.4 and earlier do not provide the necessary APIs, https://github.com/libressl-portable/portable/issues/381
running build_scripts
creating build/scripts-3.8
error: file '/usr/local/lib/python3.8/config-3.8-arm-linux-gnueabihf/Tools/scripts/pydoc3' does not exist
make[3]: *** [Makefile:614: sharedmods] Error 1
make[3]: uscita dalla directory "/home/nemo/Python-3.8.6"
make[2]: *** [Makefile:507: build_all_generate_profile] Error 2
make[2]: uscita dalla directory "/home/nemo/Python-3.8.6"
make[1]: *** [Makefile:483: profile-gen-stamp] Error 2
make[1]: uscita dalla directory "/home/nemo/Python-3.8.6"
make: *** [Makefile:495: profile-run-stamp] Error 2
./configure --with-openssl=/usr/src/openssl-1.0.2o --enable-optimizations
make -j 8
Error during connection setup: No module named '_sqlite3' (retrying in 3 seconds)
gcc -pthread -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fprofile-use -fprofile-correction -I./Include/internal -I./Include -I. -I/usr/include/arm-linux-gnueabihf -I/usr/local/include -I/home/nemo/include -I/usr/local/include/python3.8 -c mathmodule.c -o build/temp.linux-armv7l-3.8/mathmodule.o
gcc: error: arraymodule.c: File o directory non esistente
gcc: error: _contextvarsmodule.c: File o directory non esistente
gcc: fatal error: no input files
compilation terminated.
gcc: fatal error: no input files
compilation terminated.
gcc: error: _struct.c: File o directory non esistente
gcc: fatal error: no input files