Skip to content

The version dependence to numpy has not been given obviously #93

@ryankamanri

Description

@ryankamanri

I found the error when i use the latest version of pyworld(0.3.4) with the numpy version 1.22.4:

concurrent.futures.process._RemoteTraceback: 
"""
Traceback (most recent call last):
  File "__init__.cython-30.pxd", line 984, in numpy.import_array
RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf . Check the section C-API incompatibility at t
he Troubleshooting ImportError section at https://numpy.org/devdocs/user/troubleshooting-importerror.html#c-api-incompatibility for in
dications on how to solve this problem .

 File "${SOMEWHERE}/foo.py", line 2, in <modul
e>
    import pyworld
  File "C:\ProgramData\Anaconda3\lib\site-packages\pyworld\__init__.py", line 17, in <module>
    from .pyworld import *
  File "pyworld\\pyworld.pyx", line 6, in init pyworld.pyworld
  File "__init__.cython-30.pxd", line 986, in numpy.import_array
ImportError: numpy.core.multiarray failed to import
"""

when I change the version of pyworld to 0.3.0 it works normally.
but it has not any remind in pip.

pyworld==0.3.4
├── Cython [required: >=0.24, installed: 0.29.23]
└── numpy [required: Any, installed: 1.22.4]

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