Problem f2py

Discussion in 'Python' started by =?iso-8859-1?Q?Cl=E1udia?= Cristina dos Santos, Jun 25, 2004.

  1. Dear Friends,

    I´m trying to run Python in window XP PC. Please advise-me on how to
    deal with the following errors:

    C:\Python234>f2py -c -m hello hello.f
    running build
    running config_fc
    running build_src
    building extension "hello" sources
    f2py:> c:\docume~1\mctinp~1\config~1\temp\tmpols7pt\src\hellomodule.c
    creating c:\docume~1\mctinp~1\config~1\temp\tmpols7pt
    creating c:\docume~1\mctinp~1\config~1\temp\tmpols7pt\src
    Reading fortran codes...
    Reading file 'hello.f'
    Post-processing...
    Block: hello
    Block: foo
    Building modules...
    Building module "hello"...
    Constructing wrapper function "foo"...
    foo(a)
    Wrote C/API module "hello" to file
    "c:\docume~1\mctinp~1\config~1\temp\t
    mpols7pt\src/hellomodule.c"
    adding
    'c:\docume~1\mctinp~1\config~1\temp\tmpols7pt\src\fortranobject.c' to s
    ources.
    adding 'c:\docume~1\mctinp~1\config~1\temp\tmpols7pt\src' to
    include_dirs.
    copying C:\PYTHON~2\lib\site-packages\f2py2e\src\fortranobject.c ->
    c:\docume~1\
    mctinp~1\config~1\temp\tmpols7pt\src
    copying C:\PYTHON~2\lib\site-packages\f2py2e\src\fortranobject.h ->
    c:\docume~1\
    mctinp~1\config~1\temp\tmpols7pt\src
    running build_ext
    error: Python was built with version 6 of Visual Studio, and extensions
    need to
    be built with the same version of the compiler, but it isn't installed.

    Thanks for your help.

    Claudia.
    =?iso-8859-1?Q?Cl=E1udia?= Cristina dos Santos, Jun 25, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. M. Faust
    Replies:
    6
    Views:
    501
    Robert Kern
    Sep 28, 2004
  2. Alberto Vera

    f2py problem

    Alberto Vera, May 15, 2007, in forum: Python
    Replies:
    0
    Views:
    335
    Alberto Vera
    May 15, 2007
  3. Guest

    Re: [f2py] f2py problem

    Guest, May 15, 2007, in forum: Python
    Replies:
    0
    Views:
    575
    Guest
    May 15, 2007
  4. Blubaugh, David A.

    F2PY ?? Has anyone worked with the F2PY generator?

    Blubaugh, David A., Sep 8, 2008, in forum: Python
    Replies:
    0
    Views:
    255
    Blubaugh, David A.
    Sep 8, 2008
  5. f2py usage problem

    , Nov 11, 2008, in forum: Python
    Replies:
    1
    Views:
    399
    Robert Kern
    Nov 11, 2008
Loading...

Share This Page