【发布时间】:2021-06-13 11:50:28
【问题描述】:
我正在尝试安装this python package。不幸的是,由于排名不匹配,我遇到了编译错误。
已经报告了此软件包的错误here。错误报告说“最实用的解决方案似乎是将编译器标志 -fallow-argument-mismatch 添加到设置脚本中。”
我不明白该怎么做。 setup.py 脚本仅包含以下内容:
from numpy.distutils.core import setup
from numpy.distutils.core import Extension
import os
import glob
ext_modules = [ Extension('orthpol_light',
glob.glob(os.path.join('src','*.f'))) ]
setup(
name='orthpol_light',
version = "1.0.1",
license = "COPYING.LESSER",
description = "Light python wrapper for the ORTHPOL package",
long_description=open("README.rst").read(),
url="http://www.limitcycle.it",
author = "Daniele Bigoni",
author_email = "dabi@limitcycle.it",
ext_modules = ext_modules
)
我把旗帜放在这里吗?我真的不知道。导致错误的文件在 src/r1mach.f
帮助表示赞赏!
【问题讨论】:
标签: python numpy gcc fortran gfortran