Skip to content

Instantly share code, notes, and snippets.

@Mrestof
Last active July 3, 2020 22:22
Show Gist options
  • Save Mrestof/1ecb2dfb3b8df35f379edc48c81b385a to your computer and use it in GitHub Desktop.
Save Mrestof/1ecb2dfb3b8df35f379edc48c81b385a to your computer and use it in GitHub Desktop.
PS C:\Users\malwareOS\Documents\GitHub\FRDownloader\bin\build\FRDownloader> .\FRDownloader.exe
Error loading Python DLL 'C:\Users\malwareOS\Documents\GitHub\FRDownloader\bin\build\FRDownloader\python38.dll'.
LoadLibrary: ═х эрщфхэ єърчрээ√щ ьюфєы№.
Traceback (most recent call last):
File "Lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_pkgres.py", line 13, in <module>
File "C:\Users\malwareOS\kivy_venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
exec(bytecode, module.__dict__)
File "lib\site-packages\pkg_resources\__init__.py", line 85, in <module>
ModuleNotFoundError: No module named 'pkg_resources.py2_warn'
[8240] Failed to execute script pyi_rth_pkgres
C:\Users\malwareOS\Documents\GitHub\FRDownloader\bin (master -> origin)
(kivy_venv) λ python -m PyInstaller FRDownloader.spec
70 INFO: PyInstaller: 3.6
71 INFO: Python: 3.8.3
72 INFO: Platform: Windows-10-10.0.19041-SP0
79 INFO: UPX is not available.
84 INFO: Extending PYTHONPATH with paths
['C:\\Users\\malwareOS\\Documents\\GitHub\\FRDownloader',
'C:\\Users\\malwareOS\\Documents\\GitHub\\FRDownloader\\bin']
85 INFO: checking Analysis
85 INFO: Building Analysis because Analysis-00.toc is non existent
85 INFO: Initializing module dependency graph...
88 INFO: Caching module graph hooks...
99 INFO: Analyzing base_library.zip ...
3559 INFO: Processing pre-find module path hook distutils
3560 INFO: distutils: retargeting to non-venv dir 'C:\\Users\\malwareOS\\AppData\\Local\\Programs\\Python\\Python38-32\\lib'
7253 INFO: Caching module dependency graph...
7428 INFO: running Analysis Analysis-00.toc
7431 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
required by C:\Users\malwareOS\kivy_venv\Scripts\python.exe
7532 INFO: Analyzing ..\main.py
7728 INFO: Processing pre-safe import module hook urllib3.packages.six.moves
11517 INFO: Processing module hooks...
11518 INFO: Loading module hook "hook-certifi.py"...
11520 INFO: Loading module hook "hook-distutils.py"...
11522 INFO: Loading module hook "hook-encodings.py"...
11613 INFO: Loading module hook "hook-kivy.py"...
[INFO ] [Logger ] Record log in C:\Users\malwareOS\.kivy\logs\kivy_20-07-04_10.txt
11634 INFO: [Logger ] Record log in C:\Users\malwareOS\.kivy\logs\kivy_20-07-04_10.txt
[INFO ] [deps ] Successfully imported "kivy_deps.gstreamer" 0.1.18
11633 INFO: [deps ] Successfully imported "kivy_deps.gstreamer" 0.1.18
[INFO ] [deps ] Successfully imported "kivy_deps.angle" 0.2.0
11635 INFO: [deps ] Successfully imported "kivy_deps.angle" 0.2.0
[INFO ] [deps ] Successfully imported "kivy_deps.glew" 0.2.0
11636 INFO: [deps ] Successfully imported "kivy_deps.glew" 0.2.0
[INFO ] [deps ] Successfully imported "kivy_deps.sdl2" 0.2.0
11636 INFO: [deps ] Successfully imported "kivy_deps.sdl2" 0.2.0
[INFO ] [Kivy ] v2.0.0rc3, git-20c14b2, 20200615
11637 INFO: [Kivy ] v2.0.0rc3, git-20c14b2, 20200615
[INFO ] [Kivy ] Installed at "C:\Users\malwareOS\kivy_venv\lib\site-packages\kivy\__init__.py"
11637 INFO: [Kivy ] Installed at "C:\Users\malwareOS\kivy_venv\lib\site-packages\kivy\__init__.py"
[INFO ] [Python ] v3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:20:19) [MSC v.1925 32 bit (Intel)]
11637 INFO: [Python ] v3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:20:19) [MSC v.1925 32 bit (Intel)]
[INFO ] [Python ] Interpreter at "C:\Users\malwareOS\kivy_venv\Scripts\python.exe"
11638 INFO: [Python ] Interpreter at "C:\Users\malwareOS\kivy_venv\Scripts\python.exe"
[INFO ] [Factory ] 185 symbols loaded
11643 INFO: [Factory ] 185 symbols loaded
[INFO ] [Logger ] Record log in C:\Users\malwareOS\.kivy\logs\kivy_20-07-04_11.txt
[INFO ] [deps ] Successfully imported "kivy_deps.gstreamer" 0.1.18
[INFO ] [deps ] Successfully imported "kivy_deps.angle" 0.2.0
[INFO ] [deps ] Successfully imported "kivy_deps.glew" 0.2.0
[INFO ] [deps ] Successfully imported "kivy_deps.sdl2" 0.2.0
[INFO ] [Kivy ] v2.0.0rc3, git-20c14b2, 20200615
[INFO ] [Kivy ] Installed at "C:\Users\malwareOS\kivy_venv\lib\site-packages\kivy\__init__.py"
[INFO ] [Python ] v3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:20:19) [MSC v.1925 32 bit (Intel)]
[INFO ] [Python ] Interpreter at "C:\Users\malwareOS\kivy_venv\Scripts\python.exe"
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer, img_gif ignored)
[INFO ] [Logger ] Record log in C:\Users\malwareOS\.kivy\logs\kivy_20-07-04_12.txt
[INFO ] [deps ] Successfully imported "kivy_deps.gstreamer" 0.1.18
[INFO ] [deps ] Successfully imported "kivy_deps.angle" 0.2.0
[INFO ] [deps ] Successfully imported "kivy_deps.glew" 0.2.0
[INFO ] [deps ] Successfully imported "kivy_deps.sdl2" 0.2.0
[INFO ] [Kivy ] v2.0.0rc3, git-20c14b2, 20200615
[INFO ] [Kivy ] Installed at "C:\Users\malwareOS\kivy_venv\lib\site-packages\kivy\__init__.py"
[INFO ] [Python ] v3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:20:19) [MSC v.1925 32 bit (Intel)]
[INFO ] [Python ] Interpreter at "C:\Users\malwareOS\kivy_venv\Scripts\python.exe"
[INFO ] [AudioGstplayer] Using Gstreamer 1.16.0.0
[INFO ] [Audio ] Providers: audio_gstplayer, audio_sdl2 (audio_ffpyplayer ignored)
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer, img_gif ignored)
[CRITICAL] [Camera ] Unable to find any valuable Camera provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes
picamera - ModuleNotFoundError: No module named 'picamera'
File "C:\Users\malwareOS\kivy_venv\lib\site-packages\kivy\core\__init__.py", line 58, in core_select_lib
mod = __import__(name='{2}.{0}.{1}'.format(
File "C:\Users\malwareOS\kivy_venv\lib\site-packages\kivy\core\camera\camera_picamera.py", line 18, in <module>
from picamera import PiCamera
gi - ModuleNotFoundError: No module named 'gi'
File "C:\Users\malwareOS\kivy_venv\lib\site-packages\kivy\core\__init__.py", line 58, in core_select_lib
mod = __import__(name='{2}.{0}.{1}'.format(
File "C:\Users\malwareOS\kivy_venv\lib\site-packages\kivy\core\camera\camera_gi.py", line 10, in <module>
from gi.repository import Gst
opencv - ModuleNotFoundError: No module named 'cv2'
File "C:\Users\malwareOS\kivy_venv\lib\site-packages\kivy\core\__init__.py", line 58, in core_select_lib
mod = __import__(name='{2}.{0}.{1}'.format(
File "C:\Users\malwareOS\kivy_venv\lib\site-packages\kivy\core\camera\camera_opencv.py", line 48, in <module>
import cv2
[INFO ] [Clipboard ] Provider: winctypes
[INFO ] [Factory ] 185 symbols loaded
[INFO ] [Window ] Provider: sdl2
[INFO ] [GL ] Using the "OpenGL" graphics system
[INFO ] [GL ] GLEW initialization succeeded
[INFO ] [GL ] Backend used <glew>
[INFO ] [GL ] OpenGL version <b'4.6.0 NVIDIA 446.14'>
[INFO ] [GL ] OpenGL vendor <b'NVIDIA Corporation'>
[INFO ] [GL ] OpenGL renderer <b'GeForce GTX 760/PCIe/SSE2'>
[INFO ] [GL ] OpenGL parsed version: 4, 6
[INFO ] [GL ] Shading version <b'4.60 NVIDIA'>
[INFO ] [GL ] Texture max size <16384>
[INFO ] [GL ] Texture max units <32>
[INFO ] [Window ] auto add sdl2 input provider
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [Spelling ] Provider: enchant
[INFO ] [Text ] Provider: sdl2
[INFO ] [VideoGstplayer] Using Gstreamer 1.16.0.0
[INFO ] [Video ] Provider: gstplayer
29454 INFO: Excluding import 'tkinter'
29462 INFO: Excluding import 'twisted'
29467 INFO: Removing import of twisted from module kivy.support
29469 INFO: Excluding import '_tkinter'
29477 INFO: Loading module hook "hook-lib2to3.py"...
29482 INFO: Loading module hook "hook-PIL.Image.py"...
29909 INFO: Loading module hook "hook-PIL.py"...
29911 INFO: Import to be excluded not found: 'FixTk'
29912 INFO: Excluding import 'PyQt5'
29914 INFO: Removing import of PyQt5 from module PIL.ImageQt
29915 INFO: Import to be excluded not found: 'PyQt4'
29915 INFO: Import to be excluded not found: 'PySide'
29915 INFO: Excluding import 'tkinter'
29918 INFO: Removing import of tkinter from module PIL.ImageTk
29919 INFO: Loading module hook "hook-PIL.SpiderImagePlugin.py"...
29920 INFO: Excluding import 'tkinter'
29922 INFO: Import to be excluded not found: 'FixTk'
29922 INFO: Loading module hook "hook-pkg_resources.py"...
30219 INFO: Processing pre-safe import module hook win32com
30626 INFO: Excluding import '__main__'
30629 INFO: Removing import of __main__ from module pkg_resources
30629 INFO: Loading module hook "hook-pydoc.py"...
30630 INFO: Loading module hook "hook-pygments.py"...
32625 INFO: Loading module hook "hook-pythoncom.py"...
32889 INFO: Loading module hook "hook-pywintypes.py"...
33147 INFO: Loading module hook "hook-sysconfig.py"...
33148 INFO: Loading module hook "hook-win32com.py"...
33569 INFO: Loading module hook "hook-xml.dom.domreg.py"...
33571 INFO: Loading module hook "hook-xml.etree.cElementTree.py"...
33571 INFO: Loading module hook "hook-xml.py"...
33572 INFO: Loading module hook "hook-_tkinter.py"...
33746 INFO: checking Tree
33746 INFO: Building Tree because Tree-00.toc is non existent
33746 INFO: Building Tree Tree-00.toc
33839 INFO: checking Tree
33839 INFO: Building Tree because Tree-01.toc is non existent
33840 INFO: Building Tree Tree-01.toc
33853 INFO: Loading module hook "hook-docutils.py"...
35644 INFO: Loading module hook "hook-enchant.py"...
35682 INFO: Import to be excluded not found: 'enchant.tests'
35791 INFO: Looking for ctypes DLLs
35915 INFO: Analyzing run-time hooks ...
35926 INFO: Including run-time hook 'pyi_rth__tkinter.py'
35928 INFO: Including run-time hook 'pyi_rth_multiprocessing.py'
35933 INFO: Including run-time hook 'pyi_rth_kivy.py'
35935 INFO: Including run-time hook 'pyi_rth_pkgres.py'
35937 INFO: Including run-time hook 'pyi_rth_win32comgenpy.py'
35940 INFO: Including run-time hook 'pyi_rth_enchant.py'
35941 INFO: Including run-time hook 'pyi_rth_gstreamer.py'
35942 INFO: Including run-time hook 'pyi_rth_certifi.py'
35971 INFO: Looking for dynamic libraries
36050 WARNING: lib not found: libgcc_s_dw2-1.dll dependency of C:\Users\malwareOS\kivy_venv\lib\site-packages\enchant\data\mingw32\lib\enchant-2\enchant_hunspell.dll
36053 WARNING: lib not found: libenchant-2.dll dependency of C:\Users\malwareOS\kivy_venv\lib\site-packages\enchant\data\mingw32\lib\enchant-2\enchant_hunspell.dll
36056 WARNING: lib not found: libhunspell-1.6-0.dll dependency of C:\Users\malwareOS\kivy_venv\lib\site-packages\enchant\data\mingw32\lib\enchant-2\enchant_hunspell.dll
36080 WARNING: lib not found: libffi-6.dll dependency of C:\Users\malwareOS\kivy_venv\lib\site-packages\enchant\data\mingw32\bin\libgobject-2.0-0.dll
36356 WARNING: lib not found: libffi-6.dll dependency of C:\Users\malwareOS\kivy_venv\lib\site-packages\enchant\data\mingw32\bin\libp11-kit-0.dll
38019 INFO: Looking for eggs
38020 INFO: Using Python library C:\Users\malwareOS\kivy_venv\Scripts\python38.dll
38020 INFO: Found binding redirects:
[]
38032 INFO: Warnings written to C:\Users\malwareOS\Documents\GitHub\FRDownloader\bin\build\FRDownloader\warn-FRDownloader.txt
38277 INFO: Graph cross-reference written to C:\Users\malwareOS\Documents\GitHub\FRDownloader\bin\build\FRDownloader\xref-FRDownloader.html
38390 INFO: checking PYZ
38391 INFO: Building PYZ because PYZ-00.toc is non existent
38391 INFO: Building PYZ (ZlibArchive) C:\Users\malwareOS\Documents\GitHub\FRDownloader\bin\build\FRDownloader\PYZ-00.pyz
41488 INFO: Building PYZ (ZlibArchive) C:\Users\malwareOS\Documents\GitHub\FRDownloader\bin\build\FRDownloader\PYZ-00.pyz completed successfully.
41541 INFO: checking PKG
41541 INFO: Building PKG because PKG-00.toc is non existent
41542 INFO: Building PKG (CArchive) PKG-00.pkg
41569 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
41571 INFO: Bootloader C:\Users\malwareOS\kivy_venv\lib\site-packages\PyInstaller\bootloader\Windows-32bit\run.exe
41572 INFO: checking EXE
41572 INFO: Building EXE because EXE-00.toc is non existent
41572 INFO: Building EXE from EXE-00.toc
41573 INFO: Appending archive to EXE C:\Users\malwareOS\Documents\GitHub\FRDownloader\bin\build\FRDownloader\FRDownloader.exe
41581 INFO: Building EXE from EXE-00.toc completed successfully.
41585 INFO: checking Tree
41585 INFO: Building Tree because Tree-02.toc is non existent
41585 INFO: Building Tree Tree-02.toc
41594 INFO: checking Tree
41595 INFO: Building Tree because Tree-03.toc is non existent
41595 INFO: Building Tree Tree-03.toc
41599 INFO: checking Tree
41599 INFO: Building Tree because Tree-04.toc is non existent
41599 INFO: Building Tree Tree-04.toc
41604 INFO: checking COLLECT
41604 INFO: Building COLLECT because COLLECT-00.toc is non existent
41605 INFO: Building COLLECT COLLECT-00.toc
43458 INFO: Building COLLECT COLLECT-00.toc completed successfully.
# -*- mode: python ; coding: utf-8 -*-
from kivy_deps import sdl2, glew
block_cipher = None
a = Analysis(['..\\main.py'],
pathex=['C:\\Users\\malwareOS\\Documents\\GitHub\\FRDownloader\\bin'],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
[],
exclude_binaries=True,
name='FRDownloader',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=True )
coll = COLLECT(exe, Tree('..\\'),
a.binaries,
a.zipfiles,
a.datas,
*[Tree(p) for p in (sdl2.dep_bins + glew.dep_bins)],
strip=False,
upx=True,
upx_exclude=[],
name='FRDownloader')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment