Vydělávej až 160.000 Kč měsíčně! Akreditované rekvalifikační kurzy s garancí práce od 0 Kč. Více informací.
Hledáme nové posily do ITnetwork týmu. Podívej se na volné pozice a přidej se do nejagilnější firmy na trhu - Více informací.
Avatar
Matěj Čížek:10.4.2021 18:39

Nedaří se mi stáhnout pyinstaller. Když do cmd napíšu "pip install pyinstaller", vypíše toto:

Collecting pyinstaller
  Using cached https://files.pythonhosted.org/packages/b4/83/9f6ff034650abe9778c9a4f86bcead63f89a62acf02b1b47fc2bfc6bf8dd/pyinstaller-4.2.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... error
    ERROR: Command errored out with exit status 1:
     command: 'c:\users\matěj\appdata\local\programs\python\python38-32\python.exe' 'c:\users\matěj\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\MATJ~1\AppData\Local\Temp\tmpbbgwkiz9'
         cwd: C:\Users\Matěj\AppData\Local\Temp\pip-install-942y89k5\pyinstaller
    Complete output (37 lines):
    running dist_info
    creating C:\Users\Matěj\AppData\Local\Temp\pip-install-942y89k5\pyinstaller\pip-wheel-metadata\pyinstaller.egg-info
    writing C:\Users\Matěj\AppData\Local\Temp\pip-install-942y89k5\pyinstaller\pip-wheel-metadata\pyinstaller.egg-info\PKG-INFO
    writing dependency_links to C:\Users\Matěj\AppData\Local\Temp\pip-install-942y89k5\pyinstaller\pip-wheel-metadata\pyinstaller.egg-info\dependency_links.txt
    writing entry points to C:\Users\Matěj\AppData\Local\Temp\pip-install-942y89k5\pyinstaller\pip-wheel-metadata\pyinstaller.egg-info\entry_points.txt
    writing requirements to C:\Users\Matěj\AppData\Local\Temp\pip-install-942y89k5\pyinstaller\pip-wheel-metadata\pyinstaller.egg-info\requires.txt
    writing top-level names to C:\Users\Matěj\AppData\Local\Temp\pip-install-942y89k5\pyinstaller\pip-wheel-metadata\pyinstaller.egg-info\top_level.txt
    writing manifest file 'C:\Users\Matěj\AppData\Local\Temp\pip-install-942y89k5\pyinstaller\pip-wheel-metadata\pyinstaller.egg-info\SOURCES.txt'
    reading manifest file 'C:\Users\Matěj\AppData\Local\Temp\pip-install-942y89k5\pyinstaller\pip-wheel-metadata\pyinstaller.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    Error in sitecustomize; set PYTHONVERBOSE for traceback:
    SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xec in position 0: unexpected end of data (sitecustomize.py, line 7)
    warning: no files found matching 'pyinstaller-gui.py'
    no previously-included directories found matching 'bootloader\build'
    no previously-included directories found matching 'bootloader\.waf-*'
    no previously-included directories found matching 'bootloader\.waf3-*'
    no previously-included directories found matching 'bootloader\waf-*'
    no previously-included directories found matching 'bootloader\waf3-*'
    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 'doc\source'
    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 'tests\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\Matěj\AppData\Local\Temp\pip-install-942y89k5\pyinstaller\pip-wheel-metadata\pyinstaller.egg-info\SOURCES.txt'
    creating 'C:\Users\Matěj\AppData\Local\Temp\pip-install-942y89k5\pyinstaller\pip-wheel-metadata\pyinstaller.dist-info'
    error: invalid command 'bdist_wheel'
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\matěj\appdata\local\programs\python\python38-32\python.exe' 'c:\users\matěj\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\MATJ~1\AppData\Local\Temp\tmpbbgwkiz9' Check the logs for full command output.
WARNING: You are using pip version 19.2.3, however version 21.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

Nutno podotknout, že nefunguje ani doporučovaný "python -m pip install --upgrade pip" příkaz, s podobným výsledkem.

Zkusil jsem: Zkusil jsem (podle internetu) přeinstalovat python, ale tentokrát při instalaci zakliknout "add python 8.1 to PATH". Stále nefunguje :/.

Chci docílit: Úspěšné instalace pyinstalleru.

 
Odpovědět
10.4.2021 18:39
Avatar
Pavel
Člen
Avatar
Pavel:11.4.2021 18:47

Muzes zkusit jeste toto:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

nasledovany:

python get-pip.py
Akceptované řešení
+20 Zkušeností
+2,50 Kč
Řešení problému
 
Nahoru Odpovědět
11.4.2021 18:47
Avatar
Odpovídá na Pavel
Matěj Čížek:11.4.2021 20:34

Moc díky, pomohlo to :)

 
Nahoru Odpovědět
11.4.2021 20:34
Děláme co je v našich silách, aby byly zdejší diskuze co nejkvalitnější. Proto do nich také mohou přispívat pouze registrovaní členové. Pro zapojení do diskuze se přihlas. Pokud ještě nemáš účet, zaregistruj se, je to zdarma.

Zobrazeno 3 zpráv z 3.