-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
🏗️ 安装报错留言区(Summary of Installation Errors) #2150
Comments
往期安装问题汇总,安装遇到问题建议先参考下面的 issues: Summary of previous installation problems. It's recommended to refer to the following issues first if there are problems in installation: 【Install for mac and windows, usage for CLI】安装PaddleSpeech相关问题讨论(Windows,mac),以及命令行使用问题 【Install for windows】安装PaddleSpeech相关问题讨论(Windows) 【paddleadudio related】 |
执行命令
时遇到错误
|
Hello, also receiving the same issue as above with the same command.
Using Windows 11 and Visual Studio build tools are installed. |
@OfOdin maybe you should search for this line |
@BrightXiaoHan maybe you should check this error |
@yt605155624 I was missing the package Git. Did not install it after creating the environment. Install was successful. |
/home/PaddleSpeech/demos/streaming_asr_server# paddlespeech_server start --config_file conf/punc_application.yaml &> punc.log &
/home/PaddleSpeech/demos/streaming_asr_server# tail -f punc.log
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
[2022-07-29 09:51:00,170] [ INFO] - start to init the engine
[2022-07-29 09:51:00,171] [ INFO] - text : python engine.
[2022-07-29 09:51:03,713] [ ERROR] - Failed to start server.
[2022-07-29 09:51:03,713] [ ERROR] - File is not a zip file paddlecloud/paddlespeech镜像按照文档启动标点引擎报错,请问可能是什么原因? |
下载nltk_data 并解压缩到的 |
OS: ubuntu 22.04
|
mac use apt??????? pyuthon lib need jkava??? |
+1 |
For Anyone concerns: If you want to install paddlespeech on python 3.10, you may try:
see also http://5190m.top/note/2022/10/11/2022-10-11-paddlepaddle-intro.html |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
你好,我这电脑是苹果macos 13.2的系统,M2芯片的,不是以前intel芯片的电脑,试了python3.9和3.10,都报下面这个错误,onnx包单独安装只能装1.13.0,但是好像这个版本不支持PaddleSpeech,paddlepaddle我也试了2.3.0,2.4.0和2.4.1这几个版本,都不行,都是这个问题。 te/var/folders/k7/qgdcc1pj51n7j_jf4xvnh_v40000gn/T/pip-install-1m7dqzgx/onnx_d6923ea0a8c045259e93d4c615e2d381']' returned non-zero exit status 1. note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while trying to install package. note: This is an issue with the package mentioned above, not pip. |
centos 已经pip3.8 install . 没有报错,安装完所有环境,执行 |
提示非法指令那paddlespeech大概率是安装失败了,可以看一下安装的log,检查一下失败原因 |
我猜测,是因编译环境不完整,导致安装失败。 |
|
pip install -e .[develop] -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Obtaining file:///D:/0SDXX/PaddleSpeech-develop
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [25 lines of output]
Traceback (most recent call last):
File "<string>", line 36, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "D:\0SDXX\PaddleSpeech-develop\setup.py", line 320, in <module>
with version_info():
File "D:\anaconda3\envs\PaddleSpeech\lib\contextlib.py", line 112, in __enter__
return next(self.gen)
File "D:\0SDXX\PaddleSpeech-develop\setup.py", line 244, in version_info
write_version_py()
File "D:\0SDXX\PaddleSpeech-develop\setup.py", line 222, in write_version_py
COMMITID = check_output("git rev-parse HEAD")
File "D:\0SDXX\PaddleSpeech-develop\setup.py", line 112, in check_output
out_bytes = sp.check_output(cmd.split())
File "D:\anaconda3\envs\PaddleSpeech\lib\subprocess.py", line 411, in check_output
**kwargs).stdout
File "D:\anaconda3\envs\PaddleSpeech\lib\subprocess.py", line 488, in run
with Popen(*popenargs, **kwargs) as process:
File "D:\anaconda3\envs\PaddleSpeech\lib\subprocess.py", line 800, in __init__
restore_signals, start_new_session)
File "D:\anaconda3\envs\PaddleSpeech\lib\subprocess.py", line 1207, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
__version__ = '0.0.0'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details. |
如果运行指令 Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/bin/paddlespeech", line 8, in <module>
sys.exit(_execute())
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/paddlespeech/cli/entry.py", line 40, in _execute
exec("from {} import {}".format(module, cls))
File "<string>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/paddlespeech/cli/asr/__init__.py", line 14, in <module>
from .infer import ASRExecutor
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/paddlespeech/cli/asr/infer.py", line 24, in <module>
import librosa
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/librosa/__init__.py", line 211, in <module>
from . import core
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/librosa/core/__init__.py", line 9, in <module>
from .constantq import * # pylint: disable=wildcard-import
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/librosa/core/constantq.py", line 1059, in <module>
dtype=np.complex,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/__init__.py", line 305, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'complex'.
`np.complex` was a deprecated alias for the builtin `complex`. To avoid this error in existing code, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations 那是因为numpy版本过高所致,卸载numpy,并重新安装numpy版本为1.23.5 refer: #3235 |
我是ubuntu18.4系统,安装完paddlespeech后,想启动speech_web的后端,报错paddlespeech_ctcdecoders not installed!,注,我不想用docker |
自己解决了,需要安装 pip install opencc-python-reimplemented==0.1.4 |
Building wheels for collected packages: pyworld, webrtcvad, bottleneck × python setup.py bdist_wheel did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. × python setup.py bdist_wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Building wheel for bottleneck (pyproject.toml) did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. |
我用hard方式安装PaddleSpeech报错了,用sudo取得root权限安装的,没用docker,用的anaconda建的虚拟环境。命令和log如下: 我的python版本是3.8,CUDA版本11.6,numpy版本检测过是1.23.5。 |
paddlespeech asr --lang zh --input test.wav |
大佬们好,启动服务报错了,应该如何解决呢 (paddlespeech) [web@bdp-measure3 PaddleSpeech]$ pip list aiohttp 3.8.5 |
try apt install python3-dev |
这个问题解决了吗? |
在centos7 上面安装完所有环境,执行 最后发现没有安装paddle: python3 -m pip show paddleWARNING: Package(s) not found: paddle |
您好,我使用AIstudio进行安装, !pip install pytest-runner
!pip install paddlespeech 要添加--user。我成功安装之后运行代码出现如下错误ImportError Traceback (most recent call last) File ~/.local/lib/python3.10/site-packages/paddlespeech/cli/tts/init.py:14 File ~/.local/lib/python3.10/site-packages/paddlespeech/cli/tts/infer.py:33 File ~/.local/lib/python3.10/site-packages/paddlespeech/t2s/exps/syn_utils.py:35 File ~/.local/lib/python3.10/site-packages/paddlespeech/t2s/frontend/mix_frontend.py:22 File ~/.local/lib/python3.10/site-packages/paddlespeech/t2s/frontend/zh_frontend.py:31 File ~/.local/lib/python3.10/site-packages/paddlespeech/t2s/frontend/g2pw/init.py:1 File ~/.local/lib/python3.10/site-packages/paddlespeech/t2s/frontend/g2pw/onnx_api.py:27 File /opt/conda/envs/python35-paddle120-env/lib/python3.10/site-packages/opencc/init.py:6 ImportError: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /opt/conda/envs/python35-paddle120-env/lib/python3.10/site-packages/opencc/clib/opencc_clib.cpython-310-x86_64-linux-gnu.so) |
我人傻了 |
解决了吗 |
我也是这个问题。 |
解决了吗,遇到了同样的问题 |
解决了解决了,在命令行中先运行pip uninstall opencc-python-reimplemented再运行pip install opencc-python-reimplemented |
AIStudio用户Farewell@,感谢关注 |
"pip install setuptools_scm" 解决 |
有必要每个包都检查不同版本的兼容性吗?竟然连numpy也要检查。安装起来非常慢……每次用百度的产品为啥总吃瘪…… |
2024-02-29 17:52:30.650 | INFO | paddlespeech.s2t.modules.embedding:init:150 - max len: 5000 |
执行命令: note: This error originates from a subprocess, and is likely not a problem with pip. [notice] A new release of pip is available: 24.2 -> 24.3.1 × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. |
按照源码安装有三个问题: |
PaddleSpeech安装过程中遇到的问题都可以在这里留言,一些跟安装相关的问题也会在这里进行汇总
Problems encountered during the installation of paddlespeech can be left here, and some installation related problems will also be summarized here
The text was updated successfully, but these errors were encountered: