On Thu, Jun 11, 2009 at 6:09 AM, MorneLouw<[email protected]> wrote:
>
> I'm trying to set up Pylons on my work's Windows PC and get stuck at
> the point where I need to run the virtualenv.py script.
>
> I get the following error:
>
> ---------------------------
> C:\downloads\python>C:\Python31\python.exe "C:\downloads\python
> \virtualenv-1.3.3\virtualenv.py" sandbox
>  File "C:\downloads\python\virtualenv-1.3.3\virtualenv.py", line 13
>    except ImportError, e:
>                               ^
> SyntaxError: invalid syntax
> ---------------------------

Just to mention that Pylons is not supported on Python 3 yet.  This
error is due to a change in the "except" syntax (it's now "except
ImportError as e").  This is just one of many things that need to be
changed in Pylons' dependency packages before Pylons itself can be
ported.

As for win32api, yes you need it.  And yes, this is underdocumented in Python.

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

Reply via email to