pyinstaller install 打包 python包,失败了,应该在哪个路径下执行python安装包
C:UsersAdministratorDesktop>pyinstaller install tenso.py
187 INFO: PyInstaller: 3.5
187 INFO: Python: 2.7.15
187 INFO: Platform: Windows-7-6.1.7601-SP1
192 INFO: wrote C:UsersAdministratorDesktopinstall.spec
194 INFO: UPX is not available.
Traceback (most recent call last):
File "e:programdataanaconda22librunpy.py", line 174, in _run_module_as_mai
n
"__main__", fname, loader, pkg_name)
File "e:programdataanaconda22librunpy.py", line 72, in _run_code
exec code in run_globals
File "E:ProgramDataAnaconda22Scriptspyinstaller.exe__main__.py", line 7,
in <module>
File "e:programdataanaconda22libsite-packagesPyInstaller__main__.py", li
ne 111, in run
run_build(pyi_config, spec_file, **vars(args))
File "e:programdataanaconda22libsite-packagesPyInstaller__main__.py", li
ne 63, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "e:programdataanaconda22libsite-packagesPyInstallerbuildingbuild_m
ain.py", line 844, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'
))
File "e:programdataanaconda22libsite-packagesPyInstallerbuildingbuild_m
ain.py", line 791, in build
exec(code, spec_namespace)
File "C:UsersAdministratorDesktopinstall.spec", line 17, in <module>
noarchive=False)
File "e:programdataanaconda22libsite-packagesPyInstallerbuildingbuild_m
ain.py", line 190, in __init__
raise ValueError("script '%s' not found" % script)
ValueError: script 'C:UsersAdministratorDesktopinstall' not found
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
File "e:programdataanaconda22libshutil.py", line 97, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: 'C:\Users\Administrator\AppData\Roami