天天看点

python2下载pyinstaller_小白求助关于pyinstaller 打包

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

C:\Users\喵>pyinstaller -F TextProBarV2.py

154 INFO: PyInstaller: 3.5

155 INFO: Python: 3.5.3

155 INFO: Platform: Windows-10-10.0.17134-SP0

157 INFO: wrote C:\Users\喵\TextProBarV2.spec

162 INFO: UPX is not available.

Traceback (most recent call last):

File "C:\Users\喵\AppData\Local\Programs\Python\Python35-32\Scripts\pyinstaller-script.py", line 12, in

load_entry_point('PyInstaller==3.5', 'console_scripts', 'pyinstaller')()

File "C:\Users\喵\AppData\Local\Programs\Python\Python35-32\lib\site-packages\PyInstaller\__main__.py", line 111, in run

run_build(pyi_config, spec_file, **vars(args))

File "C:\Users\喵\AppData\Local\Programs\Python\Python35-32\lib\site-packages\PyInstaller\__main__.py", line 63, in run_build

PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)

File "C:\Users\喵\AppData\Local\Programs\Python\Python35-32\lib\site-packages\PyInstaller\building\build_main.py", line 844, in main

build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))

File "C:\Users\喵\AppData\Local\Programs\Python\Python35-32\lib\site-packages\PyInstaller\building\build_main.py", line 791, in build

exec(code, spec_namespace)

File "C:\Users\喵\TextProBarV2.spec", line 17, in

noarchive=False)

File "C:\Users\喵\AppData\Local\Programs\Python\Python35-32\lib\site-packages\PyInstaller\building\build_main.py", line 190, in __init__

raise ValueError("script '%s' not found" % script)

ValueError: script 'C:\Users\喵\TextProBarV2.py' not found

整了2个小时也不懂。刚学一周没有接触过编程,求助大佬