Comments (24)
运行后退出仍然存在端口占用,进程挂在后台问题,请kill掉相关进程后重启
from ai-vtuber.
AttributeError: module 'pygetwindow' has no attribute 'getWindowsWithTitle' mac
pip install pygetwindow
试试,不行的话 那只能删掉对应功能了
from ai-vtuber.
python webui.py
pygame 2.5.2 (SDL 2.28.3, Python 3.12.3)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "/Users/macbook/project/AI-Vtuber/webui.py", line 15, in
from utils.audio import Audio
File "/Users/macbook/project/AI-Vtuber/utils/audio.py", line 16, in
from elevenlabs import generate, play, set_api_key
ImportError: cannot import name 'generate' from 'elevenlabs' (/usr/local/lib/python3.12/site-packages/elevenlabs/init.py)
$ pip show elevenlabs
Name: elevenlabs
Version: 1.2.0
Summary:
Home-page:
Author:
Author-email:
License:
Location: /usr/local/lib/python3.12/site-packages
Requires: httpx, ipython, pydantic, requests, typing_extensions, websockets
Required-by:
我遇到这个问题
pip install pydantic===2.0.3
pip install elevenlabs===0.2.27
就好了
from ai-vtuber.
pyaudio安装失败,先brew install portaudio
,再安装pyaudio
pyqt5手动安装一下,走清华源
pyqt5-tools 安装失败,跳过,不影响使用
brew install ffmpeg
安装
同样手动安装 blivedm
pip install pure_protobuf==3.0.0a5
from ai-vtuber.
pyvirtualcam 不支持Mac,需要屏蔽SD相关的功能
from ai-vtuber.
Traceback (most recent call last):
File "/Users/fameidetuoyanghetanghesuan/Desktop/AI-Vtuber/main.py", line 9, in <module>
from PyQt5.QtWidgets import QApplication, QMainWindow, QMessageBox, QLabel, QComboBox, QLineEdit, QTextEdit, QCheckBox, QGroupBox
ImportError: dlopen(/Users/fameidetuoyanghetanghesuan/opt/miniconda3/envs/aivtb/lib/python3.10/site-packages/PyQt5/QtWidgets.abi3.so, 0x0002): Symbol not found: __ZTVNSt3__13pmr25monotonic_buffer_resourceE
Referenced from: <8239A761-D3BE-396C-A445-F703655273B5> /Users/fameidetuoyanghetanghesuan/opt/miniconda3/envs/aivtb/lib/python3.10/site-packages/PyQt5/Qt5/lib/QtWidgets.framework/Versions/5/QtWidgets
Expected in: <3EE92404-8FC3-374B-A598-D5C9A8CD64B5> /usr/lib/libc++.1.dylib
暂时无法解决,放弃pyqt5
from ai-vtuber.
2023-11-11 21:01:01,653 - /Users/1/opt/miniconda3/envs/aivtb/lib/python3.10/site-packages/nicegui/app/app.py[line:118] - ERROR: [Errno 2] No such file or directory: 'data\\edge-tts-voice-list.txt'
Traceback (most recent call last):
File "/Users/1/opt/miniconda3/envs/aivtb/lib/python3.10/site-packages/nicegui/events.py", line 401, in handle_event
result = handler(arguments) if expects_arguments else handler()
File "/Users/1/Desktop/AI-Vtuber/webui.py", line 1776, in <lambda>
button_login = ui.button('登录', on_click=lambda: my_login()).style("width:250px;")
File "/Users/1/Desktop/AI-Vtuber/webui.py", line 1760, in my_login
goto_func_page()
File "/Users/1/Desktop/AI-Vtuber/webui.py", line 1299, in goto_func_page
with open('data\edge-tts-voice-list.txt', 'r') as file:
FileNotFoundError: [Errno 2] No such file or directory: 'data\\edge-tts-voice-list.txt'
路径语法改为 /
from ai-vtuber.
Traceback (most recent call last):
File "/Users/fameidetuoyanghetanghesuan/Desktop/AI-Vtuber/bilibili2.py", line 16, in <module>
import blivedm
File "/Users/fameidetuoyanghetanghesuan/opt/miniconda3/envs/aivtb/lib/python3.10/site-packages/blivedm/__init__.py", line 2, in <module>
from .handlers import *
File "/Users/fameidetuoyanghetanghesuan/opt/miniconda3/envs/aivtb/lib/python3.10/site-packages/blivedm/handlers.py", line 5, in <module>
from .clients import ws_base
File "/Users/fameidetuoyanghetanghesuan/opt/miniconda3/envs/aivtb/lib/python3.10/site-packages/blivedm/clients/__init__.py", line 2, in <module>
from .web import *
File "/Users/fameidetuoyanghetanghesuan/opt/miniconda3/envs/aivtb/lib/python3.10/site-packages/blivedm/clients/web.py", line 9, in <module>
from . import ws_base
File "/Users/fameidetuoyanghetanghesuan/opt/miniconda3/envs/aivtb/lib/python3.10/site-packages/blivedm/clients/ws_base.py", line 11, in <module>
import brotli
ModuleNotFoundError: No module named 'brotli'
pip install brotli
from ai-vtuber.
虚拟声卡 VB-audio不支持Mac
改用 brew install blackhole-16ch
https://github.com/ExistentialAudio/BlackHole
from ai-vtuber.
D5C9A8CD64B5
brew 去安装PyQt@5,安装完将sit包里面的 PyQt@5 相关拷贝到 python包里面的sit包里面
from ai-vtuber.
D5C9A8CD64B5
from ai-vtuber.
pyvirtualcam
pyvirtualcam GitHub 说支持 Mac,但我在 M1 上直接安装失败
M1 使用这个命令源码安装成功
letmaik/pyvirtualcam#97 (comment)
from ai-vtuber.
pyvirtualcam
pyvirtualcam GitHub 说支持 Mac,但我在 M1 上直接安装失败
M1 使用这个命令源码安装成功
letmaik/pyvirtualcam#97 (comment)
好好好
from ai-vtuber.
mac想弄抖音是不是够呛了 我看文档还得安装第三方的exe依赖
from ai-vtuber.
mac想弄抖音是不是够呛了 我看文档还得安装第三方的exe依赖
确实,得自行编译
from ai-vtuber.
16G 512G mac m1使用PD虚拟机运行windows整包行吗
from ai-vtuber.
Mac M1在使用keyboard库时百分百复现问题Process finished with exit code 139 (interrupted by signal 11: SIGSEGV),注释后可以正常使用
from ai-vtuber.
16G 512G mac m1使用PD虚拟机运行windows整包行吗
试试 配置肯定是够的 主要是虚拟机好不好用
from ai-vtuber.
Mac M1在使用keyboard库时百分百复现问题Process finished with exit code 139 (interrupted by signal 11: SIGSEGV),注释后可以正常使用
这库没记错好像确实不兼容mac
from ai-vtuber.
AttributeError: module 'pygetwindow' has no attribute 'getWindowsWithTitle' mac
from ai-vtuber.
Traceback (most recent call last):
File "/Users/fengluo/AI-Vtuber/webui.py", line 15, in
from utils.audio import Audio
File "/Users/fengluo/AI-Vtuber/utils/audio.py", line 16, in
from elevenlabs import generate, play, set_api_key
ImportError: cannot import name 'generate' from 'elevenlabs' (/opt/miniconda3/envs/py310/lib/python3.10/site-packages/elevenlabs/init.py)
这个咋解决呢?
from ai-vtuber.
elevenlabs
降低elevenlabs版本到1.x
from ai-vtuber.
elevenlabs
降低elevenlabs版本到1.x
(py310) ➜ AI-Vtuber % pip show elevenlabs
Name: elevenlabs
Version: 1.0.5
Summary:
Home-page:
Author:
Author-email:
License:
Location: /opt/miniconda3/envs/py310/lib/python3.10/site-packages
Requires: httpx, ipython, pydantic, requests, typing_extensions, websockets
就是1.0.5的版本呢~~
from ai-vtuber.
elevenlabs
降低elevenlabs版本到1.x
(py310) ➜ AI-Vtuber % pip show elevenlabs Name: elevenlabs Version: 1.0.5 Summary: Home-page: Author: Author-email: License: Location: /opt/miniconda3/envs/py310/lib/python3.10/site-packages Requires: httpx, ipython, pydantic, requests, typing_extensions, websockets
就是1.0.5的版本呢~~
降到0.x 记错了 emm
from ai-vtuber.
Related Issues (20)
- 🐛 GPT-SOVITS 报错 : "text_lang": dict_language[text_lang] HOT 2
- 没有nicegui这个文件啊?
- 🐛 PyGetWindow不支持linux HOT 2
- 🚀 webui 输入框格式校验【期待pr贡献者】
- openai_tts好像有点问题 HOT 6
- 🙋 聊天模式 faster_whisper报错:Could not locate cudnn_ops_infer64_8.dll. Please make sure it is in your library path! HOT 3
- 🙋 webui多行配置 切分符 空格切分删除 HOT 1
- 🙋 闲时任务 在短的闲时时间的情况下,会有大量音频堆积 HOT 1
- 🐛 点歌停止命令无效,版本20240417。。。 | [Bug] Some problem... HOT 2
- 🙋 CharacterGLM 智谱API无法使用
- Failed to establish a new connection: [WinError 10061] 無法連線,因為目標電腦拒絕連線。 HOT 1
- 会考虑在1688使用吗 HOT 3
- 🙋 入场消息 缺失优先级设置 HOT 1
- 🐛 AttributeError: 'DanmakuMessage' object has no attribute 'face' HOT 4
- 🐛 一些问题。。。 | [Bug] Some problem... HOT 2
- 🐛 抖音感谢礼物gift_num错误 | [Bug] DouYin, Gift problem... HOT 1
- 🐛 Bug: 字幕打印机 不匹配问题 HOT 1
- WARNING: python-socketio 5.10.0 does not provide the extra 'asyncio-client' HOT 1
- 🚀 Feature: 页面配置 新增 自动备份按钮,实现保存配置时 自动备份配置。防止用户更新前忘记备份 HOT 1
- pydantic.errors.PydanticUserError: If you use `@root_validator` with pre=False (the default) you MUST specify `skip_on_failure=True`. Note that `@root_validator` is deprecated and should be replaced with `@model_validator`. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ai-vtuber.