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

Jan-Wijbrand Kolman janwijbrand at gmail.com
Mon Sep 21 02:26:43 EDT 2009

Hello Jean Daniel,

Jean Daniel wrote:
> 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?

Ah, right, the version numbering of grok itself and grokproject do not 
necessarily sync up. However, currently it really is confusing as both 
version numbers are so close together...

Grokproject 1.0b1 will actually create a project for you based on Grok 
1.0b2. For both projects it is the intention to release finals Very Soon 

> 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

Hmm, I couldn't yet reproduce the error following these steps. We'll 
need to dig a bit deeper...


More information about the Grok-dev mailing list