具体过程:
devil@hp:~/lab$ ./bazel-bin/python/pip_package/build_pip_package /tmp/dmlab_pkg
2022年 10月 03日 星期一 14:05:54 CST : === Building 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'
=======================================
解决方法:
pip install wheel
pip install --upgrade setuptools
pip install --upgrade pip
=======================================
标签:wheel,py,python,setup,bdist,cmd1,cmd2,--,pip From: https://www.cnblogs.com/devilmaycry812839668/p/16750474.html