Skip to content
Advertisement

bug in installing pyinstaller

So I tried the pip install pyinstaller command and thats what happened:

So I had this bug:

Collecting pyinstaller
  Using cached pyinstaller-4.1.tar.gz (3.5 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... error
    ERROR: Command errored out with exit status 1:
     command: 'c:usersarisonedriveυπολογιστήςpythonpython.exe' 'c:usersarisonedriveυπολογιστήςpythonlibsite-packagespip_vendorpep517_in_process.py' prepare_metadata_for_build_wheel 'C:UsersarisAppDataLocalTemptmp_o2ged7z'
         cwd: C:UsersarisAppDataLocalTemppip-install-ipo7dr00pyinstaller_7b00b43eae9b4a19be431faa4f4cf9f4
    Complete output (38 lines):
    Error in sitecustomize; set PYTHONVERBOSE for traceback:
    SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xf5 in position 0: invalid start byte (sitecustomize.py, line 7)
    running dist_info
    creating C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.egg-info
    writing C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.egg-infoPKG-INFO
    writing dependency_links to C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.egg-infodependency_links.txt
    writing entry points to C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.egg-infoentry_points.txt
    writing requirements to C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.egg-inforequires.txt
    writing top-level names to C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.egg-infotop_level.txt
    writing manifest file 'C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.egg-infoSOURCES.txt'
    reading manifest file 'C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.egg-infoSOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching 'pyinstaller-gui.py'
    no previously-included directories found matching 'bootloaderbuild'
    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'
    warning: no files found matching 'news_template.rst'
    no previously-included directories found matching 'news'
    no previously-included directories found matching 'old'
    no previously-included directories found matching 'scripts'
    no previously-included directories found matching 'testsscripts'
    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'
    warning: no previously-included files matching '*.py[co]' found anywhere in distribution
    writing manifest file 'C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.egg-infoSOURCES.txt'
    creating 'C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.dist-info'
    error: invalid command 'bdist_wheel'
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:usersarisonedriveυπολογιστήςpythonpython.exe' 'c:usersarisonedriveυπολογιστήςpythonlibsite-packagespip_vendorpep517_in_process.py' prepare_metadata_for_build_wheel 'C:UsersarisAppDataLocalTemptmp_o2ged7z' Check the logs for full command output.

Does anyone know how I can solve it??

Advertisement

Answer

The error says:

error: invalid command 'bdist_wheel' ---------------------------------------- ERROR: Command errored out with exit status 1: 'c:usersarisonedriveυπολογιστήςpythonpython.exe'

Try installing wheel first. mostly the error describes itself. try going through them carefully, it will save you lot of debugging time. Run this command:

pip install wheel

Let me know if the error still exists.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement