I am using Python 3.9.1 (12/31/2020,downloaded from microsoft store) and I want to turn one of my projects into an executable but every time I try to pip install pyinstaller
it says this (I have cut some of the code in the beginning because other than it having no error stackoverflow says my post is mostly code):
Getting requirements to build wheel ... done
Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
command: 'C:UsersΓι?ργο? Β?βα?AppDataLocalMicrosoftWindowsAppsPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0python.exe' 'C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.496.0_x64__qbz5n2kfra8p0libsite-packagespip\_vendorpep517\_in_process.py' prepare_metadata_for_build_wheel 'C:Users37A0~1AppDataLocalTempmpwurr1dm8'
cwd: C:UsersΓι?ργο? Β?βα?AppDataLocalTemppip-req-build-gbhcr_je
Complete output (34 lines):
Error in sitecustomize; set PYTHONVERBOSE for traceback:
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xc3 in position 0: invalid continuation byte (sitecustomize.py, line 21)
running dist_info
creating C:UsersΓι?ργο? Β?βα?AppDataLocalTemppip-modern-metadata-61iwlidjpyinstaller.egg-info
writing C:UsersΓι?ργο? Β?βα?AppDataLocalTemppip-modern-metadata-61iwlidjpyinstaller.egg-infoPKG-INFO
writing dependency_links to C:UsersΓι?ργο? Β?βα?AppDataLocalTemppip-modern-metadata-61iwlidjpyinstaller.egg-infodependency_links.txt
writing entry points to C:UsersΓι?ργο? Β?βα?AppDataLocalTemppip-modern-metadata-61iwlidjpyinstaller.egg-infoentry_points.txt
writing requirements to C:UsersΓι?ργο? Β?βα?AppDataLocalTemppip-modern-metadata-61iwlidjpyinstaller.egg-info
equires.txt
writing top-level names to C:UsersΓι?ργο? Β?βα?AppDataLocalTemppip-modern-metadata-61iwlidjpyinstaller.egg-infoop_level.txt
writing manifest file 'C:UsersΓι?ργο? Β?βα?AppDataLocalTemppip-modern-metadata-61iwlidjpyinstaller.egg-infoSOURCES.txt'
reading manifest file 'C:UsersΓι?ργο? Β?βα?AppDataLocalTemppip-modern-metadata-61iwlidjpyinstaller.egg-infoSOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'pyinstaller-gui.py'
no previously-included directories found matching 'bootloaderuild'
no previously-included directories found matching 'bootloader.waf-*'
no previously-included directories found matching 'bootloader.waf3-*'
no previously-included directories found matching 'bootloaderwaf-*'
no previously-included directories found matching 'bootloaderwaf3-*'
no previously-included directories found matching 'bootloader\_sdks'
no previously-included directories found matching 'bootloader.vagrant'
warning: no previously-included files found matching 'bootloader.lock-waf*'
no previously-included directories found matching 'docsource'
no previously-included directories found matching 'doc\_build'
warning: no previously-included files matching '*.tmp' found under directory 'doc'
no previously-included directories found matching 'old'
no previously-included directories found matching 'scripts'
no previously-included directories found matching '.github'
warning: no previously-included files found matching '.*'
warning: no previously-included files found matching '*.yml'
warning: no previously-included files found matching '*~'
warning: no previously-included files found matching '.directory'
writing manifest file 'C:UsersΓι?ργο? Β?βα?AppDataLocalTemppip-modern-metadata-61iwlidjpyinstaller.egg-infoSOURCES.txt'
creating 'C:UsersΓι?ργο? Β?βα?AppDataLocalTemppip-modern-metadata-61iwlidjpyinstaller.dist-info'
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:UsersΓι?ργο? Β?βα?AppDataLocalMicrosoftWindowsAppsPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0python.exe' 'C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.496.0_x64__qbz5n2kfra8p0libsite-packagespip\_vendorpep517\_in_process.py' prepare_metadata_for_build_wheel 'C:Users37A0~1AppDataLocalTempmpwurr1dm8' Check the logs for full command output.
and when i pip install wheel it says:
Requirement already satisfied: wheel in c:usersγι?ργο?
β?βα?appdatalocalpackagespythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0localcachelocal-
packagespython39site-packages (0.36.2)
Also when i upgraded pip this showed up:
WARNING: The scripts pip.exe, pip3.9.exe and pip3.exe are installed in 'C:UsersΓι?ργο? Β?βα?AppDataLocalPackagesPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0LocalCachelocal-packagesPython39Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.