[Grok-dev] tutorial crashes at 'grokproject Sample'

Jean Daniel jeandaniel.browne at gmail.com
Sun Sep 20 13:57:58 EDT 2009


I am trying to install grok, following the tutorial, inside a
virtualenv with the option --no-sites-packages but I am stuck at the
line 'grokproject Sample'.

1. grokproject 1.0b1 is downloaded from Pypi while 1.0b2 was
announced. Should I work from the SVN?

2. the problem seems to come from pastescript which is required in
version 1.6 while only 1.7 is available. Is there a workaround to make
it work with 1.7 or to downgrade pastescript?

Here are the steps:

maggie:~ jd$ sudo easy_install-2.5  -U virtualenv
Using /Library/Python/2.5/site-packages/virtualenv-1.3.3-py2.5.egg

maggie:~ jd$ virtualenv --no-site-packages virtualgrok

maggie:~ jd$ cd virtualgrok && source bin/activate

(virtualgrok)maggie:virtualgrok jd$ easy_install grokproject
Using /Users/jd/virtualgrok/lib/python2.5/site-packages/grokproject-1.0b1-py2.5.egg

(virtualgrok)maggie:virtualgrok jd$ bin/grokproject Sample

Traceback (most recent call last):
  File "/Users/jd/virtualgrok/bin/grokproject", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/Users/jd/virtualgrok/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg/pkg_resources.py",
line 2562, in <module>
  File "/Users/jd/virtualgrok/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg/pkg_resources.py",
line 626, in require
  File "/Users/jd/virtualgrok/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg/pkg_resources.py",
line 524, in resolve
pkg_resources.DistributionNotFound: PasteScript>=1.6


More information about the Grok-dev mailing list