Neutree / COMTool

Cross platform communicate assistant(Serial/network/terminal tool)( 跨平台 串口调试助手 网络调试助手 终端工具 linux windows mac Raspberry Pi )支持插件和二次开发
https://neucrack.com/p/186
GNU Lesser General Public License v3.0
1.8k stars 330 forks source link

source code 编译参数问题error: invalid command 'bdist_wheel' #13

Closed JerryZheng89 closed 5 years ago

JerryZheng89 commented 5 years ago

python setup.py bdist_wheel pip install dist/COMTool-*.*.*-py3-none-any.whl comtool 我编译的时候报错 ,请问这是为什么呢?

Neutree commented 5 years ago

python3

JerryZheng89 commented 5 years ago

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'
Neutree commented 5 years ago

升级 pip wheel setuptools等工具试试,我复现了这个问题,升级了就可以了

python -m pip install --upgrade pip
 pip install --upgrade wheel
 pip install --upgrade setuptools
 python .\setup.py bdist_wheel
JerryZheng89 commented 5 years ago

问题解决了!最后一句安装命令 COMTool-master>pip install .\dist\COMTool-1.7.8-py3-none-any.whl