Closed JerryZheng89 closed 5 years ago
python3
os: win10 pyhton version:3.6.8 commnad: python setup.py 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'
升级 pip wheel setuptools等工具试试,我复现了这个问题,升级了就可以了
python -m pip install --upgrade pip
pip install --upgrade wheel
pip install --upgrade setuptools
python .\setup.py bdist_wheel
问题解决了!最后一句安装命令
COMTool-master>pip install .\dist\COMTool-1.7.8-py3-none-any.whl
python setup.py bdist_wheel pip install dist/COMTool-*.*.*-py3-none-any.whl comtool
我编译的时候报错 ,请问这是为什么呢?