rare error with python at execution

Fredrik Lundh fredrik at pythonware.com
Thu Jul 6 07:33:19 EDT 2006


Luis Morales wrote:

> But now I get this error everytime I run a script and I have no idea. It can
> be a simple print 'hello' that it wont work
>
> This is the error I get
>
> 'import site' failed; use -v for traceback
>
> Traceback (most recent call last):
>
>  File "D:\Archivos de programa\ActiveState Komodo
> 3.5\lib\support\dbgp\bin\pydbgp.py", line 61, in ?
>
>    if os.environ.has_key("PYDBGP_PATH"):
>
> AttributeError: 'module' object has no attribute 'environ'

have you perhaps added a file named "os.py" to your project ?

</F> 






More information about the Python-list mailing list