PS D:\pssolanki\projects\client\smartStacks> pyinstaller .\smartStacks.spec 86 INFO: PyInstaller: 4.1 86 INFO: Python: 3.7.9 86 INFO: Platform: Windows-10-10.0.18362-SP0 88 INFO: UPX is not available. 90 INFO: Extending PYTHONPATH with paths ['D:\\pssolanki\\projects\\client\\smartStacks', 'D:\\pssolanki\\projects\\client\\smartStacks'] pygame 2.0.0 (SDL 2.0.12, python 3.7.9) Hello from the pygame community. https://www.pygame.org/contribute.html 150 INFO: checking Analysis 151 INFO: Building Analysis because Analysis-00.toc is non existent 151 INFO: Initializing module dependency graph... 155 INFO: Caching module graph hooks... 165 WARNING: Several hooks defined for module 'pygame'. Please take care they do not conflict. 171 INFO: Analyzing base_library.zip ... 2385 INFO: Processing pre-find module path hook distutils from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-distutils.py'. 2387 INFO: distutils: retargeting to non-venv dir 'c:\\program files\\python37\\lib' 3837 INFO: Caching module dependency graph... 3943 INFO: running Analysis Analysis-00.toc 3964 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable required by c:\program files\python37\python.exe 4037 INFO: Analyzing smartStacks.py 6458 INFO: Processing pre-safe import module hook urllib3.packages.six.moves from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module\\hook-urllib3.packages.six.moves.py'. 9821 INFO: Processing pre-find module path hook site from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-site.py'. 9822 INFO: site: retargeting to fake-dir 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\fake-modules' 11534 INFO: Processing pre-safe import module hook setuptools.extern.six.moves from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module\\hook-setuptools.extern.six.moves.py'. 16904 INFO: Processing pre-safe import module hook win32com from 'c:\\program files\\python37\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\pre_safe_import_module\\hook-win32com.py'. 21782 INFO: Processing pre-safe import module hook six.moves from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module\\hook-six.moves.py'. 48050 INFO: Processing module hooks... 48050 INFO: Loading module hook 'hook-certifi.py' from 'c:\\program files\\python37\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 48056 INFO: Loading module hook 'hook-IPython.py' from 'c:\\program files\\python37\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 48736 INFO: Excluding import of PyQt4 from module IPython.external.qt_loaders 48742 INFO: Excluding import of PyQt5.QtWidgets from module IPython.external.qt_loaders 48742 INFO: Excluding import of PyQt5 from module IPython.external.qt_loaders 48742 INFO: Excluding import of PyQt5.QtGui from module IPython.external.qt_loaders 48742 INFO: Excluding import of PyQt5.QtSvg from module IPython.external.qt_loaders 48742 INFO: Excluding import of PyQt5.QtCore from module IPython.external.qt_loaders 48754 INFO: Excluding import of tkinter from module IPython.lib.clipboard 48760 INFO: Excluding import of matplotlib.figure from module IPython.core.pylabtools 48760 INFO: Excluding import of matplotlib.backend_bases from module IPython.core.pylabtools 48760 INFO: Excluding import of matplotlib.pyplot from module IPython.core.pylabtools 48760 INFO: Excluding import of matplotlib from module IPython.core.pylabtools 48760 INFO: Excluding import of matplotlib._pylab_helpers from module IPython.core.pylabtools 48768 INFO: Excluding import of PySide from module IPython.external.qt_loaders 48768 INFO: Loading module hook 'hook-jedi.py' from 'c:\\program files\\python37\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 50105 INFO: Loading module hook 'hook-jinja2.py' from 'c:\\program files\\python37\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 50124 INFO: Loading module hook 'hook-jsonschema.py' from 'c:\\program files\\python37\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 50146 INFO: Loading module hook 'hook-nbconvert.py' from 'c:\\program files\\python37\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 50273 INFO: Loading module hook 'hook-nbformat.py' from 'c:\\program files\\python37\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 50337 INFO: Loading module hook 'hook-notebook.py' from 'c:\\program files\\python37\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 53450 INFO: Loading module hook 'hook-openpyxl.py' from 'c:\\program files\\python37\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 53587 INFO: Loading module hook 'hook-pycparser.py' from 'c:\\program files\\python37\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 53589 INFO: Loading module hook 'hook-pythoncom.py' from 'c:\\program files\\python37\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 54055 INFO: Loading module hook 'hook-pywintypes.py' from 'c:\\program files\\python37\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 54511 INFO: Loading module hook 'hook-win32com.py' from 'c:\\program files\\python37\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 54662 INFO: Loading module hook 'hook-win32ctypes.core.py' from 'c:\\program files\\python37\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 54916 INFO: Loading module hook 'hook-zmq.py' from 'c:\\program files\\python37\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 55161 INFO: Loading module hook 'hook-difflib.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 55168 INFO: Excluding import of doctest from module difflib 55169 INFO: Loading module hook 'hook-distutils.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 55171 INFO: Loading module hook 'hook-distutils.util.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 55181 INFO: Excluding import of lib2to3.refactor from module distutils.util 55182 INFO: Loading module hook 'hook-encodings.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 55278 INFO: Loading module hook 'hook-heapq.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 55285 INFO: Excluding import of doctest from module heapq 55285 INFO: Loading module hook 'hook-importlib_metadata.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 55288 INFO: Loading module hook 'hook-lib2to3.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 55425 INFO: Loading module hook 'hook-matplotlib.backends.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 56173 INFO: Matplotlib backend "GTK3Agg": ignored backend Gtk3Agg requires cairo 56530 INFO: Matplotlib backend "GTK3Cairo": ignored cairo backend requires that pycairo>=1.11.0 or cairocffiis installed 56927 INFO: Matplotlib backend "MacOSX": ignored cannot import name '_macosx' from 'matplotlib.backends' (c:\program files\python37\lib\site-packages\matplotlib\backends\__init__.py) 57964 INFO: Matplotlib backend "nbAgg": added -c:12: MatplotlibDeprecationWarning: The matplotlib.backends.backend_qt4agg backend was deprecated in Matplotlib 3.3 and will be removed two minor releases later. 58449 INFO: Matplotlib backend "Qt4Agg": added 58773 INFO: Matplotlib backend "Qt4Cairo": ignored cairo backend requires that pycairo>=1.11.0 or cairocffiis installed 59280 INFO: Matplotlib backend "Qt5Agg": added 59602 INFO: Matplotlib backend "Qt5Cairo": ignored cairo backend requires that pycairo>=1.11.0 or cairocffiis installed 60179 INFO: Matplotlib backend "TkAgg": added 60775 INFO: Matplotlib backend "TkCairo": ignored cairo backend requires that pycairo>=1.11.0 or cairocffiis installed 61364 INFO: Matplotlib backend "WebAgg": added 61981 INFO: Matplotlib backend "WX": added 62669 INFO: Matplotlib backend "WXAgg": added 63039 INFO: Matplotlib backend "WXCairo": ignored cairo backend requires that pycairo>=1.11.0 or cairocffiis installed 63446 INFO: Matplotlib backend "agg": added 63775 INFO: Matplotlib backend "cairo": ignored cairo backend requires that pycairo>=1.11.0 or cairocffiis installed 64360 INFO: Matplotlib backend "pdf": added 64948 INFO: Matplotlib backend "pgf": added 65419 INFO: Matplotlib backend "ps": added 65870 INFO: Matplotlib backend "svg": added 66416 INFO: Matplotlib backend "template": added 66939 INFO: Loading module hook 'hook-matplotlib.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 67304 INFO: Loading module hook 'hook-multiprocessing.util.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 67312 INFO: Excluding import of test from module multiprocessing.util 67312 INFO: Excluding import of test.support from module multiprocessing.util 67313 INFO: Loading module hook 'hook-numpy.core.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 67430 INFO: Loading module hook 'hook-numpy.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 67433 INFO: Loading module hook 'hook-numpy._pytesttester.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 67440 INFO: Excluding import of pytest from module numpy._pytesttester 67441 INFO: Loading module hook 'hook-pandas.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 68459 INFO: Loading module hook 'hook-pickle.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 68466 INFO: Excluding import of argparse from module pickle 68467 INFO: Loading module hook 'hook-PIL.Image.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 68781 INFO: Loading module hook 'hook-PIL.ImageFilter.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 68788 INFO: Excluding import of numpy from module PIL.ImageFilter 68788 INFO: Loading module hook 'hook-PIL.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 68794 INFO: Import to be excluded not found: 'FixTk' 68799 INFO: Excluding import of PyQt5.QtGui from module PIL.ImageQt 68799 INFO: Excluding import of PyQt5.QtCore from module PIL.ImageQt 68806 INFO: Excluding import of tkinter from module PIL.ImageTk 68807 INFO: Loading module hook 'hook-PIL.SpiderImagePlugin.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 68812 INFO: Import to be excluded not found: 'FixTk' 68816 INFO: Loading module hook 'hook-pkg_resources.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 69837 WARNING: Hidden import "pkg_resources.markers" not found! 69845 INFO: Excluding import of __main__ from module pkg_resources 69846 INFO: Loading module hook 'hook-pygments.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 71892 INFO: Loading module hook 'hook-PyQt5.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 72022 INFO: Loading module hook 'hook-PyQt5.QtCore.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 72100 INFO: Loading module hook 'hook-PyQt5.QtGui.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 72278 INFO: Loading module hook 'hook-PyQt5.QtSvg.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 72685 INFO: Loading module hook 'hook-PyQt5.QtWidgets.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 73049 INFO: Loading module hook 'hook-pytz.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 73253 INFO: Loading module hook 'hook-scipy.linalg.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 73256 INFO: Loading module hook 'hook-scipy.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 73262 INFO: Loading module hook 'hook-scipy.sparse.csgraph.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 73267 INFO: Loading module hook 'hook-scipy.special._ellip_harm_2.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 73268 INFO: Loading module hook 'hook-scipy.special._ufuncs.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 73270 INFO: Loading module hook 'hook-scipy.stats._stats.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 73272 INFO: Loading module hook 'hook-setuptools.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 74149 INFO: Excluding import of setuptools.py33compat from module setuptools.package_index 74150 INFO: Excluding import of setuptools.py33compat from module setuptools.depends 74156 INFO: Excluding import of setuptools.py27compat from module setuptools.command.easy_install 74158 INFO: Excluding import of setuptools.py27compat from module setuptools.package_index 74158 INFO: Excluding import of setuptools.py27compat from module setuptools.depends 74159 INFO: Loading module hook 'hook-shelve.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 74171 INFO: Loading module hook 'hook-sqlite3.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 74262 INFO: Loading module hook 'hook-sysconfig.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 74264 INFO: Loading module hook 'hook-wcwidth.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 74276 INFO: Loading module hook 'hook-xml.dom.domreg.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 74278 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 74279 INFO: Loading module hook 'hook-xml.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 74280 INFO: Loading module hook 'hook-_tkinter.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 74459 INFO: checking Tree 74459 INFO: Building Tree because Tree-00.toc is non existent 74462 INFO: Building Tree Tree-00.toc 74537 INFO: checking Tree 74537 INFO: Building Tree because Tree-01.toc is non existent 74539 INFO: Building Tree Tree-01.toc 74663 INFO: checking Tree 74663 INFO: Building Tree because Tree-02.toc is non existent 74666 INFO: Building Tree Tree-02.toc 74684 INFO: Loading module hook 'hook-packaging.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 74687 INFO: Loading module hook 'hook-setuptools.msvc.py' from 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks'... 74704 INFO: Excluding import of numpy from module setuptools.msvc 74879 INFO: Looking for ctypes DLLs 75143 INFO: Analyzing run-time hooks ... 75168 INFO: Including run-time hook 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgres.py' 75171 INFO: Including run-time hook 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_win32api.py' 75173 INFO: Including run-time hook 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_win32comgenpy.py' 75177 INFO: Including run-time hook 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pyqt5.py' 75178 INFO: Including run-time hook 'c:\\program files\\python37\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\rthooks\\pyi_rth_traitlets.py' 75182 INFO: Including run-time hook 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_mplconfig.py' 75184 INFO: Including run-time hook 'c:\\program files\\python37\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\rthooks\\pyi_rth_certifi.py' 75186 INFO: Including run-time hook 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py' 75189 INFO: Including run-time hook 'c:\\program files\\python37\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth__tkinter.py' 75269 INFO: Looking for dynamic libraries 77161 WARNING: lib not found: libzmq.cp37-win_amd64.pyd dependency of c:\program files\python37\lib\site-packages\zmq\backend\cython\_proxy_steerable.cp37-win_amd64.pyd 77171 WARNING: lib not found: libzmq.cp37-win_amd64.pyd dependency of c:\program files\python37\lib\site-packages\zmq\backend\cython\message.cp37-win_amd64.pyd 77180 WARNING: lib not found: libzmq.cp37-win_amd64.pyd dependency of c:\program files\python37\lib\site-packages\zmq\backend\cython\_device.cp37-win_amd64.pyd 77194 WARNING: lib not found: libzmq.cp37-win_amd64.pyd dependency of c:\program files\python37\lib\site-packages\zmq\backend\cython\_version.cp37-win_amd64.pyd 77203 WARNING: lib not found: libzmq.cp37-win_amd64.pyd dependency of c:\program files\python37\lib\site-packages\zmq\backend\cython\_poll.cp37-win_amd64.pyd 77218 WARNING: lib not found: libzmq.cp37-win_amd64.pyd dependency of c:\program files\python37\lib\site-packages\zmq\backend\cython\utils.cp37-win_amd64.pyd 77231 WARNING: lib not found: libzmq.cp37-win_amd64.pyd dependency of c:\program files\python37\lib\site-packages\zmq\backend\cython\socket.cp37-win_amd64.pyd 77239 WARNING: lib not found: libzmq.cp37-win_amd64.pyd dependency of c:\program files\python37\lib\site-packages\zmq\backend\cython\error.cp37-win_amd64.pyd 77247 WARNING: lib not found: libzmq.cp37-win_amd64.pyd dependency of c:\program files\python37\lib\site-packages\zmq\backend\cython\context.cp37-win_amd64.pyd 78518 INFO: Looking for eggs 78518 INFO: Using Python library c:\program files\python37\python37.dll 78520 INFO: Found binding redirects: [] 78568 INFO: Warnings written to D:\pssolanki\projects\client\smartStacks\build\smartStacks\warn-smartStacks.txt 79024 INFO: Graph cross-reference written to D:\pssolanki\projects\client\smartStacks\build\smartStacks\xref-smartStacks.html 79290 INFO: Appending 'datas' from .spec 79309 INFO: checking PYZ 79309 INFO: Building PYZ because PYZ-00.toc is non existent 79310 INFO: Building PYZ (ZlibArchive) D:\pssolanki\projects\client\smartStacks\build\smartStacks\PYZ-00.pyz 84348 INFO: Building PYZ (ZlibArchive) D:\pssolanki\projects\client\smartStacks\build\smartStacks\PYZ-00.pyz completed successfully. 84437 INFO: checking PKG 84437 INFO: Building PKG because PKG-00.toc is non existent 84443 INFO: Building PKG (CArchive) PKG-00.pkg 84516 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully. 84518 INFO: Bootloader c:\program files\python37\lib\site-packages\PyInstaller\bootloader\Windows-64bit\runw.exe 84519 INFO: checking EXE 84523 INFO: Building EXE because EXE-00.toc is non existent 84524 INFO: Building EXE from EXE-00.toc 84527 INFO: Copying icons from ['D:\\pssolanki\\projects\\client\\smartStacks\\icon.ico'] Traceback (most recent call last): File "c:\program files\python37\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "c:\program files\python37\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Program Files\Python37\Scripts\pyinstaller.exe\__main__.py", line 7, in File "c:\program files\python37\lib\site-packages\PyInstaller\__main__.py", line 114, in run run_build(pyi_config, spec_file, **vars(args)) File "c:\program files\python37\lib\site-packages\PyInstaller\__main__.py", line 65, in run_build PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs) File "c:\program files\python37\lib\site-packages\PyInstaller\building\build_main.py", line 720, in main build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build')) File "c:\program files\python37\lib\site-packages\PyInstaller\building\build_main.py", line 667, in build exec(code, spec_namespace) File ".\smartStacks.spec", line 29, in console=False , icon=r'D:\pssolanki\projects\client\smartStacks\icon.ico') File "c:\program files\python37\lib\site-packages\PyInstaller\building\api.py", line 448, in __init__ self.__postinit__() File "c:\program files\python37\lib\site-packages\PyInstaller\building\datastruct.py", line 160, in __postinit__ self.assemble() File "c:\program files\python37\lib\site-packages\PyInstaller\building\api.py", line 542, in assemble icon.CopyIcons(tmpnm, self.icon) File "c:\program files\python37\lib\site-packages\PyInstaller\utils\win32\icon.py", line 216, in CopyIcons return CopyIcons_FromIco(dstpath, [srcpath]) File "c:\program files\python37\lib\site-packages\PyInstaller\utils\win32\icon.py", line 153, in CopyIcons_FromIco for i, f in enumerate(icons): File "c:\program files\python37\lib\site-packages\PyInstaller\utils\win32\icon.py", line 120, in __init__ file.seek(e.dwImageOffset, 0) OSError: [Errno 22] Invalid argument