I'm trying to run a django server that connects to a database.
But I can't install mysqlclient using pip, it keeps telling me to install Visual C++ 14.0. I downloaded the Microsoft Visual Build tools including C++, yet I still get the same error.
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\appdata\local\programs\python\python37-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-hncaajb5\\mysqlclient\\setup.py'"'"'; __file__='"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-hncaajb5\\mysqlclient\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\user\AppData\Local\Temp\pip-record-6ma5l3db\install-record.txt' --single-version-externally-managed --compile
cwd: C:\Users\user\AppData\Local\Temp\pip-install-hncaajb5\mysqlclient\
Complete output (24 lines):
running install
running build
running build_py
creating build
creating build\lib.win32-3.7
creating build\lib.win32-3.7\MySQLdb
copying MySQLdb\__init__.py -> build\lib.win32-3.7\MySQLdb
copying MySQLdb\_exceptions.py -> build\lib.win32-3.7\MySQLdb
copying MySQLdb\compat.py -> build\lib.win32-3.7\MySQLdb
copying MySQLdb\connections.py -> build\lib.win32-3.7\MySQLdb
copying MySQLdb\converters.py -> build\lib.win32-3.7\MySQLdb
copying MySQLdb\cursors.py -> build\lib.win32-3.7\MySQLdb
copying MySQLdb\release.py -> build\lib.win32-3.7\MySQLdb
copying MySQLdb\times.py -> build\lib.win32-3.7\MySQLdb
creating build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\__init__.py -> build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\CLIENT.py -> build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\CR.py -> build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\ER.py -> build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\FIELD_TYPE.py -> build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\FLAG.py -> build\lib.win32-3.7\MySQLdb\constants
running build_ext
building 'MySQLdb._mysql' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
Can someone help please?
Related
every time i try to install psutil in command prompt for python through "pip install psutil" command it gives me this error message:
Complete output (38 lines):
running install
running build
running build_py
creating build
creating build\lib.win32-3.10
creating build\lib.win32-3.10\psutil
copying psutil\_common.py -> build\lib.win32-3.10\psutil
copying psutil\_compat.py -> build\lib.win32-3.10\psutil
copying psutil\_psaix.py -> build\lib.win32-3.10\psutil
copying psutil\_psbsd.py -> build\lib.win32-3.10\psutil
copying psutil\_pslinux.py -> build\lib.win32-3.10\psutil
copying psutil\_psosx.py -> build\lib.win32-3.10\psutil
copying psutil\_psposix.py -> build\lib.win32-3.10\psutil
copying psutil\_pssunos.py -> build\lib.win32-3.10\psutil
copying psutil\_pswindows.py -> build\lib.win32-3.10\psutil
copying psutil\__init__.py -> build\lib.win32-3.10\psutil
creating build\lib.win32-3.10\psutil\tests
copying psutil\tests\runner.py -> build\lib.win32-3.10\psutil\tests
copying psutil\tests\test_aix.py -> build\lib.win32-3.10\psutil\tests
copying psutil\tests\test_bsd.py -> build\lib.win32-3.10\psutil\tests
copying psutil\tests\test_connections.py -> build\lib.win32-3.10\psutil\tests
copying psutil\tests\test_contracts.py -> build\lib.win32-3.10\psutil\tests
copying psutil\tests\test_linux.py -> build\lib.win32-3.10\psutil\tests
copying psutil\tests\test_memleaks.py -> build\lib.win32-3.10\psutil\tests
copying psutil\tests\test_misc.py -> build\lib.win32-3.10\psutil\tests
copying psutil\tests\test_osx.py -> build\lib.win32-3.10\psutil\tests
copying psutil\tests\test_posix.py -> build\lib.win32-3.10\psutil\tests
copying psutil\tests\test_process.py -> build\lib.win32-3.10\psutil\tests
copying psutil\tests\test_sunos.py -> build\lib.win32-3.10\psutil\tests
copying psutil\tests\test_system.py -> build\lib.win32-3.10\psutil\tests
copying psutil\tests\test_testutils.py -> build\lib.win32-3.10\psutil\tests
copying psutil\tests\test_unicode.py -> build\lib.win32-3.10\psutil\tests
copying psutil\tests\test_windows.py -> build\lib.win32-3.10\psutil\tests
copying psutil\tests\__init__.py -> build\lib.win32-3.10\psutil\tests
copying psutil\tests\__main__.py -> build\lib.win32-3.10\psutil\tests
running build_ext
building 'psutil._psutil_windows' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\windows 10 pro\AppData\Local\Programs\Python\Python310-32\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\windows 10 pro\\AppData\\Local\\Temp\\pip-install-freyn2_2\\psutil_d40b23d5499d4943a851ba2d31c42b65\\setup.py'"'"'; __file__='"'"'C:\\Users\\windows 10 pro\\AppData\\Local\\Temp\\pip-install-freyn2_2\\psutil_d40b23d5499d4943a851ba2d31c42b65\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\windows 10 pro\AppData\Local\Temp\pip-record-8dc_d_jb\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\windows 10 pro\AppData\Local\Programs\Python\Python310-32\Include\psutil' Check the logs for full command output.
Could anyone please help me with this?
So i can finally edit and run .py file
You can stick with version 5.9.3 to avoid this error
pip install psutil==5.9.3
see here:
https://github.com/giampaolo/psutil/issues/2165
As mentioned in the error log, you need to install the compiler from the link presented to you because a package you're trying to install requires a compiler due to accessing Win32 API (a C/C++ library) in a way that utilized C/C++/Cython or other compiled code i.e. a Python Extension unlike other pure-Python packages that only require a specific Python version, implementation or bitness.
https://visualstudio.microsoft.com/visual-cpp-build-tools/
Im trying to install Lxml
Error Message: ERROR: Command errored out with exit status 1:
command: 'c:\users\hp\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\HP\AppData\Local\Temp\pip-install-qgxmbfo1\lxml\setup.py'"'"'; file='"'"'C:\Users\HP\AppData\Local\Temp\pip-install-qgxmbfo1\lxml\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\HP\AppData\Local\Temp\pip-record-365qwxej\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\hp\appdata\local\programs\python\python39\Include\lxml'
cwd: C:\Users\HP\AppData\Local\Temp\pip-install-qgxmbfo1\lxml
Complete output (74 lines):
Building lxml version 4.5.2.
Building without Cython.
Building against pre-built libxml2 andl libxslt libraries
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\lxml
copying src\lxml\builder.py -> build\lib.win-amd64-3.9\lxml
copying src\lxml\cssselect.py -> build\lib.win-amd64-3.9\lxml
copying src\lxml\doctestcompare.py -> build\lib.win-amd64-3.9\lxml
copying src\lxml\ElementInclude.py -> build\lib.win-amd64-3.9\lxml
copying src\lxml\pyclasslookup.py -> build\lib.win-amd64-3.9\lxml
copying src\lxml\sax.py -> build\lib.win-amd64-3.9\lxml
copying src\lxml\usedoctest.py -> build\lib.win-amd64-3.9\lxml
copying src\lxml_elementpath.py -> build\lib.win-amd64-3.9\lxml
copying src\lxml_init_.py -> build\lib.win-amd64-3.9\lxml
creating build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes_init_.py -> build\lib.win-amd64-3.9\lxml\includes
creating build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\builder.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\clean.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\defs.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\diff.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\ElementSoup.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\formfill.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\html5parser.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\soupparser.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\usedoctest.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html_diffcommand.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html_html5builder.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html_setmixin.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html_init_.py -> build\lib.win-amd64-3.9\lxml\html
creating build\lib.win-amd64-3.9\lxml\isoschematron
copying src\lxml\isoschematron_init_.py -> build\lib.win-amd64-3.9\lxml\isoschematron
copying src\lxml\etree.h -> build\lib.win-amd64-3.9\lxml
copying src\lxml\etree_api.h -> build\lib.win-amd64-3.9\lxml
copying src\lxml\lxml.etree.h -> build\lib.win-amd64-3.9\lxml
copying src\lxml\lxml.etree_api.h -> build\lib.win-amd64-3.9\lxml
copying src\lxml\includes\c14n.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\config.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\dtdvalid.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\etreepublic.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\htmlparser.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\relaxng.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\schematron.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\tree.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\uri.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\xinclude.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\xmlerror.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\xmlparser.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\xmlschema.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\xpath.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\xslt.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes_init_.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\etree_defs.h -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\lxml-version.h -> build\lib.win-amd64-3.9\lxml\includes
creating build\lib.win-amd64-3.9\lxml\isoschematron\resources
creating build\lib.win-amd64-3.9\lxml\isoschematron\resources\rng
copying src\lxml\isoschematron\resources\rng\iso-schematron.rng -> build\lib.win-amd64-3.9\lxml\isoschematron\resources\rng
creating build\lib.win-amd64-3.9\lxml\isoschematron\resources\xsl
copying src\lxml\isoschematron\resources\xsl\RNG2Schtrn.xsl -> build\lib.win-amd64-3.9\lxml\isoschematron\resources\xsl
copying src\lxml\isoschematron\resources\xsl\XSD2Schtrn.xsl -> build\lib.win-amd64-3.9\lxml\isoschematron\resources\xsl
creating build\lib.win-amd64-3.9\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_abstract_expand.xsl -> build\lib.win-amd64-3.9\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_dsdl_include.xsl -> build\lib.win-amd64-3.9\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_message.xsl -> build\lib.win-amd64-3.9\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_skeleton_for_xslt1.xsl -> build\lib.win-amd64-3.9\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_svrl_for_xslt1.xsl -> build\lib.win-amd64-3.9\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\readme.txt -> build\lib.win-amd64-3.9\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\hp\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\HP\AppData\Local\Temp\pip-install-qgxmbfo1\lxml\setup.py'"'"'; file='"'"'C:\Users\HP\AppData\Local\Temp\pip-install-qgxmbfo1\lxml\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\HP\AppData\Local\Temp\pip-record-365qwxej\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\hp\appdata\local\programs\python\python39\Include\lxml' Check the logs for full command output.
I really dont know what to do pls help
Yesterday i upgraded to Python 3.9 and the pip install lxml also failed.
But i managers to install it from a downloaded whl file. Can not remember from where i downloaded it, but you should be avle to find the answer somewhere on stackoverflow .
The lxml package installation seems to work fine for me with bs4 👍
Maybe it was from here:
https://www.lfd.uci.edu/~gohlke/pythonlibs/
lxml‑4.5.2‑cp39‑cp39‑win_amd64.whl <---
I am trying to install install for MySQL-python , but i have this error that require installing Microsoft Visual C++ 14.0 is required.
ERROR: Command errored out with exit status 1:
command: 'c:\python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\pc\\AppData\\Local\\Temp\\pip-install-iwizu2ag\\MySQL-python\\setup.py'"'"'; __file__='"'"'C:\\Users\\pc\\AppData\\Local\\Temp\\pip-install-iwizu2ag\\MySQL-python\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\pc\AppData\Local\Temp\pip-record-vnvrbcv_\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python37\Include\MySQL-python'
cwd: C:\Users\pc\AppData\Local\Temp\pip-install-iwizu2ag\MySQL-python\
Complete output (24 lines):
running install
running build
running build_py
creating build
creating build\lib.win32-3.7
copying _mysql_exceptions.py -> build\lib.win32-3.7
creating build\lib.win32-3.7\MySQLdb
copying MySQLdb\__init__.py -> build\lib.win32-3.7\MySQLdb
copying MySQLdb\converters.py -> build\lib.win32-3.7\MySQLdb
copying MySQLdb\connections.py -> build\lib.win32-3.7\MySQLdb
copying MySQLdb\cursors.py -> build\lib.win32-3.7\MySQLdb
copying MySQLdb\release.py -> build\lib.win32-3.7\MySQLdb
copying MySQLdb\times.py -> build\lib.win32-3.7\MySQLdb
creating build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\__init__.py -> build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\CR.py -> build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\FIELD_TYPE.py -> build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\ER.py -> build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\FLAG.py -> build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\REFRESH.py -> build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\CLIENT.py -> build\lib.win32-3.7\MySQLdb\constants
running build_ext
building '_mysql' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\pc\\AppData\\Local\\Temp\\pip-install-iwizu2ag\\MySQL-python\\setup.py'"'"'; __file__='"'"'C:\\Users\\pc\\AppData\\Local\\Temp\\pip-install-iwizu2ag\\MySQL-python\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\pc\AppData\Local\Temp\pip-record-vnvrbcv_\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python37\Include\MySQL-python' Check the logs for full command output.
Actually , I have Microsoft visual c++ 15 installed on my device
So after getting the same error message.
I did what the message said.
Downloaded and installed the build tools.
I couldn't find them on Micorsoft download page so here is a link
https://aka.ms/vs/16/release/vs_buildtools.exe
After installing is selected the options in the image and it worked
What version of gRPC and what language are you using?
lastest
What operating system (Linux, Windows,...) and version?
Windows 10 Server
What runtime / compiler are you using (e.g. python version or version of gcc) python
What did you do?
Tried to install it from pip install command
ERROR: Command errored out with exit status 1: command:
'c:\users\administrator\appdata\local\programs\python\python38-32\python.exe'
-u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Administrator\AppData\Local\Temp\2\pip-install-6hv8xzb8\grpcio\setup.py'"'"';
file='"'"'C:\Users\Administrator\AppData\Local\Temp\2\pip-install-6hv8xzb8\grpcio\setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))'
install --record
'C:\Users\Administrator\AppData\Local\Temp\2\pip-record-nkilt9xu\install-record.txt'
--single-version-externally-managed --compile
cwd: C:\Users\Administrator\AppData\Local\Temp\2\pip-install-6hv8xzb8\grpcio\
Complete output (66 lines): Found cython-generated files... running
install running build running build_py running build_project_metadata
creating python_build creating python_build\lib.win32-3.8 creating
python_build\lib.win32-3.8\grpc copying
src\python\grpcio\grpc_auth.py -> python_build\lib.win32-3.8\grpc
copying src\python\grpcio\grpc_channel.py ->
python_build\lib.win32-3.8\grpc copying
src\python\grpcio\grpc_common.py -> python_build\lib.win32-3.8\grpc
copying src\python\grpcio\grpc_compression.py ->
python_build\lib.win32-3.8\grpc copying
src\python\grpcio\grpc_grpcio_metadata.py ->
python_build\lib.win32-3.8\grpc copying
src\python\grpcio\grpc_interceptor.py ->
python_build\lib.win32-3.8\grpc copying
src\python\grpcio\grpc_plugin_wrapping.py ->
python_build\lib.win32-3.8\grpc copying
src\python\grpcio\grpc_server.py -> python_build\lib.win32-3.8\grpc
copying src\python\grpcio\grpc_utilities.py ->
python_build\lib.win32-3.8\grpc copying
src\python\grpcio\grpc__init__.py -> python_build\lib.win32-3.8\grpc
creating python_build\lib.win32-3.8\grpc\beta copying
src\python\grpcio\grpc\beta\implementations.py ->
python_build\lib.win32-3.8\grpc\beta copying
src\python\grpcio\grpc\beta\interfaces.py ->
python_build\lib.win32-3.8\grpc\beta copying
src\python\grpcio\grpc\beta\utilities.py ->
python_build\lib.win32-3.8\grpc\beta copying
src\python\grpcio\grpc\beta_client_adaptations.py ->
python_build\lib.win32-3.8\grpc\beta copying
src\python\grpcio\grpc\beta_metadata.py ->
python_build\lib.win32-3.8\grpc\beta copying
src\python\grpcio\grpc\beta_server_adaptations.py ->
python_build\lib.win32-3.8\grpc\beta copying
src\python\grpcio\grpc\beta__init__.py ->
python_build\lib.win32-3.8\grpc\beta creating
python_build\lib.win32-3.8\grpc\experimental copying
src\python\grpcio\grpc\experimental\gevent.py ->
python_build\lib.win32-3.8\grpc\experimental copying
src\python\grpcio\grpc\experimental\session_cache.py ->
python_build\lib.win32-3.8\grpc\experimental copying
src\python\grpcio\grpc\experimental__init__.py ->
python_build\lib.win32-3.8\grpc\experimental creating
python_build\lib.win32-3.8\grpc\framework copying
src\python\grpcio\grpc\framework__init__.py ->
python_build\lib.win32-3.8\grpc\framework creating
python_build\lib.win32-3.8\grpc_cython copying
src\python\grpcio\grpc_cython__init__.py ->
python_build\lib.win32-3.8\grpc_cython creating
python_build\lib.win32-3.8\grpc\experimental\aio copying
src\python\grpcio\grpc\experimental\aio_channel.py ->
python_build\lib.win32-3.8\grpc\experimental\aio copying
src\python\grpcio\grpc\experimental\aio_server.py ->
python_build\lib.win32-3.8\grpc\experimental\aio copying
src\python\grpcio\grpc\experimental\aio__init__.py ->
python_build\lib.win32-3.8\grpc\experimental\aio creating
python_build\lib.win32-3.8\grpc\framework\common copying
src\python\grpcio\grpc\framework\common\cardinality.py ->
python_build\lib.win32-3.8\grpc\framework\common copying
src\python\grpcio\grpc\framework\common\style.py ->
python_build\lib.win32-3.8\grpc\framework\common copying
src\python\grpcio\grpc\framework\common__init__.py ->
python_build\lib.win32-3.8\grpc\framework\common creating
python_build\lib.win32-3.8\grpc\framework\foundation copying
src\python\grpcio\grpc\framework\foundation\abandonment.py ->
python_build\lib.win32-3.8\grpc\framework\foundation copying
src\python\grpcio\grpc\framework\foundation\callable_util.py ->
python_build\lib.win32-3.8\grpc\framework\foundation copying
src\python\grpcio\grpc\framework\foundation\future.py ->
python_build\lib.win32-3.8\grpc\framework\foundation copying
src\python\grpcio\grpc\framework\foundation\logging_pool.py ->
python_build\lib.win32-3.8\grpc\framework\foundation copying
src\python\grpcio\grpc\framework\foundation\stream.py ->
python_build\lib.win32-3.8\grpc\framework\foundation copying
src\python\grpcio\grpc\framework\foundation\stream_util.py ->
python_build\lib.win32-3.8\grpc\framework\foundation copying
src\python\grpcio\grpc\framework\foundation__init__.py ->
python_build\lib.win32-3.8\grpc\framework\foundation creating
python_build\lib.win32-3.8\grpc\framework\interfaces copying
src\python\grpcio\grpc\framework\interfaces__init__.py ->
python_build\lib.win32-3.8\grpc\framework\interfaces creating
python_build\lib.win32-3.8\grpc\framework\interfaces\base copying
src\python\grpcio\grpc\framework\interfaces\base\base.py ->
python_build\lib.win32-3.8\grpc\framework\interfaces\base copying
src\python\grpcio\grpc\framework\interfaces\base\utilities.py ->
python_build\lib.win32-3.8\grpc\framework\interfaces\base copying
src\python\grpcio\grpc\framework\interfaces\base__init__.py ->
python_build\lib.win32-3.8\grpc\framework\interfaces\base creating
python_build\lib.win32-3.8\grpc\framework\interfaces\face copying
src\python\grpcio\grpc\framework\interfaces\face\face.py ->
python_build\lib.win32-3.8\grpc\framework\interfaces\face copying
src\python\grpcio\grpc\framework\interfaces\face\utilities.py ->
python_build\lib.win32-3.8\grpc\framework\interfaces\face copying
src\python\grpcio\grpc\framework\interfaces\face__init__.py ->
python_build\lib.win32-3.8\grpc\framework\interfaces\face creating
python_build\lib.win32-3.8\grpc_cython_cygrpc copying
src\python\grpcio\grpc_cython_cygrpc__init__.py ->
python_build\lib.win32-3.8\grpc_cython_cygrpc creating
python_build\lib.win32-3.8\grpc_cython_credentials copying
src\python\grpcio\grpc_cython_credentials\roots.pem ->
python_build\lib.win32-3.8\grpc_cython_credentials running build_ext
error: [WinError 2] Impossibile trovare il file specificato
---------------------------------------- ERROR: Command errored out with exit status 1:
'c:\users\administrator\appdata\local\programs\python\python38-32\python.exe'
-u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Administrator\AppData\Local\Temp\2\pip-install-6hv8xzb8\grpcio\setup.py'"'"';
file='"'"'C:\Users\Administrator\AppData\Local\Temp\2\pip-install-6hv8xzb8\grpcio\setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))'
install --record
'C:\Users\Administrator\AppData\Local\Temp\2\pip-record-nkilt9xu\install-record.txt'
--single-v
ersion-externally-managed --compile Check the logs for full command output.
Expected to install it as it did on my personal computer
gRPC team has an issue to track adding 3.8 pre-compiled wheels https://github.com/grpc/grpc/issues/20615. Currently, 3.8 wheels are only available in Linux, but not for Windows or macOS. I would recommend:
Switch to CPython 3.7;
Help the community by digging into the compilation error.
I'm trying to install cx_freeze to convert my python code into an executable. But it always shows the error below.
I looked into the problem and found that I should downgrade my python version because there is no cx_freeze that supports Python 3.8.
NOTE
It turns out that cx_freeze installation on Python 3.8 is possible if you download the development version directly from Git.
Using cached https://files.pythonhosted.org/packages/14/74/a76c12e4e357c79999191d5db259e66b46c57708515395c023d38e6bbbd7/cx_Freeze-6.0.tar.gz
Building wheels for collected packages: cx-freeze
Building wheel for cx-freeze (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\lenovo\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\lenovo\\AppData\\Local\\Temp\\pip-install-wncuyyho\\cx-freeze\\setup.py'"'"'; __file__='"'"'C:\\Users\\lenovo\\AppData\\Local\\Temp\\pip-install-wncuyyho\\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 'C:\Users\lenovo\AppData\Local\Temp\pip-wheel-59n38z49' --python-tag cp38
cwd: C:\Users\lenovo\AppData\Local\Temp\pip-install-wncuyyho\cx-freeze\
Complete output (70 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\common.py -> build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\dist.py -> build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\finder.py -> build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\freezer.py -> build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\hooks.py -> build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\macdist.py -> build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\main.py -> build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\setupwriter.py -> build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\windist.py -> build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\__init__.py -> build\lib.win-amd64-3.8\cx_Freeze
creating build\lib.win-amd64-3.8\cx_Freeze\initscripts
copying cx_Freeze\initscripts\Console.py -> build\lib.win-amd64-3.8\cx_Freeze\initscripts
copying cx_Freeze\initscripts\ConsoleSetLibPath.py -> build\lib.win-amd64-3.8\cx_Freeze\initscripts
copying cx_Freeze\initscripts\SharedLib.py -> build\lib.win-amd64-3.8\cx_Freeze\initscripts
copying cx_Freeze\initscripts\SharedLibSource.py -> build\lib.win-amd64-3.8\cx_Freeze\initscripts
copying cx_Freeze\initscripts\__startup__.py -> build\lib.win-amd64-3.8\cx_Freeze\initscripts
creating build\lib.win-amd64-3.8\cx_Freeze\samples
creating build\lib.win-amd64-3.8\cx_Freeze\samples\advanced
copying cx_Freeze\samples\advanced\advanced_1.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\advanced
copying cx_Freeze\samples\advanced\advanced_2.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\advanced
copying cx_Freeze\samples\advanced\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\advanced
creating build\lib.win-amd64-3.8\cx_Freeze\samples\asmodule
copying cx_Freeze\samples\asmodule\asmodule.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\asmodule
copying cx_Freeze\samples\asmodule\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\asmodule
creating build\lib.win-amd64-3.8\cx_Freeze\samples\importlib
copying cx_Freeze\samples\importlib\get_examples.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\importlib
copying cx_Freeze\samples\importlib\server_simple.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\importlib
copying cx_Freeze\samples\importlib\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\importlib
copying cx_Freeze\samples\importlib\web_srv.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\importlib
copying cx_Freeze\samples\importlib\wsgiserver.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\importlib
creating build\lib.win-amd64-3.8\cx_Freeze\samples\matplotlib
copying cx_Freeze\samples\matplotlib\matplotlib_eg.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\matplotlib
copying cx_Freeze\samples\matplotlib\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\matplotlib
creating build\lib.win-amd64-3.8\cx_Freeze\samples\openpyxl
copying cx_Freeze\samples\openpyxl\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\openpyxl
copying cx_Freeze\samples\openpyxl\test_openpyxl.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\openpyxl
creating build\lib.win-amd64-3.8\cx_Freeze\samples\PyQt4
copying cx_Freeze\samples\PyQt4\PyQt4app.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\PyQt4
copying cx_Freeze\samples\PyQt4\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\PyQt4
creating build\lib.win-amd64-3.8\cx_Freeze\samples\PyQt5
copying cx_Freeze\samples\PyQt5\PyQt5app.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\PyQt5
copying cx_Freeze\samples\PyQt5\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\PyQt5
creating build\lib.win-amd64-3.8\cx_Freeze\samples\relimport
copying cx_Freeze\samples\relimport\relimport.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\relimport
copying cx_Freeze\samples\relimport\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\relimport
creating build\lib.win-amd64-3.8\cx_Freeze\samples\service
copying cx_Freeze\samples\service\Config.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\service
copying cx_Freeze\samples\service\ServiceHandler.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\service
copying cx_Freeze\samples\service\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\service
creating build\lib.win-amd64-3.8\cx_Freeze\samples\simple
copying cx_Freeze\samples\simple\hello.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\simple
copying cx_Freeze\samples\simple\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\simple
creating build\lib.win-amd64-3.8\cx_Freeze\samples\Tkinter
copying cx_Freeze\samples\Tkinter\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\Tkinter
copying cx_Freeze\samples\Tkinter\SimpleTkApp.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\Tkinter
creating build\lib.win-amd64-3.8\cx_Freeze\samples\wx
copying cx_Freeze\samples\wx\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\wx
copying cx_Freeze\samples\wx\wxapp.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\wx
creating build\lib.win-amd64-3.8\cx_Freeze\samples\zope
copying cx_Freeze\samples\zope\qotd.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\zope
copying cx_Freeze\samples\zope\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\zope
running build_ext
building 'cx_Freeze.util' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: 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
ERROR: Command errored out with exit status 1:
command: 'c:\users\lenovo\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\lenovo\\AppData\\Local\\Temp\\pip-install-wncuyyho\\cx-freeze\\setup.py'"'"'; __file__='"'"'C:\\Users\\lenovo\\AppData\\Local\\Temp\\pip-install-wncuyyho\\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 'C:\Users\lenovo\AppData\Local\Temp\pip-record-42p9qoxu\install-record.txt' --single-version-externally-managed --compile
cwd: C:\Users\lenovo\AppData\Local\Temp\pip-install-wncuyyho\cx-freeze\
Complete output (70 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\common.py -> build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\dist.py -> build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\finder.py -> build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\freezer.py -> build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\hooks.py -> build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\macdist.py -> build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\main.py -> build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\setupwriter.py -> build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\windist.py -> build\lib.win-amd64-3.8\cx_Freeze
copying cx_Freeze\__init__.py -> build\lib.win-amd64-3.8\cx_Freeze
creating build\lib.win-amd64-3.8\cx_Freeze\initscripts
copying cx_Freeze\initscripts\Console.py -> build\lib.win-amd64-3.8\cx_Freeze\initscripts
copying cx_Freeze\initscripts\ConsoleSetLibPath.py -> build\lib.win-amd64-3.8\cx_Freeze\initscripts
copying cx_Freeze\initscripts\SharedLib.py -> build\lib.win-amd64-3.8\cx_Freeze\initscripts
copying cx_Freeze\initscripts\SharedLibSource.py -> build\lib.win-amd64-3.8\cx_Freeze\initscripts
copying cx_Freeze\initscripts\__startup__.py -> build\lib.win-amd64-3.8\cx_Freeze\initscripts
creating build\lib.win-amd64-3.8\cx_Freeze\samples
creating build\lib.win-amd64-3.8\cx_Freeze\samples\advanced
copying cx_Freeze\samples\advanced\advanced_1.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\advanced
copying cx_Freeze\samples\advanced\advanced_2.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\advanced
copying cx_Freeze\samples\advanced\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\advanced
creating build\lib.win-amd64-3.8\cx_Freeze\samples\asmodule
copying cx_Freeze\samples\asmodule\asmodule.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\asmodule
copying cx_Freeze\samples\asmodule\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\asmodule
creating build\lib.win-amd64-3.8\cx_Freeze\samples\importlib
copying cx_Freeze\samples\importlib\get_examples.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\importlib
copying cx_Freeze\samples\importlib\server_simple.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\importlib
copying cx_Freeze\samples\importlib\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\importlib
copying cx_Freeze\samples\importlib\web_srv.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\importlib
copying cx_Freeze\samples\importlib\wsgiserver.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\importlib
creating build\lib.win-amd64-3.8\cx_Freeze\samples\matplotlib
copying cx_Freeze\samples\matplotlib\matplotlib_eg.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\matplotlib
copying cx_Freeze\samples\matplotlib\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\matplotlib
creating build\lib.win-amd64-3.8\cx_Freeze\samples\openpyxl
copying cx_Freeze\samples\openpyxl\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\openpyxl
copying cx_Freeze\samples\openpyxl\test_openpyxl.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\openpyxl
creating build\lib.win-amd64-3.8\cx_Freeze\samples\PyQt4
copying cx_Freeze\samples\PyQt4\PyQt4app.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\PyQt4
copying cx_Freeze\samples\PyQt4\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\PyQt4
creating build\lib.win-amd64-3.8\cx_Freeze\samples\PyQt5
copying cx_Freeze\samples\PyQt5\PyQt5app.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\PyQt5
copying cx_Freeze\samples\PyQt5\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\PyQt5
creating build\lib.win-amd64-3.8\cx_Freeze\samples\relimport
copying cx_Freeze\samples\relimport\relimport.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\relimport
copying cx_Freeze\samples\relimport\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\relimport
creating build\lib.win-amd64-3.8\cx_Freeze\samples\service
copying cx_Freeze\samples\service\Config.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\service
copying cx_Freeze\samples\service\ServiceHandler.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\service
copying cx_Freeze\samples\service\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\service
creating build\lib.win-amd64-3.8\cx_Freeze\samples\simple
copying cx_Freeze\samples\simple\hello.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\simple
copying cx_Freeze\samples\simple\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\simple
creating build\lib.win-amd64-3.8\cx_Freeze\samples\Tkinter
copying cx_Freeze\samples\Tkinter\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\Tkinter
copying cx_Freeze\samples\Tkinter\SimpleTkApp.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\Tkinter
creating build\lib.win-amd64-3.8\cx_Freeze\samples\wx
copying cx_Freeze\samples\wx\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\wx
copying cx_Freeze\samples\wx\wxapp.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\wx
creating build\lib.win-amd64-3.8\cx_Freeze\samples\zope
copying cx_Freeze\samples\zope\qotd.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\zope
copying cx_Freeze\samples\zope\setup.py -> build\lib.win-amd64-3.8\cx_Freeze\samples\zope
running build_ext
building 'cx_Freeze.util' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\lenovo\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\lenovo\\AppData\\Local\\Temp\\pip-install-wncuyyho\\cx-freeze\\setup.py'"'"'; __file__='"'"'C:\\Users\\lenovo\\AppData\\Local\\Temp\\pip-install-wncuyyho\\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 'C:\Users\lenovo\AppData\Local\Temp\pip-record-42p9qoxu\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
I had the exact same problem. This is how to solve it:
1. Install Visual Studio Community Edition
You need the C++ compiler for Windows 10. Download **Visual Studio 2019 Community** from https://visualstudio.microsoft.com/downloads/
Double click the downloaded installer. You should now see the following window (after a bit of waiting and a bit of clicking next):
That's the place where you should select the "things" that you want to include in your Visual Studio installation. The only thing you need right now is Desktop development with C++. After selecting that, you should see Installation details appear on the right side. There are already a few entries selected there (marked as Automatically selected in my screenshot above). You need to manually select the two last entries. Now click the Install button in the down-right corner.
Now have some patience while the installation progresses:
At the end, the installer will ask you to restart your computer. Click OK. That's it.
2. Install cx_freeze
*Just a reminder: make sure you have an updated `pip`. Issue the command:*
*`python -m pip install --upgrade pip`*
cx_freeze does not yet support Python 3.8. Luckily, the development version already has a fix. So you should not run pip install cx_freeze, but the following command instead:
pip install --upgrade git+https://github.com/anthony-tuininga/cx_Freeze.git#master
On my computer, the installation was successfull:
C:\Users\Kristof>pip install --upgrade git+https://github.com/anthony-tuininga/cx_Freeze.git#master
Collecting git+https://github.com/anthony-tuininga/cx_Freeze.git#master
Cloning https://github.com/anthony-tuininga/cx_Freeze.git (to revision master) to c:\users\kristof\appdata\local\temp\pip-req-build-7hrolrl1
Running command git clone -q https://github.com/anthony-tuininga/cx_Freeze.git 'C:\Users\Kristof\AppData\Local\Temp\pip-req-build-7hrolrl1'
Building wheels for collected packages: cx-Freeze
Building wheel for cx-Freeze (setup.py) ... done
Created wheel for cx-Freeze: filename=cx_Freeze-6.1-cp38-cp38-win_amd64.whl size=173005 sha256=507c3b90a1b7945fc277ccf25a5e4be7c64a37e1a1f6bce3f5171434c823fc04
Stored in directory: C:\Users\Kristof\AppData\Local\Temp\pip-ephem-wheel-cache-p7vebfjn\wheels\30\8c\fc\66fc4c5a5e2a27aa97f29d147cee6bd5d1198260ae9d1e9102
Successfully built cx-Freeze
Installing collected packages: cx-Freeze
Successfully installed cx-Freeze-6.1
3. Install cx_freeze on Python 3.9
I came back to this question after several months. I've got Python 3.9 now. Please note that cx_Freeze has changed its github path and also switched from master to main branch. This is how to install the main branch now:
> pip install git+https://github.com/marcelotduarte/cx_Freeze.git#main
Collecting git+https://github.com/marcelotduarte/cx_Freeze.git#main
Cloning https://github.com/marcelotduarte/cx_Freeze.git (to revision main) to c:\users\gebruiker\appdata\local\temp\pip-req-build-ah6qsibk
Running command git clone -q https://github.com/marcelotduarte/cx_Freeze.git 'C:\Users\Gebruiker\AppData\Local\Temp\pip-req-build-ah6qsibk'
Running command git submodule update --init --recursive -q
Requirement already satisfied: importlib_metadata>=3.1.1 in c:\python39\lib\site-packages (from cx-Freeze==6.6.dev0) (3.6.0)
Requirement already satisfied: zipp>=0.5 in c:\python39\lib\site-packages (from importlib_metadata>=3.1.1->cx-Freeze==6.6.dev0) (3.4.0)
Building wheels for collected packages: cx-Freeze
Building wheel for cx-Freeze (setup.py) ... done
Created wheel for cx-Freeze: filename=cx_Freeze-6.6.dev0-cp39-cp39-win_amd64.whl size=260212 sha256=48855a055f9834fb666831b9ae4ff08aaa93276f9c91339614a4f58656d0bd47
Stored in directory: C:\Users\Gebruiker\AppData\Local\Temp\pip-ephem-wheel-cache-flvt95bk\wheels\e4\58\28\02e3273cbbf0d18134fd22f6766cfdbc1b9f6b2946d5d75940
Successfully built cx-Freeze
Installing collected packages: cx-Freeze
Successfully installed cx-Freeze-6.6.dev0