Skip to content

在Linux上基于Python 3.12安装toad 0.1.5时会出现编译错误 #154

@Nravel

Description

@Nravel

环境:
Linux ubuntu-2404
Python: 3.12

问题:
在以上环境执行pip3 install toad==0.1.5时,会出现如下错误:
installing build dependencies .. done Getting requirements to build wheel ... error error subprocess-exited with error x Getting requirements to build wheel did not run successfullyexit code: 1 ->[194 lines of output] Error compiling Cython file. cimport.numpy as np cimport cython cdef number c min(number] ar): toad/c utils.pyxc9:5: number is not a type identifier

但在下载qit上面的源码包进行安装时是可以正常安装的,通过对比pypi和git release的源码包发现,pypi上的t0ad-0.1.5.ar.gz里面的toad目录,缺少了c_utils,pxd文件,导致在编译c utils,pyx文件时无法正确解析某些在c_utils.pxd中声明的变量,从而发生编译错误。

同时在pypi上没有pyhon3.12 Linux的whl包,所以在python3.12的linux环境上想通过pip安装toad 0.1.5是无法正常安装的。https://pypi.org/project/toad/#files

作者大大能否帮忙修复下pypi上源码包的问题或者构建一个cp312 linux的whl包? 谢谢

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions