日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > python >内容正文

python

python编译器如何设置中文_如何使setup.py test使用特定的fortran编译器?

發布時間:2023/12/4 python 37 豆豆
生活随笔 收集整理的這篇文章主要介紹了 python编译器如何设置中文_如何使setup.py test使用特定的fortran编译器? 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

我正在嘗試測試一個包含一些f90文件的package。如果我構建或安裝并指定fortran編譯器,它可以正常工作。但是,當我嘗試測試時,會出現以下錯誤:C:\Users\jsalvatier\workspace\scikits.bvp_solver>python setup.py config_fc --fcompiler=gfortran test

running config_fc

unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options

running test

running egg_info

running build_src

build_src

building extension "scikits.bvp_solver.bvp_solverf" sources

f2py options: []

adding 'build\src.win32-2.6\fortranobject.c' to sources.

adding 'build\src.win32-2.6' to include_dirs.

adding 'build\src.win32-2.6\scikits\bvp_solver\lib\bvp_solverf-f2pywrappers2.f90' to sources.

building data_files sources

build_src: building npy-pkg config files

writing scikits.bvp_solver.egg-info\PKG-INFO

writing namespace_packages to scikits.bvp_solver.egg-info\namespace_packages.txt

writing top-level names to scikits.bvp_solver.egg-info\top_level.txt

writing dependency_links to scikits.bvp_solver.egg-info\dependency_links.txt

reading manifest file 'scikits.bvp_solver.egg-info\SOURCES.txt'

reading manifest template 'MANIFEST.in'

writing manifest file 'scikits.bvp_solver.egg-info\SOURCES.txt'

running build_ext

customize Mingw32CCompiler

customize Mingw32CCompiler using build_ext

customize GnuFCompiler

Found executable C:\mingw\bin\g77.exe

gnu: no Fortran 90 compiler found

gnu: no Fortran 90 compiler found

Found executable C:\mingw\bin\g77.exe

customize GnuFCompiler

gnu: no Fortran 90 compiler found

gnu: no Fortran 90 compiler found

customize GnuFCompiler using build_ext

building 'scikits.bvp_solver.bvp_solverf' extension

compiling C sources

C compiler: gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes

compile options: '-Ibuild\src.win32-2.6 -IC:\Python26\lib\site-packages\numpy\core\include -IC:\Python26\include -IC:\Python26\PC -c'

gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Ibuild\src.win32-2.6 -IC:\Python26\lib\site-packages\numpy\core\include -IC:\Python26\include -IC:\Python26\PC -c build\src.win32-2.6\scikits\bvp_solver\lib\bvp_solverfmodule.c -o build\temp.win32-2.6\Release\build\src.win32-2.6\scikits\bvp_solver\lib\bvp_solverfmodule.o

Found executable C:\mingw\bin\gcc.exe

gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Ibuild\src.win32-2.6 -IC:\Python26\lib\site-packages\numpy\core\include -IC:\Python26\include -IC:\Python26\PC -c build\src.win32-2.6\fortranobject.c -o build\temp.win32-2.6\Release\build\src.win32-2.6\fortranobject.o

compiling Fortran 90 module sources

XXX: module_build_dir='build\\temp.win32-2.6\\Release\\scikits\\bvp_solver' option ignored

XXX: Fix module_dir_switch for GnuFCompiler

XXX: module_dirs=[] option ignored

XXX: Fix module_include_switch for GnuFCompiler

Fortran f77 compiler: C:\mingw\bin\g77.exe -g -Wall -fno-second-underscore -mno-cygwin -O3 -funroll-loops

compile options: '-Ibuild\src.win32-2.6 -IC:\Python26\lib\site-packages\numpy\core\include -IC:\Python26\include -IC:\Python26\PC -c'

error: f90 not supported by GnuFCompiler needed for scikits\bvp_solver\lib\BVP_M.f90

有辦法解決這個問題嗎?我在Windows7,Python2.6,Numpy1.4.1上。

創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎

總結

以上是生活随笔為你收集整理的python编译器如何设置中文_如何使setup.py test使用特定的fortran编译器?的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。