Closed Aria-K-Alethia closed 1 year ago
That's likely due to the build isolation feature of pip. Regardless of the NumPy versions you have, pip creates an isolated environment with a different version of numpy at installation time, causing the version mismatch. Could you try the following command?
pip install -U pyopenjtalk --no-build-isolation
Hi,
Thank you for your reply.
I installed successfully with the cmd:
pip install pyopenjtalk --no-build-isolation --no-binary pyopenjtalk
It seems that I also need to compile the source code again to install.
Thanks for sharing the information. We would need to better handle installation issues but no idea at the moment.
May be need to write the oldest version of numpy for each environment like SciPy. https://github.com/scipy/scipy/blob/9a38213b51a56b45f49863f52bba002c2f49d71f/pyproject.toml#L21-L50
oldest-supported-numpy may be use.
Hi,
I always encounted the following error when I tried
import pyopenjtalk
:I suppose this is because the version of numpy is not compatible, so I tried a lot of versions including
1.22.x
,1.21.x
, and1.20.x
, but I always failed. Do you have any idea on this?Below are my env information:
I installed
pyopenjtalk
viapip
.