Ciao Paolo, > Non conoscevo la guida che hai indicato per installare Python 3.6 su > Debian Stretch. > > Alla fine ha funzionato tutto nel tuo caso ? Nel caso aggiornerei la mia > guida.
si, fermandosi all'output che usi come test. Non ho potuto verificare poi l'applicazione reale (django) perché uso una wheel di psycopg2 che mi sta dando problemi (ma indipendenti da uwsgi, li dà anche da console) > Potresti confermarmi che hai seguito questi passaggi ? > > $ sudo apt-get install python3.6 python3.6-dev \ > > uwsgi uwsgi-src uuid-dev libcap-dev libpcre3-dev > $ cd ~ > $ export PYTHON=python3.6 > $ uwsgi --build-plugin "/usr/src/uwsgi/plugins/python python36" > $ sudo mv python36_plugin.so /usr/lib/uwsgi/plugins/python36_plugin.so > $ sudo chmod 644 /usr/lib/uwsgi/plugins/python36_plugin.so > > E se tutto funziona potresti incollarmi il risultato del comando Confermo tutto, ecco l'output: root@thux-suite:~# uwsgi --plugin python36 -s :0 *** Starting uWSGI 2.0.14-debian (64bit) on [Thu Feb 22 08:12:54 2018] *** compiled with version: 6.2.1 20161124 on 07 December 2016 16:14:59 os: Linux-4.9.0-5-amd64 #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04) nodename: thux-suite machine: x86_64 clock source: unix pcre jit disabled detected number of CPU cores: 2 current working directory: /root detected binary path: /usr/bin/uwsgi-core uWSGI running as root, you can use --uid/--gid/--chroot options *** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** *** WARNING: you are running uWSGI without its master process manager *** your processes number limit is 23773 your memory page size is 4096 bytes detected max file descriptor number: 1024 lock engine: pthread robust mutexes thunder lock: disabled (you can enable it with --thunder-lock) uwsgi socket 0 bound to TCP address :38685 (port auto-assigned) fd 3 Python version: 3.6.3 (default, Nov 24 2017, 00:15:12) [GCC 6.3.0 20170516] *** Python threads support is disabled. You can enable it with --enable-threads *** Python main interpreter initialized at 0x557217132ad0 your server socket listen backlog is limited to 100 connections your mercy for graceful operations on workers is 60 seconds mapped 72768 bytes (71 KB) for 1 cores *** Operational MODE: single process *** *** no app loaded. going in full dynamic mode *** *** uWSGI is running in multiple interpreter mode *** spawned uWSGI worker 1 (and the only) (pid: 6279, cores: 1) Grazie a te per la guida! -- Sandro Dentella *:-) http://trepalchi.it Il portale degli artisti http://www.reteisi.org Soluzioni libere per le scuole http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy _______________________________________________ Python mailing list Python@lists.python.it https://lists.python.it/mailman/listinfo/python