使用qpt打包方式打包后,运行Debug文件夹中的Debug应用程序,出现这种“No module named 'qpt' ” 提示

使用你的qpt打包方式打包后,运行Debug文件夹中的Debug应用程序,结果出现如下结果:

D:\AI-autohand\out\Debug>"./Python/python.exe" -c "import sys;sys.path.append('./Python');sys.path.append('./Python/Lib');sys.path.append('./Python/Lib/site-packages');sys.path.append('./Python/Scripts');import qpt.run as run"
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'qpt'

PC上已经安装了qpt ,这是怎么回事呢?

你使用的版本是哪个建议使用最新的版本,然后打包时看看加一下上去把qpt也加上