352693018 发表于 2019-4-11 23:21:02

python第三方库pyinstaller打包报错

C:\Users\35269>pyinstaller -Ffish.py
91 INFO: PyInstaller: 3.4
92 INFO: Python: 3.7.2
92 INFO: Platform: Windows-10-10.0.17134-SP0
93 INFO: wrote C:\Users\35269\fish.spec
97 INFO: UPX is not available.
Traceback (most recent call last):
File "C:\Users\35269\AppData\Local\Programs\Python\Python37-32\Scripts\pyinstaller-script.py", line 11, in <module>
    load_entry_point('PyInstaller==3.4', 'console_scripts', 'pyinstaller')()
File "C:\Users\35269\AppData\Local\Programs\Python\Python37-32\lib\site-packages\PyInstaller\__main__.py", line 111, in run
    run_build(pyi_config, spec_file, **vars(args))
File "C:\Users\35269\AppData\Local\Programs\Python\Python37-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\35269\AppData\Local\Programs\Python\Python37-32\lib\site-packages\PyInstaller\building\build_main.py", line 838, in main
    build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File "C:\Users\35269\AppData\Local\Programs\Python\Python37-32\lib\site-packages\PyInstaller\building\build_main.py", line 784, in build
    exec(text, spec_namespace)
File "<string>", line 17, in <module>
File "C:\Users\35269\AppData\Local\Programs\Python\Python37-32\lib\site-packages\PyInstaller\building\build_main.py", line 189, in __init__
    raise ValueError("script '%s' not found" % script)
ValueError: script 'C:\Users\35269\fish.py' not found
(确实是在目标文件下执行打包操作,但是报错script not found)

352693018 发表于 2019-4-11 23:23:00

怎么不能悬赏的吗?

352693018 发表于 2019-4-12 09:26:32

有哪位大神知道吗?

352693018 发表于 2019-4-13 09:34:37

{:5_100:}

不忘初心1020 发表于 2019-4-14 16:11:25

求解

xdd1997 发表于 2020-7-5 19:55:00

不忘初心1020 发表于 2019-4-14 16:11
求解

此楼牛逼呀
页: [1]
查看完整版本: python第三方库pyinstaller打包报错