-
Notifications
You must be signed in to change notification settings - Fork 436
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
🙋 Linux环境部署专用讨论帖 #520
Comments
我想在远程服务器上跑,结果出现了 |
jinja2 嘶,具体是哪段代码报的错,看看。这错误还是第一次看见 |
不好意思,应该是nicegui的版本问题,程序报错没提示哪一行,然后写了一行说是nicegui环境报错了,我更新了一下好了。因为开始报别的错了哈哈哈 |
那没事了 |
您好,我在Linux部署时pip产生了依赖,但是我不懂深度学习,请问一下这个问题该怎么解决? The conflict is caused by: To fix this you could try to:
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts |
手动安装一下冲突库就行了,pydantic维持在1.10.13 |
note: This error originates from a subprocess, and is likely not a problem with pip. × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. |
删除冲突依赖部分,全部手动安装 |
Xlib.error.ConnectionClosedError: Display connection closed by server: Connection reset by peer linux部署,运行main.py启动,提示要图形界面打不开,出现报错。能不能换成浏览器加端口访问呢,不如你本地演示的直接端口访问 |
看下完整的报错 |
在Ubuntu20.0.4环境下
但是完全没有音频声音。
执行sudo apt-get reinstall alsa-utils之后仍然报这个错误(感觉还是驱动问题,不识别usb耳机,可是暂时没有3.5mm的音响/耳机测试) |
确实 估计还是声卡驱动问题的样子 |
QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/python3.10/bin/platforms" ... Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb. Aborted |
好家伙 为什么你还在用qt,qt已经废弃了 |
啊,直接拉的master的代码,构建的,现在使用哪个版本比较好 |
|
博主您好,在Ubuntu20.0.4环境下 ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card |
不好说,感觉是麦克风驱动和库的兼容性问题 |
Ubuntu20.04 运行python webui.py 报错 |
降低elevenlabs到0.xx |
pygame的调用实现其实就几行代码,没啥东西,具体为什么导致声音没了这也没法说,跑到pygame库里倒腾也不现实,要么试试换audio player对接试试,基于pyaudio实现的 |
pygetwindow不支持linux,你们怎么解决的? |
注释相关功能(图像识别页) |
lxc容器内跑起不来,必须要有GUI的linux吗,虚拟机能跑吗? |
没桌面 约等于没法用,1.没画面,2.没声音 |
大佬,请问一键启动后异常报错,这个要怎么解决? python: 3.10.12 Exception in thread Thread-2 (key_listener):
|
root用户启动 另外库版本不对 |
|
感谢回复@Ikaros-521 ,我以为metahuman-stream是提供了啥API。看到了,谢谢 |
对的 |
您好,我遇到了一个问题,在启动并配置好大语言模型(测试成功后),在聊天页面聊天框和ai对话,点击发送的时候报错 INFO: 127.0.0.1:37570 - "POST /send HTTP/1.1" 200 OK |
data_lock呢?你动源码了?没动源码没理由变量没了。重新拉一下源码吧 |
好的 |
请教一下,我刚刚代码重新拉取之后,点击聊天可以正常聊天,我采取了metahuman-stream的方式,但是结束后会有一个报错如下: 2024-08-15 15:23:39.492 | INFO | utils.audio:start_only_play_copywriting:1516 - 文案播放线程运行中... 2024-08-15 15:23:39.493 | ERROR | utils.audio:only_play_audio:1351 - pygame mixer_normal初始化失败,普通音频将无法正常播放,请检查声卡是否正常! 播放是可以正常播放的,我目前是笔记本电脑的自带麦克风,请问是需要外接麦克风吗 |
linux声卡不正常, |
好的,谢谢回答,那相当于我将服务部署在linux服务器上,(数字人展示的metahuman-stream也在linux),然后在windows笔记本上,通过ip去访问,是无法实现语音的对吧,语音需要在(metahuman-stream)的数字人页面进行二次开发,例如 直接语音对话,按键语音对话等等 |
对,ai vtb是客户端,语音输入是后端处理的而非前端录入,跑服务器上用不了。metahuman这块倒是无所谓, |
好的,悟了悟了 |
🤙 |
ubuntu22.04
安装相关软件
sudo apt install ffmpeg portaudio19-dev libasound2-dev alsa-utils -y
安装依赖
pip install -r requirements.txt
更多安装使用问题,可以参考:#655
安装obs
The text was updated successfully, but these errors were encountered: