I am not able to setup pydb2 ! Any help !

Robert Kern rkern at ucsd.edu
Wed Sep 21 12:59:05 EDT 2005


vj wrote:
> When I run the setup.py script , it throws an error
> 
> Traceback (most recent call last):
>   File "C:\vijay\db2\utils\PyDB2-1.1.0-2.tar\PyDB2-1.1.0\setup.py",
> line 57, in -toplevel-
>     libraries=[ db2lib ],
>   File "C:\Python24\lib\distutils\core.py", line 137, in setup
>     raise SystemExit, gen_usage(dist.script_name) + "\nerror: %s" % msg
> SystemExit: 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
> 
> 
> Please let me know , what should have been the issue.

You have to give it a command. You probably want

  python setup.py install

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter




More information about the Python-list mailing list