[Tutor] PythonHandler mpcp: AttributeError: 'module' object has no attribute 'argv'

Kent Johnson kent37 at tds.net
Sun May 20 00:14:36 CEST 2007


ShivKumar Anand wrote:
> dear all,
>  
> I am trying to run turbogears application using Apache on windows and 
> the start_prj.py is
>  
> from os.path import *
> import sys

> PythonHandler mpcp: AttributeError: 'module' object has no attribute 'argv'

Do you have a module somewhere called sys.py? Perhaps you are shadowing 
the builtin sys module.

Kent


More information about the Tutor mailing list