乌里斯龙卷风。 50465信息:Matplotlib后端“WX”:已忽略 没有名为“wx”的模块 50917信息:Matplotlib后端“WXAgg”:已忽略 没有名为“wx”的模块 51381信息:Matplotlib后端“WXCairo”:已忽略 没有名为“wx”的模块 51872信息:Matplotlib后端“agg”:已添加 52325信息:Matplotlib后端“cairo”:已忽略 cairo后端要求安装pycairo>=1.11.0或CairoCffi 52952信息:Matplotlib后端“pdf”:已添加 53577信息:Matplotlib后端“pgf”:已添加 54038信息:Matplotlib后端“ps”:已添加 54513信息:Matplotlib后端“svg”:已添加 55119信息:Matplotlib后端“模板”:已添加 55415信息:加载模块挂钩“hook matplotlib.py”。。。 55822信息:加载模块挂钩“hook numpy.core.py”。。。 55960信息:加载模块挂钩“hook numpy.py”。。。 55962信息:加载模块挂钩“hook openpyxl.py”。。。 55999信息:加载模块挂钩“hook pandas.py”。。。 57080信息:加载模块挂钩“hook PIL.Image.py”。。。 57482信息:加载模块钩子“hook PIL.py”。。。 57486信息:不包括导入“tkinter” 57490信息:正在从模块PIL.ImageTk中删除tkinter的导入 57491信息:未找到要排除的导入:“PySide” 57492信息:不包括导入“PyQt4” 57498信息:不包括导入“PyQt5” 57502信息:正在从模块PIL.ImageQt中删除PyQt5的导入 57505信息:未找到要排除的导入:“FixTk” 57505信息:加载模块hook“hook PIL.SpiderImagePlugin.py”。。。 57508信息:不包括导入“tkinter” 57511信息:未找到要排除的导入:“FixTk” 57512信息:正在加载模块挂钩“hook-pkg_resources.py”。。。 57963信息:正在处理预安全导入模块挂钩win32com 回溯(最近一次呼叫最后一次): 文件“”,第2行,在 ModuleNotFoundError:没有名为“win32com”的模块 58051信息:正在处理预安全导入模块挂钩win32com 回溯(最近一次呼叫最后一次): 文件“”,第2行,在 ModuleNotFoundError:没有名为“win32com”的模块 58374信息:不包括导入“\uuuu main\uuuuuu” 58381信息:正在从模块pkg_资源中删除导入_main__; 58382信息:加载模块钩子“hook pycparser.py”。。。 58383信息:加载模块钩子“hook pydoc.py”。。。 58385信息:加载模块钩子“hook pygments.py”。。。 60907信息:加载模块挂钩“hook pytz.py”。。。 61021信息:加载模块挂钩“hook setuptools.py”。。。 61812信息:加载模块hook“hook-sqlite3.py”。。。 61932信息:正在加载模块挂钩“hook sysconfig.py”。。。 61935信息:正在加载模块钩子“hook xml.dom.domreg.py”。。。 61935信息:加载模块钩子“hook xml.etree.celementree.py”。。。 61936信息:加载模块钩子“hook xml.py”。。。 61938信息:加载模块挂钩“挂钩-\u tkinter.py”。。。 62151信息:正在检查树 62151信息:正在生成树,因为Tree-00.toc不存在 62152信息:构建Tree-00.toc 62250信息:正在检查树 62250信息:正在生成树,因为Tree-01.toc不存在 62251信息:构建Tree-01.toc 62480信息:正在查找ctypes DLL 62642信息:正在分析运行时挂钩。。。 62659信息:包括运行时钩子'pyi_rth_utkinter.py' 62661信息:包括运行时钩子'pyi_rth_multiprocessing.py' 62666信息:包括运行时钩子'pyi_rth_pkgres.py' 62668信息:包括运行时钩子'pyi_rth_traitlets.py' 62669信息:包括运行时挂钩'pyi_rth_mplconfig.py' 62671信息:包括运行时挂钩'pyi_rth_mpldata.py' 62673信息:包括运行时钩子'pyi_rth_certifi.py' 62713信息:寻找动态库 64667信息:寻找鸡蛋 64667信息:使用Python库c:\users\sguser\appdata\local\programs\Python\python38-32\python38.dll 64668信息:找到绑定重定向: [] 回溯(最近一次呼叫最后一次): 文件“c:\users\sguser\appdata\local\programs\python 38-32\lib\runpy.py”,第193行,在运行模块中作为主 返回运行代码(代码、主全局、无、, 文件“c:\users\sguser\appdata\local\programs\python 38-32\lib\runpy.py”,第86行,在运行代码中 exec(代码、运行\全局) 文件“C:\Users\sguser\AppData\Local\Programs\Python38-32\Scripts\pyinstaller.exe\ \uuuuuu main\uuuuuuuuu.py”,第9行,在 文件“c:\users\sguser\appdata\local\programs\python38-32\lib\site packages\PyInstaller\\uuuuuu main\uuuuuuuuu.py”,第114行,正在运行 运行构建(pyi\u配置,规范文件,**vars(args)) 文件“c:\users\sguser\appdata\local\programs\python38-32\lib\site packages\PyInstaller\\uuuuuuu main\uuuuuuuuu.py”,第65行,在run\u build中 PyInstaller.building.build\u main.main(pyi\u配置,spec\u文件,**kwargs) 文件“c:\users\sguser\appdata\local\programs\python 38-32\lib\site packages\PyInstaller\building\build\u main.py”,第734行,在main中 构建(specfile,kw.get('distpath'),kw.get('workpath'),kw.get('clean_build')) 文件“c:\users\sguser\appdata\local\programs\python 38-32\lib\site packages\PyInstaller\building\build\u main.py”,第681行,内部版本 exec(代码、规范和命名空间) 文件“C:\Users\sguser\Desktop\FoodNewsApp\main.spec”,第6行,在 a=分析(['main.py'], 文件“c:\users\sguser\appdata\local\programs\python 38-32\lib\site packages\PyInstaller\building\build\u main.py”,第244行,在\uuu init中__ self.\uuuu postinit\uuuuu() 文件“c:\users\sguser\appdata\local\programs\python38-32\lib\site packages\PyInstaller\building\datastruct.py”,第160行,在__ self.assembly() 汇编文件“c:\users\sguser\appdata\local\programs\python 38-32\lib\site packages\PyInstaller\building\build\u main.py”,第500行 对于compile_py_文件中的名称、路径、类型代码(new_toc,CONF['workpath']): 文件“c:\users\sguser\appdata\local\programs\python 38-32\lib\site packages\PyInstaller\utils\misc.py”,第152行,在compile\u py\u文件中 开放式(obj_fnm,'rb')作为fh: FileNotFoundError:[Errno 2]没有这样的文件或目录:'-' C:\Users\sguser\Desktop\FoodNewsApp>

乌里斯龙卷风。 50465信息:Matplotlib后端“WX”:已忽略 没有名为“wx”的模块 50917信息:Matplotlib后端“WXAgg”:已忽略 没有名为“wx”的模块 51381信息:Matplotlib后端“WXCairo”:已忽略 没有名为“wx”的模块 51872信息:Matplotlib后端“agg”:已添加 52325信息:Matplotlib后端“cairo”:已忽略 cairo后端要求安装pycairo>=1.11.0或CairoCffi 52952信息:Matplotlib后端“pdf”:已添加 53577信息:Matplotlib后端“pgf”:已添加 54038信息:Matplotlib后端“ps”:已添加 54513信息:Matplotlib后端“svg”:已添加 55119信息:Matplotlib后端“模板”:已添加 55415信息:加载模块挂钩“hook matplotlib.py”。。。 55822信息:加载模块挂钩“hook numpy.core.py”。。。 55960信息:加载模块挂钩“hook numpy.py”。。。 55962信息:加载模块挂钩“hook openpyxl.py”。。。 55999信息:加载模块挂钩“hook pandas.py”。。。 57080信息:加载模块挂钩“hook PIL.Image.py”。。。 57482信息:加载模块钩子“hook PIL.py”。。。 57486信息:不包括导入“tkinter” 57490信息:正在从模块PIL.ImageTk中删除tkinter的导入 57491信息:未找到要排除的导入:“PySide” 57492信息:不包括导入“PyQt4” 57498信息:不包括导入“PyQt5” 57502信息:正在从模块PIL.ImageQt中删除PyQt5的导入 57505信息:未找到要排除的导入:“FixTk” 57505信息:加载模块hook“hook PIL.SpiderImagePlugin.py”。。。 57508信息:不包括导入“tkinter” 57511信息:未找到要排除的导入:“FixTk” 57512信息:正在加载模块挂钩“hook-pkg_resources.py”。。。 57963信息:正在处理预安全导入模块挂钩win32com 回溯(最近一次呼叫最后一次): 文件“”,第2行,在 ModuleNotFoundError:没有名为“win32com”的模块 58051信息:正在处理预安全导入模块挂钩win32com 回溯(最近一次呼叫最后一次): 文件“”,第2行,在 ModuleNotFoundError:没有名为“win32com”的模块 58374信息:不包括导入“\uuuu main\uuuuuu” 58381信息:正在从模块pkg_资源中删除导入_main__; 58382信息:加载模块钩子“hook pycparser.py”。。。 58383信息:加载模块钩子“hook pydoc.py”。。。 58385信息:加载模块钩子“hook pygments.py”。。。 60907信息:加载模块挂钩“hook pytz.py”。。。 61021信息:加载模块挂钩“hook setuptools.py”。。。 61812信息:加载模块hook“hook-sqlite3.py”。。。 61932信息:正在加载模块挂钩“hook sysconfig.py”。。。 61935信息:正在加载模块钩子“hook xml.dom.domreg.py”。。。 61935信息:加载模块钩子“hook xml.etree.celementree.py”。。。 61936信息:加载模块钩子“hook xml.py”。。。 61938信息:加载模块挂钩“挂钩-\u tkinter.py”。。。 62151信息:正在检查树 62151信息:正在生成树,因为Tree-00.toc不存在 62152信息:构建Tree-00.toc 62250信息:正在检查树 62250信息:正在生成树,因为Tree-01.toc不存在 62251信息:构建Tree-01.toc 62480信息:正在查找ctypes DLL 62642信息:正在分析运行时挂钩。。。 62659信息:包括运行时钩子'pyi_rth_utkinter.py' 62661信息:包括运行时钩子'pyi_rth_multiprocessing.py' 62666信息:包括运行时钩子'pyi_rth_pkgres.py' 62668信息:包括运行时钩子'pyi_rth_traitlets.py' 62669信息:包括运行时挂钩'pyi_rth_mplconfig.py' 62671信息:包括运行时挂钩'pyi_rth_mpldata.py' 62673信息:包括运行时钩子'pyi_rth_certifi.py' 62713信息:寻找动态库 64667信息:寻找鸡蛋 64667信息:使用Python库c:\users\sguser\appdata\local\programs\Python\python38-32\python38.dll 64668信息:找到绑定重定向: [] 回溯(最近一次呼叫最后一次): 文件“c:\users\sguser\appdata\local\programs\python 38-32\lib\runpy.py”,第193行,在运行模块中作为主 返回运行代码(代码、主全局、无、, 文件“c:\users\sguser\appdata\local\programs\python 38-32\lib\runpy.py”,第86行,在运行代码中 exec(代码、运行\全局) 文件“C:\Users\sguser\AppData\Local\Programs\Python38-32\Scripts\pyinstaller.exe\ \uuuuuu main\uuuuuuuuu.py”,第9行,在 文件“c:\users\sguser\appdata\local\programs\python38-32\lib\site packages\PyInstaller\\uuuuuu main\uuuuuuuuu.py”,第114行,正在运行 运行构建(pyi\u配置,规范文件,**vars(args)) 文件“c:\users\sguser\appdata\local\programs\python38-32\lib\site packages\PyInstaller\\uuuuuuu main\uuuuuuuuu.py”,第65行,在run\u build中 PyInstaller.building.build\u main.main(pyi\u配置,spec\u文件,**kwargs) 文件“c:\users\sguser\appdata\local\programs\python 38-32\lib\site packages\PyInstaller\building\build\u main.py”,第734行,在main中 构建(specfile,kw.get('distpath'),kw.get('workpath'),kw.get('clean_build')) 文件“c:\users\sguser\appdata\local\programs\python 38-32\lib\site packages\PyInstaller\building\build\u main.py”,第681行,内部版本 exec(代码、规范和命名空间) 文件“C:\Users\sguser\Desktop\FoodNewsApp\main.spec”,第6行,在 a=分析(['main.py'], 文件“c:\users\sguser\appdata\local\programs\python 38-32\lib\site packages\PyInstaller\building\build\u main.py”,第244行,在\uuu init中__ self.\uuuu postinit\uuuuu() 文件“c:\users\sguser\appdata\local\programs\python38-32\lib\site packages\PyInstaller\building\datastruct.py”,第160行,在__ self.assembly() 汇编文件“c:\users\sguser\appdata\local\programs\python 38-32\lib\site packages\PyInstaller\building\build\u main.py”,第500行 对于compile_py_文件中的名称、路径、类型代码(new_toc,CONF['workpath']): 文件“c:\users\sguser\appdata\local\programs\python 38-32\lib\site packages\PyInstaller\utils\misc.py”,第152行,在compile\u py\u文件中 开放式(obj_fnm,'rb')作为fh: FileNotFoundError:[Errno 2]没有这样的文件或目录:'-' C:\Users\sguser\Desktop\FoodNewsApp>,python,python-3.x,pyinstaller,Python,Python 3.x,Pyinstaller,在处理最近的项目时,我遇到了这种情况。我运行pyinstaller时启用了virtualenv。当我停用环境并尝试运行时,它工作了 停用虚拟环境 使用pip重新安装所有模块

在处理最近的项目时,我遇到了这种情况。我运行pyinstaller时启用了virtualenv。当我停用环境并尝试运行时,它工作了

  • 停用虚拟环境
  • 使用pip重新安装所有模块
  • pyinstaller --onefile -w main.py
    
    C:\Users\sguser\Desktop\FoodNewsApp>pyinstaller --onefile --debug=all main.py
    103 INFO: PyInstaller: 3.6
    103 INFO: Python: 3.8.2
    105 INFO: Platform: Windows-10-10.0.18362-SP0
    107 INFO: wrote C:\Users\sguser\Desktop\FoodNewsApp\main.spec
    111 INFO: UPX is not available.
    123 INFO: Extending PYTHONPATH with paths
    ['C:\\Users\\sguser\\Desktop\\FoodNewsApp',
     'C:\\Users\\sguser\\Desktop\\FoodNewsApp']
    124 INFO: checking Analysis
    125 INFO: Building Analysis because Analysis-00.toc is non existent
    125 INFO: Initializing module dependency graph...
    133 INFO: Caching module graph hooks...
    154 INFO: Analyzing base_library.zip ...
    3454 INFO: Processing pre-find module path hook   distutils
    3456 INFO: distutils: retargeting to non-venv dir 'c:\\users\\sguser\\appdata\\local\\programs\\python\\python38-32\\lib'
    6922 INFO: Caching module dependency graph...
    7088 INFO: running Analysis Analysis-00.toc
    7109 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
      required by c:\users\sguser\appdata\local\programs\python\python38-32\python.exe
    7230 INFO: Analyzing C:\Users\sguser\Desktop\FoodNewsApp\main.py
    7911 INFO: Processing pre-find module path hook   site
    7913 INFO: site: retargeting to fake-dir 'c:\\users\\sguser\\appdata\\local\\programs\\python\\python38-32\\lib\\site-packages\\PyInstaller\\fake-modules'
    9213 INFO: Processing pre-safe import module hook   setuptools.extern.six.moves
    12127 INFO: Processing pre-safe import module hook   urllib3.packages.six.moves
    14474 INFO: Processing pre-safe import module hook   six.moves
    c:\users\sguser\appdata\local\programs\python\python38-32\lib\site-packages\traitlets\config\loader.py:795: SyntaxWarning: "is" with a literal. Did you mean "=="?
      if len(key) is 1:
    c:\users\sguser\appdata\local\programs\python\python38-32\lib\site-packages\traitlets\config\loader.py:804: SyntaxWarning: "is" with a literal. Did you mean "=="?
      if len(key) is 1:
    42337 INFO: Processing module hooks...
    42337 INFO: Loading module hook "hook-babel.py"...
    42464 INFO: Loading module hook "hook-certifi.py"...
    42466 INFO: Loading module hook "hook-distutils.py"...
    42468 INFO: Loading module hook "hook-encodings.py"...
    42588 INFO: Loading module hook "hook-IPython.py"...
    43072 INFO: Excluding import 'tkinter'
    43077 INFO:   Removing import of tkinter from module IPython.lib.clipboard
    43079 INFO: Import to be excluded not found: 'PySide'
    43079 INFO: Excluding import 'PyQt4'
    43085 INFO: Excluding import 'matplotlib'
    43091 INFO:   Removing import of matplotlib._pylab_helpers from module IPython.core.pylabtools
    43091 INFO:   Removing import of matplotlib from module IPython.core.pylabtools
    43092 INFO:   Removing import of matplotlib.pyplot from module IPython.core.pylabtools
    43092 INFO:   Removing import of matplotlib.backend_bases from module IPython.core.pylabtools
    43093 INFO:   Removing import of matplotlib.figure from module IPython.core.pylabtools
    43095 INFO: Excluding import 'PyQt5'
    43104 INFO: Import to be excluded not found: 'gtk'
    43105 INFO: Loading module hook "hook-jedi.py"...
    43351 INFO: Loading module hook "hook-lib2to3.py"...
    43359 INFO: Loading module hook "hook-lxml.etree.py"...
    43363 INFO: Loading module hook "hook-matplotlib.backends.py"...
    44222 INFO:   Matplotlib backend "GTK3Agg": ignored
        backend Gtk3Agg requires cairo
    44703 INFO:   Matplotlib backend "GTK3Cairo": ignored
        cairo backend requires that pycairo>=1.11.0 or cairocffiis installed
    45159 INFO:   Matplotlib backend "MacOSX": ignored
        cannot import name '_macosx' from 'matplotlib.backends' (c:\users\sguser\appdata\local\programs\python\python38-32\lib\site-packages\matplotlib\backends\__init__.py)
    c:\users\sguser\appdata\local\programs\python\python38-32\lib\site-packages\IPython\kernel\__init__.py:12: ShimWarning: The `IPython.kernel` package has been deprecated since IPython 4.0.You should import from ipykernel or jupyter_client instead.
      warn("The `IPython.kernel` package has been deprecated since IPython 4.0."
    46192 INFO:   Matplotlib backend "nbAgg": ignored
        No module named 'ipykernel'
    46691 INFO:   Matplotlib backend "Qt4Agg": ignored
        Failed to import any qt binding
    47147 INFO:   Matplotlib backend "Qt4Cairo": ignored
        cairo backend requires that pycairo>=1.11.0 or cairocffiis installed
    47643 INFO:   Matplotlib backend "Qt5Agg": ignored
        Failed to import any qt binding
    48105 INFO:   Matplotlib backend "Qt5Cairo": ignored
        cairo backend requires that pycairo>=1.11.0 or cairocffiis installed
    48767 INFO:   Matplotlib backend "TkAgg": added
    49406 INFO:   Matplotlib backend "TkCairo": ignored
        cairo backend requires that pycairo>=1.11.0 or cairocffiis installed
    49861 INFO:   Matplotlib backend "WebAgg": ignored
        Traceback (most recent call last):
      File "c:\users\sguser\appdata\local\programs\python\python38-32\lib\site-packages\matplotlib\backends\backend_webagg.py", line 27, in <module>
        import tornado
    ModuleNotFoundError: No module named 'tornado'
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "<string>", line 12, in <module>
      File "c:\users\sguser\appdata\local\programs\python\python38-32\lib\site-packages\matplotlib\backends\backend_webagg.py", line 29, in <module>
        raise RuntimeError("The WebAgg backend requires Tornado.")
    RuntimeError: The WebAgg backend requires Tornado.
    50465 INFO:   Matplotlib backend "WX": ignored
        No module named 'wx'
    50917 INFO:   Matplotlib backend "WXAgg": ignored
        No module named 'wx'
    51381 INFO:   Matplotlib backend "WXCairo": ignored
        No module named 'wx'
    51872 INFO:   Matplotlib backend "agg": added
    52325 INFO:   Matplotlib backend "cairo": ignored
        cairo backend requires that pycairo>=1.11.0 or cairocffiis installed
    52952 INFO:   Matplotlib backend "pdf": added
    53577 INFO:   Matplotlib backend "pgf": added
    54038 INFO:   Matplotlib backend "ps": added
    54513 INFO:   Matplotlib backend "svg": added
    55119 INFO:   Matplotlib backend "template": added
    55415 INFO: Loading module hook "hook-matplotlib.py"...
    55822 INFO: Loading module hook "hook-numpy.core.py"...
    55960 INFO: Loading module hook "hook-numpy.py"...
    55962 INFO: Loading module hook "hook-openpyxl.py"...
    55999 INFO: Loading module hook "hook-pandas.py"...
    57080 INFO: Loading module hook "hook-PIL.Image.py"...
    57482 INFO: Loading module hook "hook-PIL.py"...
    57486 INFO: Excluding import 'tkinter'
    57490 INFO:   Removing import of tkinter from module PIL.ImageTk
    57491 INFO: Import to be excluded not found: 'PySide'
    57492 INFO: Excluding import 'PyQt4'
    57498 INFO: Excluding import 'PyQt5'
    57502 INFO:   Removing import of PyQt5 from module PIL.ImageQt
    57505 INFO: Import to be excluded not found: 'FixTk'
    57505 INFO: Loading module hook "hook-PIL.SpiderImagePlugin.py"...
    57508 INFO: Excluding import 'tkinter'
    57511 INFO: Import to be excluded not found: 'FixTk'
    57512 INFO: Loading module hook "hook-pkg_resources.py"...
    57963 INFO: Processing pre-safe import module hook   win32com
    Traceback (most recent call last):
      File "<string>", line 2, in <module>
    ModuleNotFoundError: No module named 'win32com'
    58051 INFO: Processing pre-safe import module hook   win32com
    Traceback (most recent call last):
      File "<string>", line 2, in <module>
    ModuleNotFoundError: No module named 'win32com'
    58374 INFO: Excluding import '__main__'
    58381 INFO:   Removing import of __main__ from module pkg_resources
    58382 INFO: Loading module hook "hook-pycparser.py"...
    58383 INFO: Loading module hook "hook-pydoc.py"...
    58385 INFO: Loading module hook "hook-pygments.py"...
    60907 INFO: Loading module hook "hook-pytz.py"...
    61021 INFO: Loading module hook "hook-setuptools.py"...
    61812 INFO: Loading module hook "hook-sqlite3.py"...
    61932 INFO: Loading module hook "hook-sysconfig.py"...
    61935 INFO: Loading module hook "hook-xml.dom.domreg.py"...
    61935 INFO: Loading module hook "hook-xml.etree.cElementTree.py"...
    61936 INFO: Loading module hook "hook-xml.py"...
    61938 INFO: Loading module hook "hook-_tkinter.py"...
    62151 INFO: checking Tree
    62151 INFO: Building Tree because Tree-00.toc is non existent
    62152 INFO: Building Tree Tree-00.toc
    62250 INFO: checking Tree
    62250 INFO: Building Tree because Tree-01.toc is non existent
    62251 INFO: Building Tree Tree-01.toc
    62480 INFO: Looking for ctypes DLLs
    62642 INFO: Analyzing run-time hooks ...
    62659 INFO: Including run-time hook 'pyi_rth__tkinter.py'
    62661 INFO: Including run-time hook 'pyi_rth_multiprocessing.py'
    62666 INFO: Including run-time hook 'pyi_rth_pkgres.py'
    62668 INFO: Including run-time hook 'pyi_rth_traitlets.py'
    62669 INFO: Including run-time hook 'pyi_rth_mplconfig.py'
    62671 INFO: Including run-time hook 'pyi_rth_mpldata.py'
    62673 INFO: Including run-time hook 'pyi_rth_certifi.py'
    62713 INFO: Looking for dynamic libraries
    64667 INFO: Looking for eggs
    64667 INFO: Using Python library c:\users\sguser\appdata\local\programs\python\python38-32\python38.dll
    64668 INFO: Found binding redirects:
    []
    Traceback (most recent call last):
      File "c:\users\sguser\appdata\local\programs\python\python38-32\lib\runpy.py", line 193, in _run_module_as_main
        return _run_code(code, main_globals, None,
      File "c:\users\sguser\appdata\local\programs\python\python38-32\lib\runpy.py", line 86, in _run_code
        exec(code, run_globals)
      File "C:\Users\sguser\AppData\Local\Programs\Python\Python38-32\Scripts\pyinstaller.exe\__main__.py", line 9, in <module>
      File "c:\users\sguser\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\__main__.py", line 114, in run
        run_build(pyi_config, spec_file, **vars(args))
      File "c:\users\sguser\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\__main__.py", line 65, in run_build
        PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
      File "c:\users\sguser\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\building\build_main.py", line 734, in main
        build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
      File "c:\users\sguser\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\building\build_main.py", line 681, in build
        exec(code, spec_namespace)
      File "C:\Users\sguser\Desktop\FoodNewsApp\main.spec", line 6, in <module>
        a = Analysis(['main.py'],
      File "c:\users\sguser\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\building\build_main.py", line 244, in __init__
        self.__postinit__()
      File "c:\users\sguser\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\building\datastruct.py", line 160, in __postinit__
        self.assemble()
      File "c:\users\sguser\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\building\build_main.py", line 500, in assemble
        for name, path, typecode in compile_py_files(new_toc, CONF['workpath']):
      File "c:\users\sguser\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\utils\misc.py", line 152, in compile_py_files
        with open(obj_fnm, 'rb') as fh:
    FileNotFoundError: [Errno 2] No such file or directory: '-'
    
    C:\Users\sguser\Desktop\FoodNewsApp>