py安装文件时报错usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]

py安装文件时报错usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]

    • 引言
    • solved

引言

报错:

python setup.py 
fastentrypoints
/usr/lib/python2.7/dist-packages/setuptools/dist.py:285: UserWarning: Normalizing 'v1.4.0
' to '1.4.0'
  normalized_version,
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: no commands supplied

solved

python setup.py build
sudo python setup.py install

你可能感兴趣的:(DeBug备忘)