Hello,

I'm not sure if this is the problem, but in Windows non-administrator
users by default can't write to the Program Files folder (if I
remember correctly). If paster needs to write something to your Python
installation folder it will probably fail.

Note that the usual installation folder for Python is C:\Python2.5.

On 14 Jun, 04:26, Mathieu Gagnon <[EMAIL PROTECTED]> wrote:
> Hello everybody,
> After a fresh install of 0.9.5 on windows I got a confusing exception
> about the decorator package when doing the command "paster create ...".
> Really, I was getting stuck until I tried the same command as an
> administrator user and guess what, it worked !
> I give the traceback for info :
>
> paster --version
> pastescript 1.3.4 from
> c:\progra~1\python-2.5\lib\site-packages\pastescript-1.3.4-py2.5.egg
> (python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
> (Intel)])
>
> paster create --template=pylons helloworld
> Traceback (most recent call last):
>   File "C:\Progra~1\Python-2.5\Scripts\paster-script.py", line 8, in
> <module>
>     load_entry_point('pastescript==1.3.4', 'console_scripts', 'paster')()
>   File
> "c:\progra~1\python-2.5\lib\site-packages\pastescript-1.3.4-py2.5.egg\paste\script\command.py",
> line 76, in run
>     invoke(command, command_name, options, args[1:])
>   File
> "c:\progra~1\python-2.5\lib\site-packages\pastescript-1.3.4-py2.5.egg\paste\script\command.py",
> line 115, in invoke
>     exit_code = runner.run(args)
>   File
> "c:\progra~1\python-2.5\lib\site-packages\pastescript-1.3.4-py2.5.egg\paste\script\command.py",
> line 210, in run
>     result = self.command()
>   File
> "c:\progra~1\python-2.5\lib\site-packages\pastescript-1.3.4-py2.5.egg\paste\script\create_distro.py",
> line 69, in command
>     self.extend_templates(templates, tmpl_name)
>   File
> "c:\progra~1\python-2.5\lib\site-packages\pastescript-1.3.4-py2.5.egg\paste\script\create_distro.py",
> line 233, in extend_templates
>     tmpl = entry.load()(entry.name)
>   File "build/bdist.linux-i686/egg/pkg_resources.py", line 1911, in load
>   File "build/bdist.linux-i686/egg/pkg_resources.py", line 1924, in require
>   File "build/bdist.linux-i686/egg/pkg_resources.py", line 524, in resolve
> pkg_resources.DistributionNotFound: decorator>=2.0.1
>
> --
> mat


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to