cxfreeze: error: no such option: --no-copy-deps

Nicolas Study 2020-07-30 11:48:14
cmd下执行python打包,提示cxfreeze: error: no such option: --no-copy-deps,安装的是cx_Freeze-6.2-cp37-cp37m-win32.whl


C:\>cxfreeze C:\zhanyan\系统\Python\hello.py --target-dir C:\zhanyan\系统\Python\ --no-copy-deps
Usage: cxfreeze [options] [SCRIPT]

Freeze a Python script and all of its referenced modules to a base
executable which can then be distributed without requiring a Python
installation.

cxfreeze: error: no such option: --no-copy-deps


C:\>cxfreeze --version epseps
cxfreeze 6.2
Copyright (c) 2007-2020 Anthony Tuininga. All rights reserved.
Copyright (c) 2001-2006 Computronix Corporation. All rights reserved.


C:\>python
Python 3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 14 2019, 23:09:19) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.


请问是什么原因?



...全文
343 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
Nicolas Study 2020-07-30
  • 打赏
  • 举报
回复
大佬们速指教

37,720

社区成员

发帖
与我相关
我的任务
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
  • 脚本语言(Perl/Python)社区
  • IT.BOB
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧