We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.0b7
Windows 11
复现步骤/报错截图
(可描述您参考了哪些文档中的步骤,或自己在做哪些操作时遇到了问题,社区维护者可以通过该描述来尽可能复现您的情况)
问题很简单: qpt\modules\base.py中的existing_offline_installation_packages缺少对文件夹不存在的判断,添加后解决
@property def existing_offline_installation_packages(self): """ 存在的离线package :return: """ if not os.path.exists(self.download_packages_path): return [] whl_list = [whl for whl in os.listdir(self.download_packages_path) if os.path.splitext(whl)[-1] in [".gz", ".whl", "zip"]] return whl_list
↓建议在此处粘贴完整Requirements(Python第三方依赖)列表信息↓ Example: paddlepaddle==2.2.2 opencv-python>=4.1 ... ↑建议在此处粘贴完整Requirements(Python第三方依赖)列表信息↑
前略 →[2024-02-16 21:52:21,437] [DEBUG] | Saved d:\qpt_out\release\opt\packages\pillow-10.2.0-cp39-cp39-win_amd64.whl →[2024-02-16 21:52:21,880] [DEBUG] | Successfully downloaded opencv_python numpy loguru colorama win32_setctime pywin32 sk_video scipy tqdm torchvision typing_extensions requests charset_normalizer idna urllib3 certifi torch pillow →[2024-02-16 21:52:22,285] [DEBUG] | 终端命令执行成功! →[2024-02-16 21:52:22,285] [INFO] | 正在封装AutoRequirementsPackage-LocalInstallWhlOptOP →[2024-02-16 21:52:22,287] [INFO] | 正在加载CheckCompileCompatibility-CheckCompileCompatibilityOptOP Traceback (most recent call last): File "D:\PersonalDocument\Code\git\Practical-RIFE\build.py", line 15, in <module> module.make() File "D:\PersonalDocument\Code\git\Practical-RIFE\venv\lib\site-packages\qpt\executor.py", line 248, in make self._solve_module() File "D:\PersonalDocument\Code\git\Practical-RIFE\venv\lib\site-packages\qpt\executor.py", line 230, in _solve_module sub.pack() File "D:\PersonalDocument\Code\git\Practical-RIFE\venv\lib\site-packages\qpt\modules\base.py", line 260, in pack opt.run(op_path) File "D:\PersonalDocument\Code\git\Practical-RIFE\venv\lib\site-packages\qpt\modules\base.py", line 184, in run self.act() File "D:\PersonalDocument\Code\git\Practical-RIFE\venv\lib\site-packages\qpt\modules\package.py", line 442, in act for whl in self.existing_offline_installation_packages: File "D:\PersonalDocument\Code\git\Practical-RIFE\venv\lib\site-packages\qpt\modules\base.py", line 122, in existing_offline_installation_packages whl_list = [whl for whl in os.listdir(self.download_packages_path) FileNotFoundError: [WinError 3] 系统找不到指定的路径。: './qpt_out\\Release\\opt/packages'
↓建议在此处粘贴完整日志↓ ↑建议在此处粘贴完整日志↑
The text was updated successfully, but these errors were encountered:
Hi,开发者朋友,鉴于您是首次在QPT下新增Issue,请务必参考给定的Issue模板进行Issue的新增。 虽然形如版本号、打包日志等信息可能对你并不重要,但如未提供则可能会严重拖慢Issue的解决效率,因为他们对于QPT的维护者而言非常重要! 如您未按Issue模板进行内容补充,可关闭此Issue或Edit该Issue,社区维护者会对低效Issue直接Close,请悉知!
Sorry, something went wrong.
感谢找出bug,目前已更新代码,待出差回来统一测试后进行发布。
272fb29
GT-ZhangAcer
No branches or pull requests
QPT版本
1.0b7
操作系统版本
Windows 11
核心信息填写
复现步骤/报错截图
步骤描述
(可描述您参考了哪些文档中的步骤,或自己在做哪些操作时遇到了问题,社区维护者可以通过该描述来尽可能复现您的情况)
问题很简单:
qpt\modules\base.py中的existing_offline_installation_packages缺少对文件夹不存在的判断,添加后解决
【如报错则必须提供】Requirements文件内容
【如报错则必须提供】完整打包日志
完整运行日志(如打包时已报错,此处可选)
其他信息
The text was updated successfully, but these errors were encountered: