Code Monkey home page Code Monkey logo

Comments (5)

github-actions avatar github-actions commented on June 2, 2024

Hi,开发者朋友,鉴于您是首次在QPT下新增Issue,请务必参考给定的Issue模板进行Issue的新增。
虽然形如版本号、打包日志等信息可能对你并不重要,但如未提供则可能会严重拖慢Issue的解决效率,因为他们对于QPT的维护者而言非常重要!
如您未按Issue模板进行内容补充,可关闭此Issue或Edit该Issue,社区维护者会对低效Issue直接Close,请悉知!

from qpt.

leesymbol avatar leesymbol commented on June 2, 2024

`from qpt.executor import CreateExecutableModule as CEM

module = (
CEM(
work_dir="./", # [项目文件夹]待打包的目录,并且该目录下需要有↓下方提到的py文件
launcher_py_path="ocr.py", # [主程序文件]用户启动EXE文件后,QPT要执行的py文件
save_path="./out",
requirements_file="requirements.txt",
),
)
module.make()`

不好意思,注释格式化为标题了,请忽略,核心代码如上,requirements_file是否启用都报错 我打印了下pkg.requires()是存在的,不太熟悉py,麻烦大佬看下

from qpt.

GT-ZhangAcer avatar GT-ZhangAcer commented on June 2, 2024

抱歉,这个是已知bug还没修,临时方案辛苦参考这个进行厂商#102

from qpt.

leesymbol avatar leesymbol commented on June 2, 2024

好的 谢谢🙏

from qpt.

Evopower avatar Evopower commented on June 2, 2024

我也遇到了这个问题

from qpt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.