为python安装扩展模块时报错——error: invalid command 'bdist_wheel'

具体过程:

 

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

 

 

 

 

=======================================

 

posted on 2022-10-03 14:11  Angry_Panda  阅读(909)  评论(0)    收藏  举报

导航