赞
踩
好的,所以我试着把一个小python脚本做成一个exe文件,我使用的是pyinstaller。(我使用的命令是pyinstaller.exe --windowed --icon=pics\icon.ico -F --onefile main.py)我已经知道了如何使用pyinstaller,在我制作这个python程序的早期版本时,它就已经起作用了。现在不行了,我不知道为什么。它的意思是,它试图生成的文件已经存在,但它不存在(我已经检查过),并且它给了我这个错误:765 INFO: PyInstaller: 3.4
765 INFO: Python: 3.7.1
765 INFO: Platform: Windows-10-10.0.17134-SP0
Traceback (most recent call last):
File "C:\Users\username\AppData\Local\Programs\Python\Python37\Scripts\pyinstaller-script.py", line 11, in
load_entry_point('pyinstaller==3.4', 'console_scripts', 'pyinstaller')()
File "c:\users\username\appdata\local\programs\python\python37\lib\site-packages\pyinstaller-3.4-py3.7.egg\PyInstaller\__main__.py", line 109, in run
spec_file = run_makespec(**vars(args))
File "c:\users\username\appdata\lo
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。