Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paddlespeech总是安装不上 #1974

Closed
ciihai opened this issue May 26, 2022 · 10 comments
Closed

paddlespeech总是安装不上 #1974

ciihai opened this issue May 26, 2022 · 10 comments

Comments

@ciihai
Copy link

ciihai commented May 26, 2022

1、已安装VS2019 , paddleocr 好用
2、在pycharm 终端使用 pip install paddlespeech -i https://pypi.tuna.tsinghua.edu.cn/simple 安装paddlespeech
3、总是出现一下错误:
Building wheel for dtaidistance (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for dtaidistance (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [298 lines of output]
WARNING: Numpy was not found, preparing a version without Numpy support.
error: could not create 'build\bdist.win-amd64\wheel.\dtaidistance\lib\DTAIDistanceC\DTAIDistanceC.xcod
eproj\xcuserdata\wannes.xcuserdatad\xcdebugger\Breakpoints_v2.xcbkptlist': No such file or directory
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for dtaidistance
Failed to build dtaidistance
ERROR: Could not build wheels for dtaidistance, which is required to install pyproject.toml-based projects

4、试过numpy 1.22.4 numpy1.22.3 ,试了网上各种办法,都不好用。
5、请指点。

@yt605155624
Copy link
Collaborator

你先看一下为什么你装了 numpy 却会报找不到 numpy 的问题吧

@ciihai
Copy link
Author

ciihai commented May 26, 2022 via email

@yt605155624
Copy link
Collaborator

参照文档单独安装 dtaidistance 试试https://dtaidistance.readthedocs.io/en/latest/usage/installation.html

@ciihai
Copy link
Author

ciihai commented May 26, 2022 via email

@qijigaici
Copy link

error: could not create 'build\bdist.win-amd64\wheel.\dtaidistance\lib\DTAIDistanceC\DTAIDistanceC.xcodeproj\xcuserdata\wannes.xcuserdatad\xcdebugge
r\Breakpoints_v2.xcbkptlist': No such file or directory
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for dtaidistance
Failed to build dtaidistance
ERROR: Could not build wheels for dtaidistance, which is required to install pyproject.toml-based projects
WARNING: Ignoring invalid distribution -ip (e:\programdata\anaconda3\envs\py39\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (e:\programdata\anaconda3\envs\py39\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (e:\programdata\anaconda3\envs\py39\lib\site-packages)

@yt605155624
Copy link
Collaborator

dtaidistance 是 paddleaudio 的依赖,paddleaudio 是 paddlespeech 的依赖,我们现在打算移除掉 dtaidistance 这个依赖

@ciihai
Copy link
Author

ciihai commented May 27, 2022 via email

@yt605155624
Copy link
Collaborator

我们已经发布了不依赖 dtaidistance 的 paddleaudio 1.0.1, 大家可以重新安装 paddlespeech 试试
@ciihai @qijigaici

@ciihai
Copy link
Author

ciihai commented May 27, 2022

installed successfully

谢谢,高效率,赞

@ciihai ciihai closed this as completed May 27, 2022
@qijigaici
Copy link

我们已经发布了不依赖 dtaidistance 的 paddleaudio 1.0.1,大家可以重新安装 paddlespeech @ciihai @qijigaici

优秀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants