So I tried the pip install pyinstaller
command and thats what happened:
So I had this bug:
JavaScript
x
50
50
1
Collecting pyinstaller
2
Using cached pyinstaller-4.1.tar.gz (3.5 MB)
3
Installing build dependencies done
4
Getting requirements to build wheel done
5
Preparing wheel metadata error
6
ERROR: Command errored out with exit status 1:
7
command: 'c:usersarisonedriveυπολογιστήςpythonpython.exe' 'c:usersarisonedriveυπολογιστήςpythonlibsite-packagespip_vendorpep517_in_process.py' prepare_metadata_for_build_wheel 'C:UsersarisAppDataLocalTemptmp_o2ged7z'
8
cwd: C:UsersarisAppDataLocalTemppip-install-ipo7dr00pyinstaller_7b00b43eae9b4a19be431faa4f4cf9f4
9
Complete output (38 lines):
10
Error in sitecustomize; set PYTHONVERBOSE for traceback:
11
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xf5 in position 0: invalid start byte (sitecustomize.py, line 7)
12
running dist_info
13
creating C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.egg-info
14
writing C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.egg-infoPKG-INFO
15
writing dependency_links to C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.egg-infodependency_links.txt
16
writing entry points to C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.egg-infoentry_points.txt
17
writing requirements to C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.egg-inforequires.txt
18
writing top-level names to C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.egg-infotop_level.txt
19
writing manifest file 'C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.egg-infoSOURCES.txt'
20
reading manifest file 'C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.egg-infoSOURCES.txt'
21
reading manifest template 'MANIFEST.in'
22
warning: no files found matching 'pyinstaller-gui.py'
23
no previously-included directories found matching 'bootloaderbuild'
24
no previously-included directories found matching 'bootloader.waf-*'
25
no previously-included directories found matching 'bootloader.waf3-*'
26
no previously-included directories found matching 'bootloaderwaf-*'
27
no previously-included directories found matching 'bootloaderwaf3-*'
28
no previously-included directories found matching 'bootloader_sdks'
29
no previously-included directories found matching 'bootloader.vagrant'
30
warning: no previously-included files found matching 'bootloader.lock-waf*'
31
no previously-included directories found matching 'docsource'
32
no previously-included directories found matching 'doc_build'
33
warning: no previously-included files matching '*.tmp' found under directory 'doc'
34
warning: no files found matching 'news_template.rst'
35
no previously-included directories found matching 'news'
36
no previously-included directories found matching 'old'
37
no previously-included directories found matching 'scripts'
38
no previously-included directories found matching 'testsscripts'
39
no previously-included directories found matching '.github'
40
warning: no previously-included files found matching '.*'
41
warning: no previously-included files found matching '*.yml'
42
warning: no previously-included files found matching '*~'
43
warning: no previously-included files found matching '.directory'
44
warning: no previously-included files matching '*.py[co]' found anywhere in distribution
45
writing manifest file 'C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.egg-infoSOURCES.txt'
46
creating 'C:UsersarisAppDataLocalTemppip-modern-metadata-tgdlk_61pyinstaller.dist-info'
47
error: invalid command 'bdist_wheel'
48
----------------------------------------
49
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.
50
Does anyone know how I can solve it??
Advertisement
Answer
The error says:
JavaScript
1
2
1
error: invalid command 'bdist_wheel' ---------------------------------------- ERROR: Command errored out with exit status 1: 'c:usersarisonedriveυπολογιστήςpythonpython.exe'
2
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:
JavaScript
1
2
1
pip install wheel
2
Let me know if the error still exists.