importlib_resources包需要一个version.txt文件。你可以使用--add-data选项将此文件添加到构建中。下面是一个如何将所需的version.txt文件包括进来的示例: 这条命令告诉PyInstaller将importlib_resources文件夹中的version.txt文件包括到你的构建中名为importlib_resources的新文件夹中。 注意: pyinstaller命令使用\字符来使...
Successfully installed altgraph-0.17.4 importlib-metadata-6.8.0 packaging-23.2 pefile-2023.2.7 pyinstaller-6.0.0 pyinstaller-hooks-contrib-2023.9 pywin32-ctypes-0.2.2 zipp-3.17.0 WARNING: There was an error checking the latest version of pip.(venv)PS D:\project\modify_docx_xlsx_left_header> ...
Successfully installed altgraph-0.17.4 importlib-metadata-6.8.0 packaging-23.2 pefile-2023.2.7 pyinstaller-6.0.0 pyinstaller-hooks-contrib-2023.9 pywin32-ctypes-0.2.2 zipp-3.17.0 WARNING: There was an error checking the latest version of pip. (venv) PS D:\project\modify_docx_xlsx_left_header>...
Resources Topics AI DevOps Security Software Development View all Explore Learning Pathways White papers, Ebooks, Webinars Customer Stories Partners Open Source GitHub Sponsors Fund open source developers The ReadME Project GitHub community articles Repositories Topics Trending Collections Ent...
'Nathaniel Manista' via PyInstaller [PyInstaller] Re: pyinstaller error "c:\users\ra\appdata\local\programs\python\python37\lib\site-packages\importlib_resources\version.txt" when adding binary and data files. bwoodsend [PyInstaller] pyinstaller (auto-py-to-exe) error: Project output will not...
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional), zipimport (top-level), PyInstaller.loader.pyimod02_archive (delayed, conditional) missing module named urllib.pathname2url - imported by urllib (conditional), PyInstaller.lib.modulegraph._compat (co...
encodings.quopri_codec missing module named 'packaging.specifiers' - imported by pkg_resources missing module named packaging - imported by pkg_resources missing module named 'importlib.machinery' - imported by pkg_resources missing module named nt._isdir - imported by nt, ntpath missing module named...
🥭本文内容:Python 程序编译:Pyinstaller库的使用 --- Python 程序编译:Pyinstaller库的使用 1.Py...
Description of the issue One of our dependencies idna recently updated to a new version 3.4, for their 3.4 release they moved to using pyproject.toml. As part of this they moved from setuptools to flit as the build backend. setuptools pu...
File"transformers\utils\versions.py", line107,inrequire_version importlib.metadata.PackageNotFoundError: The'tqdm>=4.27'distribution wasnotfoundandisrequired by this application. Try: pip install transformers -Uorpip install -e'.[dev]'ifyou're working with git master ...