当前位置: 首页 > 工具软件 > statsmodels > 使用案例 >

statsmodels 无法安装

和飞翔
2023-12-01

 statsmodels 安装报错,使用 whl 包也无法安装

error: subprocess-exited-with-error
        Getting requirements to build wheel did not run successfully.
        exit code: 1

        ......
        ......
        ......

        ..\..\meson.build:57:0: ERROR: Unknown compiler(s): [['ifort'], ['gfortran'], ['flang'], ['pgfortran'], ['g95']]
        The following exception(s) were encountered:
        Running `ifort --version` gave "[WinError 2] The system cannot find the file specified"
        Running `ifort -V` gave "[WinError 2] The system cannot find the file specified"
        Running `gfortran --version` gave "[WinError 2] The system cannot find the file specified"
        Running `gfortran -V` gave "[WinError 2] The system cannot find the file specified"
        Running `flang --version` gave "[WinError 2] The system cannot find the file specified"
        Running `flang -V` gave "[WinError 2] The system cannot find the file specified"
        Running `pgfortran --version` gave "[WinError 2] The system cannot find the file specified"
        Running `pgfortran -V` gave "[WinError 2] The system cannot find the file specified"
        Running `g95 --version` gave "[WinError 2] The system cannot find the file specified"
        Running `g95 -V` gave "[WinError 2] The system cannot find the file specified"

原因:貌似因为不支持python 32位

解决方法:将原有的python 3.8(32位) 环境,替换为,目前最新稳定版3.10.10(64位)

 类似资料: