Skip to content

Linux中报错cinrad.error.RadarCalculationError: Cython is not installed #112

@aQua-pl

Description

@aQua-pl

在WSL中使用conda创建cinrad环境,安装c编译器、cython,并使用pip install cinrad命令在线安装完库后,运行程序报cinrad.error.RadarCalculationError: Cython is not installed错误,在windows系统下同样操作创建环境运行正常,对比检查发现‘~/.conda/envs/cinrad/lib/python3.12/site-packages/cinrad/correct/’目录中缺少_unwrap_2d编译文件,于是手动下载PyCINRAD-1.9.0.zip文件,使用命令pip install ./PyCINRAD-1.9.0.zip重新安装,再次检查‘~/.conda/envs/cinrad/lib/python3.12/site-packages/cinrad/correct/’目录,有新的文件_unwrap_2d.cpython-312-x86_64-linux-gnu.so生成,此时运行程序不再出现ImportError。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions