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用户启动 另外库版本不对 |
ubuntu22.04
安装相关软件
sudo apt install ffmpeg portaudio19-dev libasound2-dev alsa-utils -y
安装依赖
pip install -r requirements.txt
更多安装使用问题,可以参考:#655
The text was updated successfully, but these errors were encountered: