Kenton Varda <kenton <at> google.com> writes:

> 
> 
> I haven't seen this problem, but my wild guess is that for some reason 
your environment is using distutils instead of setuptools.  They are 
similar, but distutils lacks some features, such as the "test" command. 
 I'm not sure why this would happen, though.
> On Tue, Nov 9, 2010 at 1:05 AM, cy <oramah <at> gmail.com> wrote:
> 
> As told in protobuf-2.3.0/python/README.TXT, I run '$python setup.py
> test'. However failed as bellow:
> /usr/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown
> distribution option: 'namespace_packages'
>   warnings.warn(msg)
> /usr/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown
> distribution option: 'test_suite'
>   warnings.warn(msg)
> 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 'test'
> What's the problem?
> --
> You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
> To post to this group, send email to protobuf <at> googlegroups.com.
> To unsubscribe from this group, send email to protobuf+unsubscribe <at> 
googlegroups.com.
> For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.
> 
> 
> 
> 

Simply installing setuptools per the above solution did indeed work for me. 
Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to