Can't run ./configure at installation

Matthew Knepley knepley at gmail.com
Mon Mar 24 20:26:50 CDT 2008


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




More information about the petsc-users mailing list