pyworld版本过高导致报错ValueError: numpy.ndarray size changed...
Open
- Dominant language
- Python
- Stars
- 36.9k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
今天刚搭建的环境,使用VC拟音时遇到
`ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject`
此时python=3.9.15, numpy=1.19.3, pyworld=0.3.2
查看报错信息发现和pyworld有关,将pyworld版本降低到0.3.0后不再报错。可能需要在requirements.txt限制pyworld版本?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the reported Python 3.9.15, NumPy 1.19.3, and pyworld 0.3.2 environment, then inspect requirements.txt for the current pyworld constraint. Reproduce the VC voice error and compare it with pyworld 0.3.0; done means the dependency choice prevents the reported binary-incompatibility error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- ai
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100