Path difficulties with Python 2.5 running on Cygwin

walterbyrd walterbyrd at iname.com
Fri May 8 11:29:59 EDT 2009


On May 8, 9:22 am, walterbyrd <walterb... at iname.com> wrote:
> It workerd fine yesterday, but it won't work today.
>
> I can still run python, but when I try to import csv, I get an error:
>
> File "/usr/lib/python2.5/csv.py", line 8 in <module>  . . .
>
> The module is there. I am guessing that python can not find it.

I should have added:

When I am in /cygdrive/c/Documents and Settings, everything works
fine. But, when I am in /cygdrive/c/Documents and Settings/wbyrd, it
no longer works.

I also get the error: Attribute error: module has no attribute
'reader'

I accidently named a script csv.py, put I deleted that. It seems like
I might need to clear out the python interprator, but I don't know how
to do that.





More information about the Python-list mailing list