[f2py] how to configure f2py on windows XP?
"ian" <[email protected]>
| Newsgroups | gmane.comp.python.f2py.user |
|---|---|
| Message-ID | <[email protected]> |
Dear Pearu, Someone told me to install python2.6. I installed python-2.6.2.msi + numpy-1.3.0-win32-superpack-python2.6.exe + gfortran-windows.exe on my computer. Following http://www.scipy.org/F2PY_Windows , I write: python c:\python26\scripts\f2py.py -c --fcompiler=gnu95 --compiler=mingw32 -lmsvcr71 -m foo foo.f90 the result is : 'import site' failed; use -v for traceback Trackback (most recent call last): File "c:\python26\scripts\f2py.py", line 3, in <module> import os,sys ImportError: No module named os Thanks a lot. ian [email protected] 2009-07-30