[Grok-dev] grokproject kicks a win32api error

Christian Klinger cklinger at novareto.de
Mon Oct 12 06:21:56 EDT 2009


Hi,

can you try to install in an Python-2.5 environment?
I think this could be an issue with Python-2.6.

HtH
Christian
>
> When I grokproject I get the error pasted below.  I ran on Widows Vista 64
> bit.. once as User, once as Admin.  No luck with either.  Problem appears to
> be the win32api module.. how can I fix that?
>
> v/r
> paul
>
> C:\Users\xxx>grokproject mygrokprojectname
> C:\Python26\lib\site-packages\grokproject-1.0-py2.6.egg\grokproject\utils.py:4:
> DeprecationWarning: the sha module is deprecated; use the hashlib module
> instead
>
>    import sha
> Enter user (Name of an initial administrator user): admin
> Enter passwd (Password for the initial administrator user):
> Downloading info about versions...
> Traceback (most recent call last):
>    File "C:\Python26\Scripts\grokproject-script.py", line 8, in<module>
>      load_entry_point('grokproject==1.0', 'console_scripts', 'grokproject')()
>    File
> "C:\Python26\lib\site-packages\grokproject-1.0-py2.6.egg\grokproject\main
> .py", line 80, in main
>      + extra_args)
>    File
> "C:\Python26\lib\site-packages\pastescript-1.7.3-py2.6.egg\paste\script\c
> ommand.py", line 218, in run
>      result = self.command()
>    File
> "C:\Python26\lib\site-packages\pastescript-1.7.3-py2.6.egg\paste\script\c
> reate_distro.py", line 125, in command
>      vars = template.check_vars(vars, self)
>    File
> "C:\Python26\lib\site-packages\grokproject-1.0-py2.6.egg\grokproject\temp
> lates.py", line 107, in check_vars
>      create_buildout_default_file()
>    File
> "C:\Python26\lib\site-packages\grokproject-1.0-py2.6.egg\grokproject\util
> s.py", line 45, in create_buildout_default_file
>      import win32api
> ImportError: No module named win32api
>
> C:\Users\xxx>
>
>



More information about the Grok-dev mailing list