On Wed, Jul 14, 2010 at 1:25 PM, hao <[email protected]> wrote: > im following the tutorial from "The definite guide to pylons", I am > getting the error "pkg_resources.DistributionNotFound: HelloWorld" > when i try to start the paster serve
That happens sometimes on certain computers. It has to do with the current directory not being on the Python path. Generally, paying close attention to how you set up your virtualenv or install Pylons fixes it. > so i did some research, and found out i need to do "python setup.py > develop" but now im getting error: invalid command 'setup' I've never seen that before. Can you post the whole traceback in the pastebin? It could be the same problem (an incomplete Python path) at a higher level. Or a Setuptools bug, or an incomplete installation of Setuptools/Distribute. And of course, make sure you're in the directory containing setup.py. You're sure you didn't type "python setup.py setup develop"? That would be the most likely way to get that error. -- Mike Orr <[email protected]> -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
