On Mon, Mar 24, 2008 at 8:57 PM, Ben Tay <zonexo at gmail.com> wrote: > Hmm, > > Tried to reinstall Python but it still can't work. Any other idea?
In order to install you must get a working copy of Python. I suspect you have not fully uninstalled that copy. I would reinstall cygwin completely, since it appears that you have a corrupt copy. Matt > Thanks again! > > Matthew Knepley wrote: > > Python is fundamentally broken. I recommend a reinstall. That > > 'import site' error indicates that Python cannot load its builtin library. > > > > Matt > > > > On Mon, Mar 24, 2008 at 8:22 PM, Ben Tay <zonexo at gmail.com> wrote: > > > >> Hi, > >> > >> I'm trying to install a new version of PETSc into windows using cygwin. > >> I met with the following error at installation: > >> > >> $ ./config/configure.py --with-cc='win32fe cl' --with-fc='win32fe f90' > >> --download-f-blas-lapack=1 LIBS="-L'/cygdrive/c/Program Files/Microsoft > >> Visual Studio/DF98/LIB'" > >> > >> > >> 'import site' failed; use -v for traceback > >> Traceback (most recent call last): > >> File "./config/configure.py", line 2, in <module> > >> import os > >> ImportError: No module named os > >> > >> May I know why is this happening? > >> > >> Thank you very much. > >> > >> Regards. > >> > >> > >> > > > > > > > > > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener
