在进行python项目打包的时候,报错提示:error: invalid command ‘bdist_wheel’
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
解决办法:
-
重新升级下 whell 和 setuptools的版本即可
pip install wheel pip install --upgrade setuptools
这样就可以了,打包成功了