ModuleNotFoundError:通过运行.exe文件,没有名为“ execnet.rsync”的模块

问题描述

hello.py文件中有代码

split = int(str(var).split('.'))

我有一个虚拟环境,其中安装了所有模块。我已经使用pyinstaller hello.py

创建了可执行文件dist / hello中创建的

hello.exe文件。运行此hello.exe文件时,出现错误

def test(arg):
    pytest.main(args=arg,plugins=[pytest_html.plugin,xdist.plugin])
if __name__ == '__main__':
    arg = ['test_modules','-n','2']
    test(arg)

有人可以帮我解决吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)