Загрузка...

Траблы с компиляцией python kivy

Тема в разделе Python создана пользователем dKingpro 23 июн 2019. 216 просмотров

  1. dKingpro
    dKingpro Автор темы 23 июн 2019 броукбой 366 1 июл 2018
    Поцаны, пытаюсь закомпилить скрипт питона + kivy
    Код
    5083 INFO: PyInstaller: 3.5.dev0+5d872d3ee
    5084 INFO: Python: 3.6.5
    5085 INFO: Platform: Windows-10-10.0.18362-SP0
    5100 INFO: UPX is not available.
    [INFO ] [Logger ] Record log in C:\Users\dKing\.kivy\****\kivy_19-06-23_9.txt
    5893 INFO: [Logger ] Record log in C:\Users\dKing\.kivy\****\kivy_19-06-23_9.txt
    [INFO ] [deps ] Successfully imported "kivy_deps.gstreamer" 0.1.17
    5870 INFO: [deps ] Successfully imported "kivy_deps.gstreamer" 0.1.17
    [INFO ] [deps ] Successfully imported "kivy_deps.glew" 0.1.12
    5904 INFO: [deps ] Successfully imported "kivy_deps.glew" 0.1.12
    [INFO ] [deps ] Successfully imported "kivy_deps.sdl2" 0.1.22
    5904 INFO: [deps ] Successfully imported "kivy_deps.sdl2" 0.1.22
    [INFO ] [Kivy ] v1.11.1
    5905 INFO: [Kivy ] v1.11.1
    [INFO ] [Kivy ] Installed at "C:\Users\dKing\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\__init__.py"
    5905 INFO: [Kivy ] Installed at "C:\Users\dKing\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\__init__.py"
    [INFO ] [Python ] v3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32 bit (Intel)]
    5905 INFO: [Python ] v3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32 bit (Intel)]
    [INFO ] [Python ] Interpreter at "C:\Users\dKing\AppData\Local\Programs\Python\Python36-32\python.exe"
    5908 INFO: [Python ] Interpreter at "C:\Users\dKing\AppData\Local\Programs\Python\Python36-32\python.exe"
    Traceback (most recent call last):
    5932 WARNING: stderr: Traceback (most recent call last):
    File "C:\Users\dKing\AppData\Local\Programs\Python\Python36-32\lib\runpy.py", line 193, in _run_module_as_main
    5933 WARNING: stderr: File "C:\Users\dKing\AppData\Local\Programs\Python\Python36-32\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
    5989 WARNING: stderr: "__main__", mod_spec)
    File "C:\Users\dKing\AppData\Local\Programs\Python\Python36-32\lib\runpy.py", line 85, in _run_code
    5997 WARNING: stderr: File "C:\Users\dKing\AppData\Local\Programs\Python\Python36-32\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
    5999 WARNING: stderr: exec(code, run_globals)
    File "C:\Users\dKing\AppData\Local\Programs\Python\Python36-32\lib\site-packages\PyInstaller\__main__.py", line 118, in <module>
    6049 WARNING: stderr: File "C:\Users\dKing\AppData\Local\Programs\Python\Python36-32\lib\site-packages\PyInstaller\__main__.py", line 118, in <module>
    run()
    6168 WARNING: stderr: run()
    File "C:\Users\dKing\AppData\Local\Programs\Python\Python36-32\lib\site-packages\PyInstaller\__main__.py", line 111, in run
    6199 WARNING: stderr: File "C:\Users\dKing\AppData\Local\Programs\Python\Python36-32\lib\site-packages\PyInstaller\__main__.py", line 111, in run
    run_build(pyi_config, spec_file, **vars(args))
    6200 WARNING: stderr: run_build(pyi_config, spec_file, **vars(args))
    File "C:\Users\dKing\AppData\Local\Programs\Python\Python36-32\lib\site-packages\PyInstaller\__main__.py", line 63, in run_build
    6201 WARNING: stderr: File "C:\Users\dKing\AppData\Local\Programs\Python\Python36-32\lib\site-packages\PyInstaller\__main__.py", line 63, in run_build
    PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
    6205 WARNING: stderr: PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
    File "C:\Users\dKing\AppData\Local\Programs\Python\Python36-32\lib\site-packages\PyInstaller\building\build_main.py", line 844, in main
    6212 WARNING: stderr: File "C:\Users\dKing\AppData\Local\Programs\Python\Python36-32\lib\site-packages\PyInstaller\building\build_main.py", line 844, in main
    build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
    6339 WARNING: stderr: build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
    File "C:\Users\dKing\AppData\Local\Programs\Python\Python36-32\lib\site-packages\PyInstaller\building\build_main.py", line 791, in build
    6350 WARNING: stderr: File "C:\Users\dKing\AppData\Local\Programs\Python\Python36-32\lib\site-packages\PyInstaller\building\build_main.py", line 791, in build
    exec(code, spec_namespace)
    6366 WARNING: stderr: exec(code, spec_namespace)
    File "paintapp.spec", line 3, in <module>
    6369 WARNING: stderr: File "paintapp.spec", line 3, in <module>
    from kivy.deps import sdl2, glew
    6413 WARNING: stderr: from kivy.deps import sdl2, glew
    ImportError: cannot import name 'sdl2'
    6421 WARNING: stderr: ImportError: cannot import name 'sdl2'
    выдает эти ошибки, в интернете я решения не нашел
     
Загрузка...
Top