Problem install cx_freeze in nano jetson for python3

pi@pi-desktop:~$ sudo pip3 install cx_freeze
WARNING: The directory ‘/home/pi/.cache/pip’ or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
Collecting cx_freeze
Downloading cx_Freeze-6.2.tar.gz (101 kB)
|████████████████████████████████| 101 kB 189 kB/s
Building wheels for collected packages: cx-freeze
Building wheel for cx-freeze (setup.py) … error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-ofef42ha/cx-freeze/setup.py’"’"’; file=’"’"’/tmp/pip-install-ofef42ha/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-1w0q7ykp
cwd: /tmp/pip-install-ofef42ha/cx-freeze/
Complete output (104 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.6
creating build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/main.py -> build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/macdist.py -> build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/setupwriter.py -> build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/hooks.py -> build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/finder.py -> build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/init.py -> build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/freezer.py -> build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/dist.py -> build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/windist.py -> build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/common.py -> build/lib.linux-aarch64-3.6/cx_Freeze
creating build/lib.linux-aarch64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/startup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/ConsoleSetLibPath.py -> build/lib.linux-aarch64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/Console.py -> build/lib.linux-aarch64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/SharedLibSource.py -> build/lib.linux-aarch64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/SharedLib.py -> build/lib.linux-aarch64-3.6/cx_Freeze/initscripts
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/sqlite
copying cx_Freeze/samples/sqlite/test_sqlite3.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/sqlite
copying cx_Freeze/samples/sqlite/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/sqlite
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/distutils
copying cx_Freeze/samples/distutils/test_dist.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/distutils
copying cx_Freeze/samples/distutils/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/distutils
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/ctypes
copying cx_Freeze/samples/ctypes/test_ctypes.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/ctypes
copying cx_Freeze/samples/ctypes/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/ctypes
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/cryptography
copying cx_Freeze/samples/cryptography/test_crypt.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/cryptography
copying cx_Freeze/samples/cryptography/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/cryptography
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/importlib
copying cx_Freeze/samples/importlib/server_simple.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/importlib
copying cx_Freeze/samples/importlib/get_examples.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/importlib
copying cx_Freeze/samples/importlib/web_srv.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/importlib
copying cx_Freeze/samples/importlib/wsgiserver.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/importlib
copying cx_Freeze/samples/importlib/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/importlib
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/matplotlib
copying cx_Freeze/samples/matplotlib/matplotlib_afm.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/matplotlib
copying cx_Freeze/samples/matplotlib/matplotlib_eg.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/matplotlib
copying cx_Freeze/samples/matplotlib/setup_zip.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/matplotlib
copying cx_Freeze/samples/matplotlib/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/matplotlib
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/bcrypt
copying cx_Freeze/samples/bcrypt/test_bcrypt.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/bcrypt
copying cx_Freeze/samples/bcrypt/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/bcrypt
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/relimport
copying cx_Freeze/samples/relimport/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/relimport
copying cx_Freeze/samples/relimport/relimport.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/relimport
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/service
copying cx_Freeze/samples/service/Config.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/service
copying cx_Freeze/samples/service/ServiceHandler.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/service
copying cx_Freeze/samples/service/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/service
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/advanced
copying cx_Freeze/samples/advanced/advanced_2.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/advanced
copying cx_Freeze/samples/advanced/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/advanced
copying cx_Freeze/samples/advanced/advanced_1.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/advanced
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/openpyxl
copying cx_Freeze/samples/openpyxl/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/openpyxl
copying cx_Freeze/samples/openpyxl/test_openpyxl.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/openpyxl
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/PyQt4
copying cx_Freeze/samples/PyQt4/PyQt4app.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/PyQt4
copying cx_Freeze/samples/PyQt4/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/PyQt4
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/pillow
copying cx_Freeze/samples/pillow/test_pillow.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/pillow
copying cx_Freeze/samples/pillow/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/pillow
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/zope
copying cx_Freeze/samples/zope/qotd.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/zope
copying cx_Freeze/samples/zope/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/zope
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/pytz
copying cx_Freeze/samples/pytz/test_pytz.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/pytz
copying cx_Freeze/samples/pytz/setup2.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/pytz
copying cx_Freeze/samples/pytz/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/pytz
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/Tkinter
copying cx_Freeze/samples/Tkinter/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/Tkinter
copying cx_Freeze/samples/Tkinter/SimpleTkApp.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/Tkinter
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/PyQt5
copying cx_Freeze/samples/PyQt5/PyQt5app.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/PyQt5
copying cx_Freeze/samples/PyQt5/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/PyQt5
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/simple
copying cx_Freeze/samples/simple/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/simple
copying cx_Freeze/samples/simple/hello.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/simple
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/dependencies
copying cx_Freeze/samples/dependencies/test_1.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/dependencies
copying cx_Freeze/samples/dependencies/getdependentfiles.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/dependencies
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/wx
copying cx_Freeze/samples/wx/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/wx
copying cx_Freeze/samples/wx/wxapp.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/wx
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/asmodule
copying cx_Freeze/samples/asmodule/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/asmodule
copying cx_Freeze/samples/asmodule/asmodule.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/asmodule
running build_ext
creating build/temp.linux-aarch64-3.6
creating build/temp.linux-aarch64-3.6/source
creating build/temp.linux-aarch64-3.6/source/bases
aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c source/bases/Console.c -o build/temp.linux-aarch64-3.6/source/bases/Console.o
source/bases/Console.c:7:10: fatal error: Python.h: No such file or directory
#include <Python.h>
^~~~~~~~~~
compilation terminated.
error: command ‘aarch64-linux-gnu-gcc’ failed with exit status 1

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: /usr/bin/python3 -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-ofef42ha/cx-freeze/setup.py’"’"’; file=’"’"’/tmp/pip-install-ofef42ha/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-csbx7f6m/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6/cx-freeze
cwd: /tmp/pip-install-ofef42ha/cx-freeze/
Complete output (104 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.6
creating build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/main.py -> build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/macdist.py -> build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/setupwriter.py -> build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/hooks.py -> build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/finder.py -> build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/init.py -> build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/freezer.py -> build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/dist.py -> build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/windist.py -> build/lib.linux-aarch64-3.6/cx_Freeze
copying cx_Freeze/common.py -> build/lib.linux-aarch64-3.6/cx_Freeze
creating build/lib.linux-aarch64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/startup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/ConsoleSetLibPath.py -> build/lib.linux-aarch64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/Console.py -> build/lib.linux-aarch64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/SharedLibSource.py -> build/lib.linux-aarch64-3.6/cx_Freeze/initscripts
copying cx_Freeze/initscripts/SharedLib.py -> build/lib.linux-aarch64-3.6/cx_Freeze/initscripts
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/sqlite
copying cx_Freeze/samples/sqlite/test_sqlite3.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/sqlite
copying cx_Freeze/samples/sqlite/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/sqlite
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/distutils
copying cx_Freeze/samples/distutils/test_dist.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/distutils
copying cx_Freeze/samples/distutils/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/distutils
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/ctypes
copying cx_Freeze/samples/ctypes/test_ctypes.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/ctypes
copying cx_Freeze/samples/ctypes/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/ctypes
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/cryptography
copying cx_Freeze/samples/cryptography/test_crypt.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/cryptography
copying cx_Freeze/samples/cryptography/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/cryptography
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/importlib
copying cx_Freeze/samples/importlib/server_simple.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/importlib
copying cx_Freeze/samples/importlib/get_examples.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/importlib
copying cx_Freeze/samples/importlib/web_srv.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/importlib
copying cx_Freeze/samples/importlib/wsgiserver.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/importlib
copying cx_Freeze/samples/importlib/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/importlib
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/matplotlib
copying cx_Freeze/samples/matplotlib/matplotlib_afm.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/matplotlib
copying cx_Freeze/samples/matplotlib/matplotlib_eg.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/matplotlib
copying cx_Freeze/samples/matplotlib/setup_zip.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/matplotlib
copying cx_Freeze/samples/matplotlib/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/matplotlib
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/bcrypt
copying cx_Freeze/samples/bcrypt/test_bcrypt.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/bcrypt
copying cx_Freeze/samples/bcrypt/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/bcrypt
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/relimport
copying cx_Freeze/samples/relimport/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/relimport
copying cx_Freeze/samples/relimport/relimport.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/relimport
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/service
copying cx_Freeze/samples/service/Config.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/service
copying cx_Freeze/samples/service/ServiceHandler.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/service
copying cx_Freeze/samples/service/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/service
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/advanced
copying cx_Freeze/samples/advanced/advanced_2.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/advanced
copying cx_Freeze/samples/advanced/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/advanced
copying cx_Freeze/samples/advanced/advanced_1.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/advanced
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/openpyxl
copying cx_Freeze/samples/openpyxl/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/openpyxl
copying cx_Freeze/samples/openpyxl/test_openpyxl.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/openpyxl
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/PyQt4
copying cx_Freeze/samples/PyQt4/PyQt4app.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/PyQt4
copying cx_Freeze/samples/PyQt4/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/PyQt4
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/pillow
copying cx_Freeze/samples/pillow/test_pillow.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/pillow
copying cx_Freeze/samples/pillow/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/pillow
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/zope
copying cx_Freeze/samples/zope/qotd.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/zope
copying cx_Freeze/samples/zope/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/zope
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/pytz
copying cx_Freeze/samples/pytz/test_pytz.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/pytz
copying cx_Freeze/samples/pytz/setup2.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/pytz
copying cx_Freeze/samples/pytz/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/pytz
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/Tkinter
copying cx_Freeze/samples/Tkinter/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/Tkinter
copying cx_Freeze/samples/Tkinter/SimpleTkApp.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/Tkinter
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/PyQt5
copying cx_Freeze/samples/PyQt5/PyQt5app.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/PyQt5
copying cx_Freeze/samples/PyQt5/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/PyQt5
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/simple
copying cx_Freeze/samples/simple/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/simple
copying cx_Freeze/samples/simple/hello.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/simple
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/dependencies
copying cx_Freeze/samples/dependencies/test_1.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/dependencies
copying cx_Freeze/samples/dependencies/getdependentfiles.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/dependencies
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/wx
copying cx_Freeze/samples/wx/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/wx
copying cx_Freeze/samples/wx/wxapp.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/wx
creating build/lib.linux-aarch64-3.6/cx_Freeze/samples/asmodule
copying cx_Freeze/samples/asmodule/setup.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/asmodule
copying cx_Freeze/samples/asmodule/asmodule.py -> build/lib.linux-aarch64-3.6/cx_Freeze/samples/asmodule
running build_ext
creating build/temp.linux-aarch64-3.6
creating build/temp.linux-aarch64-3.6/source
creating build/temp.linux-aarch64-3.6/source/bases
aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c source/bases/Console.c -o build/temp.linux-aarch64-3.6/source/bases/Console.o
source/bases/Console.c:7:10: fatal error: Python.h: No such file or directory
#include <Python.h>
^~~~~~~~~~
compilation terminated.
error: command ‘aarch64-linux-gnu-gcc’ failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-ofef42ha/cx-freeze/setup.py’"’"’; file=’"’"’/tmp/pip-install-ofef42ha/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-csbx7f6m/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6/cx-freeze Check the logs for full command output.
pi@pi-desktop:~$

sudo apt-get install python-dev

It might be helpful in your case.

i am trying install cx_freeze