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>f2 py -c -m hello hello.f
running build
running config_fc
running build_src
building extension "hello" sources
f2py:> c:\docume~1\mct inp~1\config~1\ temp\tmpols7pt\ src\hellomodule .c
creating c:\docume~1\mct inp~1\config~1\ temp\tmpols7pt
creating c:\docume~1\mct inp~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\mc tinp~1\config~1 \temp\t
mpols7pt\src/hellomodule.c"
adding
'c:\docume~1\mc tinp~1\config~1 \temp\tmpols7pt \src\fortranobj ect.c' to s
ources.
adding 'c:\docume~1\mc tinp~1\config~1 \temp\tmpols7pt \src' to
include_dirs.
copying C:\PYTHON~2\lib \site-packages\f2py2e \src\fortranobj ect.c ->
c:\docume~1\
mctinp~1\config ~1\temp\tmpols7 pt\src
copying C:\PYTHON~2\lib \site-packages\f2py2e \src\fortranobj ect.h ->
c:\docume~1\
mctinp~1\config ~1\temp\tmpols7 pt\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.
I´m trying to run Python in window XP PC. Please advise-me on how to
deal with the following errors:
C:\Python234>f2 py -c -m hello hello.f
running build
running config_fc
running build_src
building extension "hello" sources
f2py:> c:\docume~1\mct inp~1\config~1\ temp\tmpols7pt\ src\hellomodule .c
creating c:\docume~1\mct inp~1\config~1\ temp\tmpols7pt
creating c:\docume~1\mct inp~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\mc tinp~1\config~1 \temp\t
mpols7pt\src/hellomodule.c"
adding
'c:\docume~1\mc tinp~1\config~1 \temp\tmpols7pt \src\fortranobj ect.c' to s
ources.
adding 'c:\docume~1\mc tinp~1\config~1 \temp\tmpols7pt \src' to
include_dirs.
copying C:\PYTHON~2\lib \site-packages\f2py2e \src\fortranobj ect.c ->
c:\docume~1\
mctinp~1\config ~1\temp\tmpols7 pt\src
copying C:\PYTHON~2\lib \site-packages\f2py2e \src\fortranobj ect.h ->
c:\docume~1\
mctinp~1\config ~1\temp\tmpols7 pt\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.