Compiler avec python et cx freeze

De Analyse Développement Hacking
Sauter à la navigation Sauter à la recherche

Glider.png

Le wiki : Accueil - Administrateur - Bureautique - Développeur - Intégrateur - Marketing - Multimédia - Objets numériques - Jeux - We make Hack

Le site : Accueil - Annuaire - Blog - Forum - Outils - Utilisateur
Le FTP : Consulter les fichiers partagés sur le FTP
Le Redmine : Consulter le Redmine

Compiler avec Python et cx freeze

Trouver le logiciel cx-freeze : https://community.linuxmint.com/software/view/cx-freeze

L'installation sous Linux Mint n'a pas aboutie : https://linuxtrack.net/viewtopic.php?pid=12285

Notes

cx-freeze
installer pour debian et mint.
python-pip python-pip-whl

Installer cx_Freeze avec pip

pip install cx_Freeze Collecting cx_Freeze

 Using cached cx_Freeze-5.0.1.tar.gz

Installing collected packages: cx-Freeze

 Running setup.py install for cx-Freeze ... error
   Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-jlB33Y/cx-Freeze/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-fEFnCC-record/install-record.txt --single-version-externally-managed --compile:
   running install
   running build
   running build_py
   creating build
   creating build/lib.linux-x86_64-2.7
   creating build/lib.linux-x86_64-2.7/cx_Freeze
   copying cx_Freeze/setupwriter.py -> build/lib.linux-x86_64-2.7/cx_Freeze
   copying cx_Freeze/__init__.py -> build/lib.linux-x86_64-2.7/cx_Freeze
   copying cx_Freeze/freezer.py -> build/lib.linux-x86_64-2.7/cx_Freeze
   copying cx_Freeze/windist.py -> build/lib.linux-x86_64-2.7/cx_Freeze
   copying cx_Freeze/common.py -> build/lib.linux-x86_64-2.7/cx_Freeze
   copying cx_Freeze/finder.py -> build/lib.linux-x86_64-2.7/cx_Freeze
   copying cx_Freeze/macdist.py -> build/lib.linux-x86_64-2.7/cx_Freeze
   copying cx_Freeze/main.py -> build/lib.linux-x86_64-2.7/cx_Freeze
   copying cx_Freeze/dist.py -> build/lib.linux-x86_64-2.7/cx_Freeze
   copying cx_Freeze/hooks.py -> build/lib.linux-x86_64-2.7/cx_Freeze
   creating build/lib.linux-x86_64-2.7/cx_Freeze/initscripts
   copying cx_Freeze/initscripts/Console.py -> build/lib.linux-x86_64-2.7/cx_Freeze/initscripts
   copying cx_Freeze/initscripts/__startup__.py -> build/lib.linux-x86_64-2.7/cx_Freeze/initscripts
   copying cx_Freeze/initscripts/ConsoleSetLibPath.py -> build/lib.linux-x86_64-2.7/cx_Freeze/initscripts
   copying cx_Freeze/initscripts/SharedLibSource.py -> build/lib.linux-x86_64-2.7/cx_Freeze/initscripts
   copying cx_Freeze/initscripts/SharedLib.py -> build/lib.linux-x86_64-2.7/cx_Freeze/initscripts
   creating build/lib.linux-x86_64-2.7/cx_Freeze/samples
   creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/matplotlib
   copying cx_Freeze/samples/matplotlib/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/matplotlib
   copying cx_Freeze/samples/matplotlib/matplotlib_eg.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/matplotlib
   creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/advanced
   copying cx_Freeze/samples/advanced/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/advanced
   copying cx_Freeze/samples/advanced/advanced_2.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/advanced
   copying cx_Freeze/samples/advanced/advanced_1.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/advanced
   creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/asmodule
   copying cx_Freeze/samples/asmodule/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/asmodule
   copying cx_Freeze/samples/asmodule/asmodule.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/asmodule
   creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/Tkinter
   copying cx_Freeze/samples/Tkinter/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/Tkinter
   copying cx_Freeze/samples/Tkinter/SimpleTkApp.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/Tkinter
   creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/PyQt4
   copying cx_Freeze/samples/PyQt4/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/PyQt4
   copying cx_Freeze/samples/PyQt4/PyQt4app.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/PyQt4
   creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/simple
   copying cx_Freeze/samples/simple/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/simple
   copying cx_Freeze/samples/simple/hello.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/simple
   creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/zope
   copying cx_Freeze/samples/zope/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/zope
   copying cx_Freeze/samples/zope/qotd.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/zope
   creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/openpyxl
   copying cx_Freeze/samples/openpyxl/test_openpyxl.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/openpyxl
   copying cx_Freeze/samples/openpyxl/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/openpyxl
   creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/relimport
   copying cx_Freeze/samples/relimport/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/relimport
   copying cx_Freeze/samples/relimport/relimport.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/relimport
   creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/wx
   copying cx_Freeze/samples/wx/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/wx
   copying cx_Freeze/samples/wx/wxapp.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/wx
   creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/service
   copying cx_Freeze/samples/service/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/service
   copying cx_Freeze/samples/service/Config.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/service
   copying cx_Freeze/samples/service/ServiceHandler.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/service
   running build_ext
   building 'cx_Freeze.util' extension
   creating build/temp.linux-x86_64-2.7
   creating build/temp.linux-x86_64-2.7/source
   x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c source/util.c -o build/temp.linux-x86_64-2.7/source/util.o
   source/util.c:6:20: fatal error: Python.h: Aucun fichier ou dossier de ce type
   compilation terminated.
   error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

NAVIGATION

PARTICIPER ET PARTAGER

Bienvenue sur le wiki de Vision du Web.
De nombreuses pages sont partagées sur ce wiki.
Créer un compte utilisateur pour participer sur le wiki.
Les pages présentées sur le wiki évoluent tous les jours.
Certaines recherches sont peu abouties et incluent des erreurs.
Utiliser la recherche interne du wiki pour trouver votre contenu.
La page de discussion de VisionDuWeb vous permet de poser une question.
Utiliser la recherche interne du site pour chercher dans tout le contenu.
Ce contenu ne doit pas servir à nuire à autrui ou à un système informatique.
Protéger votre système Linux ou Windows en lisant la page dédié à la sécurité.
Améliorer le contenu des pages avec vos propositions depuis l'onglet discussion.

SOUTENIR CE WIKI

Soutenir le wiki avec un don en monnaie numérique :
AEON - Bitcoins - Bitcoins Cash - Bitcoins Gold - Bitcore - Blackcoins - Basic Attention Token - Bytecoins - Clams - Dash - Monero - Dogecoins - Ğ1 - Ethereum - Ethereum Classique - Litecoins - Potcoins - Solarcoins - Zcash

OBTENIR DE LA MONNAIE NUMERIQUE

Obtenir gratuitement de la monnaie numérique :
Gagner des Altcoins - Miner des Altcoins.