bin ziemlich neu zu Python und habe einen YT Downloader Script geschrieben welches von einer txt Datei die url's nimmt und sie nachhinein downloadet.
Beim ausführen des Scripts habe ich keine Probleme, doch ich habe es zu exe umgewandelt durch Pyinstaller und bekomme jedes mal beim Ausführen der exe Datei einen "IndexError: index of list out of range".


Und danach schließt sich das Programm.
Hat jemand vielleicht eine Lösung?
Vielen Dank im Voraus.
PyInstaller Log:
Code: Alles auswählen
C:\Users\MadPy\Desktop\downloader.py>pyinstaller dl.py
69 INFO: PyInstaller: 3.4
69 INFO: Python: 3.5.0
70 INFO: Platform: Windows-10.0.17134
71 INFO: wrote C:\Users\MadPy\Desktop\downloader.py\dl.spec
73 INFO: UPX is not available.
75 INFO: Extending PYTHONPATH with paths
['C:\\Users\\MadPy\\Desktop\\downloader.py',
'C:\\Users\\MadPy\\Desktop\\downloader.py']
75 INFO: checking Analysis
75 INFO: Building Analysis because Analysis-00.toc is non existent
75 INFO: Initializing module dependency graph...
77 INFO: Initializing module graph hooks...
79 INFO: Analyzing base_library.zip ...
2402 INFO: running Analysis Analysis-00.toc
2727 INFO: Caching module hooks...
2732 INFO: Analyzing C:\Users\MadPy\Desktop\downloader.py\dl.py
5945 INFO: Loading module hooks...
5946 INFO: Loading module hook "hook-xml.py"...
5981 INFO: Loading module hook "hook-xml.etree.cElementTree.py"...
5982 INFO: Loading module hook "hook-encodings.py"...
6057 INFO: Loading module hook "hook-pydoc.py"...
6114 INFO: Looking for ctypes DLLs
6208 INFO: Analyzing run-time hooks ...
6223 INFO: Looking for dynamic libraries
6309 INFO: Looking for eggs
6309 INFO: Using Python library c:\users\MadPy\appdata\local\programs\python\python35\python35.dll
6309 INFO: Found binding redirects:
[]
6315 INFO: Warnings written to C:\Users\MadPy\Desktop\downloader.py\build\dl\warn-dl.txt
6466 INFO: Graph cross-reference written to C:\Users\MadPy\Desktop\downloader.py\build\dl\xref-dl.html
6497 INFO: checking PYZ
6498 INFO: Building PYZ because PYZ-00.toc is non existent
6498 INFO: Building PYZ (ZlibArchive) C:\Users\MadPy\Desktop\downloader.py\build\dl\PYZ-00.pyz
7159 INFO: Building PYZ (ZlibArchive) C:\Users\MadPy\Desktop\downloader.py\build\dl\PYZ-00.pyz completed successfully.
7187 INFO: checking PKG
7188 INFO: Building PKG because PKG-00.toc is non existent
7188 INFO: Building PKG (CArchive) PKG-00.pkg
7202 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
7203 INFO: Bootloader c:\users\MadPy\appdata\local\programs\python\python35\lib\site-packages\PyInstaller\bootloader\Windows-64bit\run.exe
7204 INFO: checking EXE
7204 INFO: Building EXE because EXE-00.toc is non existent
7204 INFO: Building EXE from EXE-00.toc
7205 INFO: Appending archive to EXE C:\Users\MadPy\Desktop\downloader.py\build\dl\dl.exe
7208 INFO: Building EXE from EXE-00.toc completed successfully.
7210 INFO: checking COLLECT
7210 INFO: Building COLLECT because COLLECT-00.toc is non existent
7211 INFO: Building COLLECT COLLECT-00.toc
7507 INFO: Building COLLECT COLLECT-00.toc completed successfully.