Problem installing PyLast

141 views
Skip to first unread message

joH

unread,
Apr 13, 2011, 2:37:47 AM4/13/11
to pylast
Hi,

for whatever reasons installing PyLast does not work. I am not that
experienced with python. It would be great if you could help me
(Win 7 (64 bit), ActivePython 2.7.1.4 (ActiveState Software Inc.)
based on Python 2.7.1).

if I execute setup.py the following error occurs:

"""

Traceback (most recent call last):
File "C:\Users\joH\python\pylast-0.5.11\setup.py", line 31, in
<module>
license = "Apache2"
File "C:\Python27\lib\distutils\core.py", line 140, 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

"""

thank you in advance
joH

Stein Magnus Jodal

unread,
Apr 13, 2011, 5:23:29 AM4/13/11
to pyl...@googlegroups.com, joH
On Wed, Apr 13, 2011 at 08:37, joH <alia...@web.de> wrote:
> for whatever reasons installing PyLast does not work. I am not that
> experienced with python. It would be great if you could help me
> (Win 7 (64 bit), ActivePython 2.7.1.4 (ActiveState Software Inc.)
> based on Python 2.7.1).

Looks like you executed setup.py without any arguments? If so, try
running "python setup.py install", like the INSTALL file says.

--
Stein Magnus Jodal

joH

unread,
Apr 14, 2011, 5:51:22 AM4/14/11
to pylast
Thank you for your help. The problem was not a missing 'install'
statement;
but 'Python' simply didn't occur in the win-PATH variable. dumb error
I know :-) ...
Now everything is working!

On 13 Apr., 11:23, Stein Magnus Jodal <stein.mag...@jodal.no> wrote:
Reply all
Reply to author
Forward
0 new messages