天天看點

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個小時也不懂。剛學一周沒有接觸過程式設計,求助大佬