Installation de cxfreeze
Fermé
Regex184
Messages postés
2
Date d'inscription
vendredi 3 août 2018
Statut
Membre
Dernière intervention
5 août 2018
-
Modifié le 3 août 2018 à 15:34
ElementW Messages postés 4816 Date d'inscription dimanche 12 juin 2011 Statut Contributeur Dernière intervention 5 octobre 2021 - 5 août 2018 à 15:17
ElementW Messages postés 4816 Date d'inscription dimanche 12 juin 2011 Statut Contributeur Dernière intervention 5 octobre 2021 - 5 août 2018 à 15:17
A voir également:
- Installation de cxfreeze
- Installation chromecast - Guide
- Installation windows 10 sans compte microsoft - Guide
- Installation clavier arabe - Télécharger - Divers Web & Internet
- Cle installation windows 10 - Guide
- Installation google earth - Télécharger - 3D
2 réponses
ElementW
Messages postés
4816
Date d'inscription
dimanche 12 juin 2011
Statut
Contributeur
Dernière intervention
5 octobre 2021
1 228
4 août 2018 à 16:53
4 août 2018 à 16:53
'lut,
cx_Freeze n'est plus maintenu sur SourceForge. Tu as la version 4.3.3 datant de mi-2014, la plus récente est la 5.0.2 de mai 2017. Son site se trouve ici.
Inutile de t'embêter avec une installation manuelle, cx_Freeze est présent sur PyPI, donc un coup de
cx_Freeze n'est plus maintenu sur SourceForge. Tu as la version 4.3.3 datant de mi-2014, la plus récente est la 5.0.2 de mai 2017. Son site se trouve ici.
Inutile de t'embêter avec une installation manuelle, cx_Freeze est présent sur PyPI, donc un coup de
python -m pip install cx_Freezedevrait suffire.
Regex184
Messages postés
2
Date d'inscription
vendredi 3 août 2018
Statut
Membre
Dernière intervention
5 août 2018
5 août 2018 à 11:49
5 août 2018 à 11:49
Merci cependant malheureusement j'ai une autre erreur qui survient lorsque j'exécute la commande que vous m'avez donnée.
Erreur :
python -m pip install cx_Freeze
Collecting cx_Freeze
Using cached https://files.pythonhosted.org/packages/5f/16/eab51d6571dfec2554248cb027c51babd04d97f594ab6359e0707361297d/cx_Freeze-5.1.1.tar.gz
Building wheels for collected packages: cx-Freeze
Running setup.py bdist_wheel for cx-Freeze ... error
Complete output from command /home/calbert/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-lwm83hmq/cx-Freeze/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-ibapjvd9 --python-tag cp36:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/dist.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/common.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/__init__.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/windist.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/hooks.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/macdist.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/finder.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/main.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/freezer.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/setupwriter.py -> build/lib.linux-x86_64-3.6/cx_Freeze
creating build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/SharedLibSource.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/Console.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/__startup__.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/SharedLib.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/ConsoleSetLibPath.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/Tkinter
copying cx_Freeze/samples/Tkinter/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/Tkinter
copying cx_Freeze/samples/Tkinter/SimpleTkApp.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/Tkinter
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/matplotlib
copying cx_Freeze/samples/matplotlib/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/matplotlib
copying cx_Freeze/samples/matplotlib/matplotlib_eg.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/matplotlib
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/relimport
copying cx_Freeze/samples/relimport/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/relimport
copying cx_Freeze/samples/relimport/relimport.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/relimport
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/asmodule
copying cx_Freeze/samples/asmodule/asmodule.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/asmodule
copying cx_Freeze/samples/asmodule/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/asmodule
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/simple
copying cx_Freeze/samples/simple/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/simple
copying cx_Freeze/samples/simple/hello.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/simple
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/wx
copying cx_Freeze/samples/wx/wxapp.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/wx
copying cx_Freeze/samples/wx/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/wx
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/advanced
copying cx_Freeze/samples/advanced/advanced_1.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/advanced
copying cx_Freeze/samples/advanced/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/advanced
copying cx_Freeze/samples/advanced/advanced_2.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/advanced
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/zope
copying cx_Freeze/samples/zope/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/zope
copying cx_Freeze/samples/zope/qotd.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/zope
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/openpyxl
copying cx_Freeze/samples/openpyxl/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/openpyxl
copying cx_Freeze/samples/openpyxl/test_openpyxl.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/openpyxl
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt5
copying cx_Freeze/samples/PyQt5/PyQt5app.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt5
copying cx_Freeze/samples/PyQt5/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt5
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt4
copying cx_Freeze/samples/PyQt4/PyQt4app.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt4
copying cx_Freeze/samples/PyQt4/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt4
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/service
copying cx_Freeze/samples/service/ServiceHandler.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/service
copying cx_Freeze/samples/service/Config.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/service
copying cx_Freeze/samples/service/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/service
running build_ext
building 'cx_Freeze.util' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/source
gcc -pthread -B /home/calbert/anaconda3/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/calbert/anaconda3/include/python3.6m -c source/util.c -o build/temp.linux-x86_64-3.6/source/util.o
gcc -pthread -shared -B /home/calbert/anaconda3/compiler_compat -L/home/calbert/anaconda3/lib -Wl,-rpath=/home/calbert/anaconda3/lib,--no-as-needed build/temp.linux-x86_64-3.6/source/util.o -L/home/calbert/anaconda3/lib -lpython3.6m -o build/lib.linux-x86_64-3.6/cx_Freeze/util.cpython-36m-x86_64-linux-gnu.so
creating build/temp.linux-x86_64-3.6/source/bases
gcc -pthread -B /home/calbert/anaconda3/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/calbert/anaconda3/include/python3.6m -c source/bases/Console.c -o build/temp.linux-x86_64-3.6/source/bases/Console.o
creating build/lib.linux-x86_64-3.6/cx_Freeze/bases
gcc -pthread -B /home/calbert/anaconda3/compiler_compat build/temp.linux-x86_64-3.6/source/bases/Console.o -L/home/calbert/anaconda3/lib/python3.6/config-3.6m-x86_64-linux-gnu -L/home/calbert/anaconda3/lib -lpython3.6m -lpython3.6m -o build/lib.linux-x86_64-3.6/cx_Freeze/bases/Console -Xlinker -export-dynamic -lpthread -ldl -lutil -lrt -lm -s
lto1: fatal error: bytecode stream generated with LTO version 6.0 instead of the expected 4.1
compilation terminated.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/home/calbert/anaconda3/compiler_compat/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
----------------------------------------
Failed building wheel for cx-Freeze
Running setup.py clean for cx-Freeze
Failed to build cx-Freeze
Installing collected packages: cx-Freeze
Running setup.py install for cx-Freeze ... error
Complete output from command /home/calbert/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-lwm83hmq/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-record-lv0_g8k1/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/dist.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/common.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/__init__.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/windist.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/hooks.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/macdist.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/finder.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/main.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/freezer.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/setupwriter.py -> build/lib.linux-x86_64-3.6/cx_Freeze
creating build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/SharedLibSource.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/Console.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/__startup__.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/SharedLib.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/ConsoleSetLibPath.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/Tkinter
copying cx_Freeze/samples/Tkinter/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/Tkinter
copying cx_Freeze/samples/Tkinter/SimpleTkApp.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/Tkinter
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/matplotlib
copying cx_Freeze/samples/matplotlib/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/matplotlib
copying cx_Freeze/samples/matplotlib/matplotlib_eg.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/matplotlib
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/relimport
copying cx_Freeze/samples/relimport/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/relimport
copying cx_Freeze/samples/relimport/relimport.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/relimport
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/asmodule
copying cx_Freeze/samples/asmodule/asmodule.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/asmodule
copying cx_Freeze/samples/asmodule/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/asmodule
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/simple
copying cx_Freeze/samples/simple/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/simple
copying cx_Freeze/samples/simple/hello.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/simple
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/wx
copying cx_Freeze/samples/wx/wxapp.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/wx
copying cx_Freeze/samples/wx/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/wx
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/advanced
copying cx_Freeze/samples/advanced/advanced_1.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/advanced
copying cx_Freeze/samples/advanced/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/advanced
copying cx_Freeze/samples/advanced/advanced_2.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/advanced
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/zope
copying cx_Freeze/samples/zope/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/zope
copying cx_Freeze/samples/zope/qotd.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/zope
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/openpyxl
copying cx_Freeze/samples/openpyxl/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/openpyxl
copying cx_Freeze/samples/openpyxl/test_openpyxl.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/openpyxl
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt5
copying cx_Freeze/samples/PyQt5/PyQt5app.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt5
copying cx_Freeze/samples/PyQt5/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt5
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt4
copying cx_Freeze/samples/PyQt4/PyQt4app.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt4
copying cx_Freeze/samples/PyQt4/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt4
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/service
copying cx_Freeze/samples/service/ServiceHandler.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/service
copying cx_Freeze/samples/service/Config.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/service
copying cx_Freeze/samples/service/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/service
running build_ext
building 'cx_Freeze.util' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/source
gcc -pthread -B /home/calbert/anaconda3/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/calbert/anaconda3/include/python3.6m -c source/util.c -o build/temp.linux-x86_64-3.6/source/util.o
gcc -pthread -shared -B /home/calbert/anaconda3/compiler_compat -L/home/calbert/anaconda3/lib -Wl,-rpath=/home/calbert/anaconda3/lib,--no-as-needed build/temp.linux-x86_64-3.6/source/util.o -L/home/calbert/anaconda3/lib -lpython3.6m -o build/lib.linux-x86_64-3.6/cx_Freeze/util.cpython-36m-x86_64-linux-gnu.so
creating build/temp.linux-x86_64-3.6/source/bases
gcc -pthread -B /home/calbert/anaconda3/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/calbert/anaconda3/include/python3.6m -c source/bases/Console.c -o build/temp.linux-x86_64-3.6/source/bases/Console.o
creating build/lib.linux-x86_64-3.6/cx_Freeze/bases
gcc -pthread -B /home/calbert/anaconda3/compiler_compat build/temp.linux-x86_64-3.6/source/bases/Console.o -L/home/calbert/anaconda3/lib/python3.6/config-3.6m-x86_64-linux-gnu -L/home/calbert/anaconda3/lib -lpython3.6m -lpython3.6m -o build/lib.linux-x86_64-3.6/cx_Freeze/bases/Console -Xlinker -export-dynamic -lpthread -ldl -lutil -lrt -lm -s
lto1: fatal error: bytecode stream generated with LTO version 6.0 instead of the expected 4.1
compilation terminated.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/home/calbert/anaconda3/compiler_compat/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/home/calbert/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-lwm83hmq/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-record-lv0_g8k1/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-lwm83hmq/cx-Freeze/
Erreur :
python -m pip install cx_Freeze
Collecting cx_Freeze
Using cached https://files.pythonhosted.org/packages/5f/16/eab51d6571dfec2554248cb027c51babd04d97f594ab6359e0707361297d/cx_Freeze-5.1.1.tar.gz
Building wheels for collected packages: cx-Freeze
Running setup.py bdist_wheel for cx-Freeze ... error
Complete output from command /home/calbert/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-lwm83hmq/cx-Freeze/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-ibapjvd9 --python-tag cp36:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/dist.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/common.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/__init__.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/windist.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/hooks.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/macdist.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/finder.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/main.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/freezer.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/setupwriter.py -> build/lib.linux-x86_64-3.6/cx_Freeze
creating build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/SharedLibSource.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/Console.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/__startup__.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/SharedLib.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/ConsoleSetLibPath.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/Tkinter
copying cx_Freeze/samples/Tkinter/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/Tkinter
copying cx_Freeze/samples/Tkinter/SimpleTkApp.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/Tkinter
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/matplotlib
copying cx_Freeze/samples/matplotlib/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/matplotlib
copying cx_Freeze/samples/matplotlib/matplotlib_eg.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/matplotlib
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/relimport
copying cx_Freeze/samples/relimport/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/relimport
copying cx_Freeze/samples/relimport/relimport.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/relimport
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/asmodule
copying cx_Freeze/samples/asmodule/asmodule.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/asmodule
copying cx_Freeze/samples/asmodule/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/asmodule
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/simple
copying cx_Freeze/samples/simple/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/simple
copying cx_Freeze/samples/simple/hello.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/simple
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/wx
copying cx_Freeze/samples/wx/wxapp.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/wx
copying cx_Freeze/samples/wx/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/wx
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/advanced
copying cx_Freeze/samples/advanced/advanced_1.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/advanced
copying cx_Freeze/samples/advanced/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/advanced
copying cx_Freeze/samples/advanced/advanced_2.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/advanced
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/zope
copying cx_Freeze/samples/zope/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/zope
copying cx_Freeze/samples/zope/qotd.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/zope
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/openpyxl
copying cx_Freeze/samples/openpyxl/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/openpyxl
copying cx_Freeze/samples/openpyxl/test_openpyxl.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/openpyxl
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt5
copying cx_Freeze/samples/PyQt5/PyQt5app.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt5
copying cx_Freeze/samples/PyQt5/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt5
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt4
copying cx_Freeze/samples/PyQt4/PyQt4app.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt4
copying cx_Freeze/samples/PyQt4/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt4
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/service
copying cx_Freeze/samples/service/ServiceHandler.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/service
copying cx_Freeze/samples/service/Config.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/service
copying cx_Freeze/samples/service/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/service
running build_ext
building 'cx_Freeze.util' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/source
gcc -pthread -B /home/calbert/anaconda3/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/calbert/anaconda3/include/python3.6m -c source/util.c -o build/temp.linux-x86_64-3.6/source/util.o
gcc -pthread -shared -B /home/calbert/anaconda3/compiler_compat -L/home/calbert/anaconda3/lib -Wl,-rpath=/home/calbert/anaconda3/lib,--no-as-needed build/temp.linux-x86_64-3.6/source/util.o -L/home/calbert/anaconda3/lib -lpython3.6m -o build/lib.linux-x86_64-3.6/cx_Freeze/util.cpython-36m-x86_64-linux-gnu.so
creating build/temp.linux-x86_64-3.6/source/bases
gcc -pthread -B /home/calbert/anaconda3/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/calbert/anaconda3/include/python3.6m -c source/bases/Console.c -o build/temp.linux-x86_64-3.6/source/bases/Console.o
creating build/lib.linux-x86_64-3.6/cx_Freeze/bases
gcc -pthread -B /home/calbert/anaconda3/compiler_compat build/temp.linux-x86_64-3.6/source/bases/Console.o -L/home/calbert/anaconda3/lib/python3.6/config-3.6m-x86_64-linux-gnu -L/home/calbert/anaconda3/lib -lpython3.6m -lpython3.6m -o build/lib.linux-x86_64-3.6/cx_Freeze/bases/Console -Xlinker -export-dynamic -lpthread -ldl -lutil -lrt -lm -s
lto1: fatal error: bytecode stream generated with LTO version 6.0 instead of the expected 4.1
compilation terminated.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/home/calbert/anaconda3/compiler_compat/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
----------------------------------------
Failed building wheel for cx-Freeze
Running setup.py clean for cx-Freeze
Failed to build cx-Freeze
Installing collected packages: cx-Freeze
Running setup.py install for cx-Freeze ... error
Complete output from command /home/calbert/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-lwm83hmq/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-record-lv0_g8k1/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/dist.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/common.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/__init__.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/windist.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/hooks.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/macdist.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/finder.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/main.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/freezer.py -> build/lib.linux-x86_64-3.6/cx_Freeze
copying cx_Freeze/setupwriter.py -> build/lib.linux-x86_64-3.6/cx_Freeze
creating build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/SharedLibSource.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/Console.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/__startup__.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/SharedLib.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/ConsoleSetLibPath.py -> build/lib.linux-x86_64-3.6/cx_Freeze/initscripts
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/Tkinter
copying cx_Freeze/samples/Tkinter/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/Tkinter
copying cx_Freeze/samples/Tkinter/SimpleTkApp.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/Tkinter
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/matplotlib
copying cx_Freeze/samples/matplotlib/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/matplotlib
copying cx_Freeze/samples/matplotlib/matplotlib_eg.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/matplotlib
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/relimport
copying cx_Freeze/samples/relimport/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/relimport
copying cx_Freeze/samples/relimport/relimport.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/relimport
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/asmodule
copying cx_Freeze/samples/asmodule/asmodule.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/asmodule
copying cx_Freeze/samples/asmodule/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/asmodule
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/simple
copying cx_Freeze/samples/simple/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/simple
copying cx_Freeze/samples/simple/hello.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/simple
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/wx
copying cx_Freeze/samples/wx/wxapp.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/wx
copying cx_Freeze/samples/wx/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/wx
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/advanced
copying cx_Freeze/samples/advanced/advanced_1.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/advanced
copying cx_Freeze/samples/advanced/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/advanced
copying cx_Freeze/samples/advanced/advanced_2.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/advanced
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/zope
copying cx_Freeze/samples/zope/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/zope
copying cx_Freeze/samples/zope/qotd.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/zope
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/openpyxl
copying cx_Freeze/samples/openpyxl/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/openpyxl
copying cx_Freeze/samples/openpyxl/test_openpyxl.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/openpyxl
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt5
copying cx_Freeze/samples/PyQt5/PyQt5app.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt5
copying cx_Freeze/samples/PyQt5/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt5
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt4
copying cx_Freeze/samples/PyQt4/PyQt4app.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt4
copying cx_Freeze/samples/PyQt4/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/PyQt4
creating build/lib.linux-x86_64-3.6/cx_Freeze/samples/service
copying cx_Freeze/samples/service/ServiceHandler.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/service
copying cx_Freeze/samples/service/Config.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/service
copying cx_Freeze/samples/service/setup.py -> build/lib.linux-x86_64-3.6/cx_Freeze/samples/service
running build_ext
building 'cx_Freeze.util' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/source
gcc -pthread -B /home/calbert/anaconda3/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/calbert/anaconda3/include/python3.6m -c source/util.c -o build/temp.linux-x86_64-3.6/source/util.o
gcc -pthread -shared -B /home/calbert/anaconda3/compiler_compat -L/home/calbert/anaconda3/lib -Wl,-rpath=/home/calbert/anaconda3/lib,--no-as-needed build/temp.linux-x86_64-3.6/source/util.o -L/home/calbert/anaconda3/lib -lpython3.6m -o build/lib.linux-x86_64-3.6/cx_Freeze/util.cpython-36m-x86_64-linux-gnu.so
creating build/temp.linux-x86_64-3.6/source/bases
gcc -pthread -B /home/calbert/anaconda3/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/calbert/anaconda3/include/python3.6m -c source/bases/Console.c -o build/temp.linux-x86_64-3.6/source/bases/Console.o
creating build/lib.linux-x86_64-3.6/cx_Freeze/bases
gcc -pthread -B /home/calbert/anaconda3/compiler_compat build/temp.linux-x86_64-3.6/source/bases/Console.o -L/home/calbert/anaconda3/lib/python3.6/config-3.6m-x86_64-linux-gnu -L/home/calbert/anaconda3/lib -lpython3.6m -lpython3.6m -o build/lib.linux-x86_64-3.6/cx_Freeze/bases/Console -Xlinker -export-dynamic -lpthread -ldl -lutil -lrt -lm -s
lto1: fatal error: bytecode stream generated with LTO version 6.0 instead of the expected 4.1
compilation terminated.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/home/calbert/anaconda3/compiler_compat/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/home/calbert/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-lwm83hmq/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-record-lv0_g8k1/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-lwm83hmq/cx-Freeze/
ElementW
Messages postés
4816
Date d'inscription
dimanche 12 juin 2011
Statut
Contributeur
Dernière intervention
5 octobre 2021
1 228
5 août 2018 à 15:17
5 août 2018 à 15:17
Ta version de GCC est trop vieille. Il est préférable d'installer un environnement de compilation dans conda via
conda install gcc_linux-64dans ce cas. Une fois ça fait, l'installation via pip devrait passer.