ChinaRan0 / Simulate-fishing

针对企业钓鱼软件攻击模拟
17 stars 7 forks source link

打包报错 #1

Open cf48rty opened 7 months ago

cf48rty commented 7 months ago

Traceback (most recent call last): File "模拟.py", line 113, in File "subprocess.py", line 829, in init File "subprocess.py", line 1252, in _get_handles OSError: [WinError 6] 句柄无效。

ChinaRan0 commented 7 months ago

代码已更新,重新下载试一下。

cf48rty commented 7 months ago

Traceback (most recent call last): File "模拟.py", line 113, in File "subprocess.py", line 424, in check_output File "subprocess.py", line 505, in run File "subprocess.py", line 829, in init File "subprocess.py", line 1252, in _get_handles OSError: [WinError 6] 句柄无效。

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "模拟.py", line 123, in NameError: name 'output' is not defined 运行后错误更多了

ChinaRan0 commented 7 months ago

你的Python版本号是多少

cf48rty commented 7 months ago

Python 3.9.7

ChinaRan0 commented 7 months ago

请尝试更新pyinstaller

pip install --upgrade pyinstaller

我的版本pyinstaller v6.2.0可以正常打包,是没有问题的。

cf48rty commented 7 months ago

感谢大牛 估计是我pyinstaller的版本低了 已经解决