GithubHelp home page GithubHelp logo

theramu / fay Goto Github PK

View Code? Open in Web Editor NEW
8.4K 109.0 1.7K 155.95 MB

Fay is an open-source digital human framework integrating language models and digital characters. It offers retail, assistant, and agent versions for diverse applications like virtual shopping guides, broadcasters, assistants, waiters, teachers, and voice or text-based mobile assistants.

License: GNU General Public License v3.0

ai python douyin ue4

fay's Introduction


Fay

Fay开源数字人框架

如果你需要是一个线上线下的销售员,请移步带货完整版

如果你需要的是一个人机交互的数字人助理(当然,你也可以命令它开关设备),请移步 助理完整版

如果你需要是一个可以自主决策、主动联系主人的agent,请移步agent版

框架文档:https://qqk9ntwbcit.feishu.cn/wiki/space/7321626901586411523

“所有产品都值得用数字人从新做一遍”

Fay数字人2024.06.12更新:

🌟Fay-agent&助理版&带货版:

优化远程音频连接和数字人连接显示。

🌟Fay-UE5:

  1. 修复消息窗口消息重叠显示问题;

  2. 开放azure api 区域设置。

Fay数字人2024.06.05更新:

🌟Fay-助理版:

1、增加funasr热词识别。

🌟Fay-agent版:

1、新增面板发送消息工具;

2、增加funasr热词识别。

Fay数字人2024.05.22更新:

🌟Fay-带货版:

1、调整gpt代理默认为空。

🌟Fay-agent版:

1、去除语音输出工具,改为语音输出只受“语音合成”按钮影响。

🌟Fay-助理版:

1、调整gpt代理默认为空;

2、去除funasr_wss方法;

3、rasa 支持llma3并优化接口;

4、rasa支持通过vllm部署大模型;

5、支持通过vllm部署的本地模型启动项目;

6、采用fastchat既可以降低显存,又能提升响应速度,支持主流模型部署;

7、修复类 GPT调用失败问题;

8、新增metahuman-stream对接示例 https://qqk9ntwbcit.feishu.cn/wiki/Ik1kwO9X5iilnGkFwRhcnmtvn3e

🌟Fay-UE5:

1、增加文本输入框(与Fay会同步消息),方便网页端和移动端操作。

Fay数字人2024.05.15更新:

🌟Fay-带货版:

1、新增baidu情绪分析秘钥为空时不使用情绪分析;

2、去除讯飞nlp。

🌟Fay-助理版:

1、新增baidu情绪分析秘钥为空时不使用情绪分析。

🌟Fay-UE5:

1、增加语音按钮,方便网页端和移动端操作;

2、修复ue4男模工程。

✨本期推荐学习:

1、metahuman-stream对接Fay:

https://qqk9ntwbcit.feishu.cn/wiki/Ik1kwO9X5iilnGkFwRhcnmtvn3e

Fay数字人2024.05.08更新:

🌟Fay-agent版:

1、配置项新增gpt模型配置、gpt代理默认空;

本期推荐学习:

1、【在Fay接入ufo执行任务】 https://www.bilibili.com/video/BV1rJ4m1P7Ee/

文档:https://qqk9ntwbcit.feishu.cn/wiki/BX2gw9r8JicKLukGbOZcs9YdnGh

Fay数字人2024.04.22更新:

🌟Fay-带货版:

1、使用百度情感分析替换讯飞;

2、优化白屏问题。

🌟Fay-助理版:

1、使用百度情感分析替换讯飞;

2、优化白屏问题。

3、利用vllm对大模型进行加速推理,提升响应时间;

4、修改rasa对接ChatGLM3-6b模型支持,也可以单独接入ChatGLM3-6B,可以让ChatGLM3-6b提供与openai完全一样的接口。

🌟Fay-agent版:

1、优化获取网页内容工具的兼容性问题;

2、新增gpt代理配置;

3、优化白屏问题。

Fay数字人2024.04.15更新:

🌟Fay-agent版:

  1. 前端禁止开启后修改;

  2. 提高funasr的稳定性。

🌟Fay-助理版:

  1. 精简nlp模块;

  2. azure声音模型列表载入方式修改;

  3. 增加自动重新载入知识库;

  4. 提高funasr的稳定性;

  5. 前端禁止开启后修改;

  6. 增加文字回复也可以声音输出。

🌟Fay-带货版:

  1. nlp模块精简;

  2. azure声音模型列表载入方式修改;

  3. 前端禁止开启后修改。

Fay数字人2024.04.08更新:

🌟Fay-agent版:

  1. 优化gpt兼容接口(为ue新工程架构准备)。

🌟Fay-助理版:

  1. *支持azure最新情感音频;

  2. 优化gpt兼容接口(为ue新工程架构准备)。

🌟Fay-带货版:

  1. *支持azure最新情感音频。

✨本期推荐学习:

1、【Fay数字人的ue表情制作-哔哩哔哩】 https://b23.tv/QbOMQQ7

2、【Fay数字人通过RAG方式管理知识库-哔哩哔哩】 https://b23.tv/iTsJPLO

Fay数字人2024.04.01更新:

🌟Fay-agent版:

增加agent工具:连接本地知识库(pdf)查询、获取网页内容;

🌟Fay-助理版:

1、去除已暂停使用的代码

2、新增langchain连接本地知识库(pdf)查询

🌟Fay-带货版:

去除已暂停使用的代码

Fay数字人2024.03.25更新:

🌟Fay-agent版:

1、增加agent工具:python执行器、网页检索器;

🌟bilibili弹幕监听:

1、修复兼容性问题

Fay数字人2024.03.18更新:

🌟Fay-带货版:

1、问答优先级调整

🌟Fay-助理版:

1、问答优先级调整

2、新增接入langchain nlp模块

3、新增输出问题前必须开启服务提醒

🌟Fay-agent版:

1、清除情绪计算的内容;

Fay数字人2024.03.11更新:

🌟Fay-agent版:

1、取消重启重置日程功能;

2、上传主动发送微信消息tool(未引入)。

🌟Fay-ue5:入口

1、发布5.3模型。

✨本期推荐阅读:

1、让agent主动给微信发送消息_哔哩哔哩_bilibili

2、老ue工程补充打断功能_哔哩哔哩_bilibili

Fay数字人2024.03.04更新:

🌟Fay-助理版:

1、去除live2d显示,优化白屏问题;

2、集成funASR最新版本

🌟Fay-agent版:

1、优化prompt;

2、去除llm chain逻辑,减少agent与llm chain切换的token浪费;

3、优化“思考中...”log,方便后续数字人设计更友好的交互逻辑。

4、集成funASR最新版本

Fay数字人2024.02.27更新:

🌟Fay-助理版:

1、新增通义星辰nlp对接。

Fay数字人2024.02.19更新:

🌟Fay-Android连接器:

1、优化通知弹出逻辑。

🌟Fay-agent版:

1、增强funasr稳定性。

Fay数字人2024.02.05更新:

🌟Fay-助理版:

1、新增tts合成开关;

2、调整对话内容存储逻辑;

3、增强funasr稳定性;

4、修复更新情绪有误问题;

5、普通唤醒模式取消唤醒词去除。

🌟Fay-agent版:

1、解决聊天记录存储线程同步问题;

2、✨新增tts合成开关;

3、增强funasr稳定性;

4、增加开启服务提醒;

5、fay.db记录上区分agent还是llm回应;

6、✨更换最新model gpt-4-0125-preview ;

7、✨优化聊天prompt;

8、修复agent meney里的权重fn bug;

9、删除时间查询tool;

10、执行任务触发无需在聊天窗口显示及db中保存;

11、修复删除日程bug;

🌟Fay-带货版:

1、修复版本问题导致的错误;

2、新增微信视频号监听;

3、修复更新情绪有误问题。

✨本期推荐阅读:

1、带货版接入微信视频号:https://qqk9ntwbcit.feishu.cn/wiki/DC4cwhYLoiZt2HkO2CecU3jCnGd

2、Fay数字人NLP的选择:https://qqk9ntwbcit.feishu.cn/wiki/Tz4dw6LMUidnqhkv0cvc4FZCnld

[加油]祝大家工作愉快!&[庆祝]新春快乐!

联系我们,请关注微信公众号 fay数字人

fay's People

Contributors

andrewsty avatar theramu avatar wangzai23333 avatar xszyou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fay's Issues

启动main.py报错

(base) zz@ubuntu:~/app/python/Fay$ python main.py 
pygame 2.1.3 (SDL 2.0.22, Python 3.9.13)
Hello from the pygame community. https://www.pygame.org/contribute.html
/home/zz/software/conda/anaconda3/lib/python3.9/site-packages/revChatGPT/__init__.py:29: UserWarning: The current Python is not a recommended version, 3.10+ is recommended
  __import__("warnings").warn(
Traceback (most recent call last):
  File "/home/zz/app/python/Fay/main.py", line 11, in <module>
    from gui.window import MainWindow
  File "/home/zz/app/python/Fay/gui/window.py", line 8, in <module>
    from PyQt5.QtWebEngineWidgets import *
ImportError: /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2: symbol krb5_ser_context_init version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference

python main error, docker ubuntu 18.04

使用synology nas 作为服务器端,使用docker执行python main.py后报错,目前不知道qt问题是否会引起吐核,正在解决x11 转发问题

pygame 2.1.2 (SDL 2.0.16, Python 3.8.2)
Hello from the pygame community. https://www.pygame.org/contribute.html

  • Serving Flask app 'gui.flask_server' (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
    qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

Aborted (core dumped)

ali_nls_key_id 和 ali_nls_key_secret 找不到。

阿里云 实时语音识别 服务密钥(必须)

ali_nls_key_id=
ali_nls_key_secret=

您好,已经注册阿里云-语音,目前只有ali_nls_app_key,

问题:这两个参数,是哪里的?

窗口异常

python main.py 窗
QQ截图20230318165113
QQ截图20230318165051
口显示只有 icon 和 title , 其他的一片空白 ,也没有报错 ,不知道问题出现在哪里

macos系统,运行python main.py 报错No module named 'winreg'

winreg模块只是windows系统中的吧?
macos中安装python3.9没报错,按照
https://blog.csdn.net/aa84758481/article/details/127551258
步骤进行的安装,最后运行python main.py报错:
`
japhone@localhost live-virtual-digital-person$ python main.py

pygame 2.1.3 (SDL 2.0.22, Python 3.9.10)

Hello from the pygame community. https://www.pygame.org/contribute.html

Traceback (most recent call last):

File "/private/var/www/html/fay/live-virtual-digital-person/main.py", line 10, in

from gui import flask_server

File "/private/var/www/html/fay/live-virtual-digital-person/gui/flask_server.py", line 8, in

import fay_booter

File "/private/var/www/html/fay/live-virtual-digital-person/fay_booter.py", line 12, in

from core.viewer import Viewer

File "/private/var/www/html/fay/live-virtual-digital-person/core/viewer.py", line 15, in

import winreg

ModuleNotFoundError: No module named 'winreg'

`

无法调用chatgpt key

Error:

20:22:36][系统] 自然语言处理...
can only concatenate str (not "TypeError") to str
[20:23:06][系统] 自然语言处理错误!

已确认网络可正常访问chatgpt,且api有效。
环境:Windows11, Anaconda

system.conf:

[key]
#funasr / ali
ASR_mode = ali
#ASR_mode = funasr
#ASR二选一(需要运行fay/test/funasr服务)集成达摩院asr项目、感谢中科大脑算法工程师张聪聪提供集成代码
local_asr_ip=127.0.0.1
local_asr_port=10197

# ASR二选一(第1次运行建议用这个,免费3个月), 阿里云 实时语音识别 服务密钥(必须)https://ai.aliyun.com/nls/trans
ali_nls_key_id=LTAId2LA
ali_nls_key_secret=CDCNGcCczbX8ZYF
ali_nls_app_key=3CkjbsF54


# 微软 文字转语音 服务密钥(非必须,使用可产生不同情绪的音频)https://azure.microsoft.com/zh-cn/services/cognitive-services/text-to-speech/
ms_tts_key=
ms_tts_region=

# 讯飞 情绪分析 服务密钥 https://www.xfyun.cn/service/emotion-analysis/
xf_ltp_app_id=91688
xf_ltp_api_key=697216706abdd1bed

#NLP五选一:lingju、yuan、chatgpt、rasa(需启动chatglm及rasa,https://m.bilibili.com/video/BV1D14y1f7pr)、VisualGLM
#chat_module=lingju
chat_module=chatgpt
#灵聚 服务密钥(NLP多选1) https://open.lingju.ai
lingju_api_key=7b2fe0f1a2
lingju_api_authcode=b7900f

#浪.潮源大模型 服务密钥(NLP5多1) https://air.inspur.com/
yuan_1_0_account=  
yuan_1_0_phone=

#gpt 服务密钥(NLP多选1) https://openai.com/
chatgpt_api_key=sk-1gwGRWawx


#ngrok内网穿透id,远程设备可以通过互联网连接Fay(非必须)http://ngrok.cc
ngrok_cc_id=

#revChatGPT对接(非必须,https://chat.openai.com登录后访问https://chat.openai.com/api/auth/session获取)

gpt_access_token=
gpt_conversation_id=


proxy_config=

卡在语音识别了

在阿里云上测试正常,说明设备没问题。总是返回文本是空白,求助
00:42:12][系统] 聆听中...
[00:42:14][系统] 语音处理中...
[00:42:15][系统] 语音处理完成! 耗时: 1025 ms
[00:42:15][系统] [!] 语音未检测到内容!
[00:42:28][系统] 聆听中...
[00:42:30][系统] 语音处理中...
[00:42:31][系统] 语音处理完成! 耗时: 1010 ms
[00:42:31][系统] [!] 语音未检测到内容!
[00:43:44][系统] 聆听中...
[00:43:46][系统] 语音处理中...
[00:43:47][系统] 语音处理完成! 耗时: 1001 ms
[00:43:47][系统] [!] 语音未检测到内容!
[00:43:49][系统] 聆听中...
[00:43:50][系统] 语音处理中...
[00:43:51][系统] 语音处理完成! 耗时: 1004 ms
[00:43:51][系统] [!] 语音未检测到内容!

python main.py 报错,qt打开后空白几秒然后就关闭了,控制台信息如下

C:\Users\淇淇\AppData\Local\Programs\Python\Python39\python.exe C:/Users/淇淇/Desktop/GPTapi/数字人/Fay/main.py
pygame 2.1.3 (SDL 2.0.22, Python 3.9.7)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "C:\Users\淇淇\AppData\Local\Programs\Python\Python39\lib\asyncio\windows_events.py", line 434, in select
Traceback (most recent call last):
File "C:\Users\淇淇\AppData\Local\Programs\Python\Python39\lib\asyncio\windows_events.py", line 434, in select
self._poll(timeout)
RuntimeError: <_overlapped.Overlapped object at 0x000001BF935AC930> still has pending operation at deallocation, the process may crash
self._poll(timeout)
RuntimeError: <_overlapped.Overlapped object at 0x000001BF935AC9C0> still has pending operation at deallocation, the process may crash

进程已结束,退出代码-1073740791 (0xC0000409)

ValueError: Invalid audio channels 我已经插入麦克风了,为什么还报错呀

[11:10:58][系统] 使用 'help' 获取帮助.
File "C:\Program Files\Python310\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "D:\Fay-main\Fay-main\core\recorder.py", line 98, in __record
stream = self.get_stream() #把get stream的方式封装出来方便实现麦克风录制及网络流等不同的流录制子类
File "D:\Fay-main\Fay-main\fay_booter.py", line 39, in get_stream
self.stream = self.paudio.open(input_device_index=device_id, rate=self.__RATE, format=self.FORMAT, channels=channels, input=True)
File "C:\Program Files\Python310\lib\site-packages\pyaudio_init
.py", line 639, in open
stream = PyAudio.Stream(self, *args, **kwargs)
File "C:\Program Files\Python310\lib\site-packages\pyaudio_init
.py", line 441, in init
self._stream = pa.open(**arguments)
ValueError: Invalid audio channels

在控制台上麦克风选择的是 微软声音映射器-Output

websocket版本冲突

  • awesome project!
  • 部署时会遇到一点小问题
  • websocket has no attribute ‘enableTrace’
  • 'module' object has no attribute 'enableTrace'

Don't forget to uninstall websocket, uninstall websocket-client if you already intalled it before, then re install websocket-client:
pip uninstall websocket
pip uninstall websocket-client
pip install websocket-client

  • 或许在requirements.txt中直接删除websocket可以解决冲突问题。
  • 如有错误还请指正

mac M1 pip install ./FunASR 安装报错

(base) yyw@yywdeMac-mini Fay % pip install ./FunASR
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Processing ./FunASR
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [30 lines of output]
/Users/yyw/miniforge3/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/Users/yyw/Desktop/QuWan/AIProject/Fay/FunASR/setup.py", line 125, in
setup(
File "/Users/yyw/miniforge3/lib/python3.10/site-packages/setuptools/init.py", line 86, in setup
_install_setup_requires(attrs)
File "/Users/yyw/miniforge3/lib/python3.10/site-packages/setuptools/init.py", line 80, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/Users/yyw/miniforge3/lib/python3.10/site-packages/setuptools/dist.py", line 874, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/Users/yyw/miniforge3/lib/python3.10/site-packages/pkg_resources/init.py", line 789, in resolve
dist = best[req.key] = env.best_match(
File "/Users/yyw/miniforge3/lib/python3.10/site-packages/pkg_resources/init.py", line 1075, in best_match
return self.obtain(req, installer)
File "/Users/yyw/miniforge3/lib/python3.10/site-packages/pkg_resources/init.py", line 1087, in obtain
return installer(requirement)
File "/Users/yyw/miniforge3/lib/python3.10/site-packages/setuptools/dist.py", line 944, in fetch_build_egg
return fetch_build_egg(self, req)
File "/Users/yyw/miniforge3/lib/python3.10/site-packages/setuptools/installer.py", line 87, in fetch_build_egg
wheel.install_as_egg(dist_location)
File "/Users/yyw/miniforge3/lib/python3.10/site-packages/setuptools/wheel.py", line 110, in install_as_egg
self._install_as_egg(destination_eggdir, zf)
File "/Users/yyw/miniforge3/lib/python3.10/site-packages/setuptools/wheel.py", line 118, in _install_as_egg
self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
File "/Users/yyw/miniforge3/lib/python3.10/site-packages/setuptools/wheel.py", line 162, in _convert_metadata
os.rename(dist_info, egg_info)
OSError: [Errno 66] Directory not empty: '/Users/yyw/Desktop/QuWan/AIProject/Fay/FunASR/.eggs/numpy-1.21.3-py3.10-macosx-11.0-arm64.egg/numpy-1.21.3.dist-info' -> '/Users/yyw/Desktop/QuWan/AIProject/Fay/FunASR/.eggs/numpy-1.21.3-py3.10-macosx-11.0-arm64.egg/EGG-INFO'
[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.

网易云不可用的bug

因为网易云加了一个验证,没有header的请求被拒了。
解决很简单,song_player.py的__random_song方法,添加header
response = requests.request("GET", url,headers={ 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.1722.39'})

python3.10 无法打开Fay Eyes

报错如下:
[11:29:54][系统] YOLO v8正在启动...
127.0.0.1 - - [2023-06-28 11:29:54] "POST /api/control-eyes HTTP/1.1" 200 246 1.047371
Exception in thread Thread-10 (run):
Traceback (most recent call last):
File "/opt/homebrew/Cellar/[email protected]/3.10.6_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/opt/homebrew/Cellar/[email protected]/3.10.6_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/Users/sam/Dev/dev/Fay/ai_module/yolov8.py", line 89, in run
operated_frame = frame.copy()
AttributeError: 'NoneType' object has no attribute 'copy'

python main.py 报错 ERROR:zygote_host_impl_linux.cc(262)] Failed to adjust OOM score of renderer with pid 21908: Permission denied (13)

如题
报错信息如下
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
[21839:21906:0613/170710.643830:ERROR:zygote_host_impl_linux.cc(262)] Failed to adjust OOM score of renderer with pid 21908: Permission denied (13)
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)

异常解决

Exception in thread Thread-38:
Traceback (most recent call last):
File "/Users/libn/miniconda3/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/Users/libn/miniconda3/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/Users/libn/Documents/XZNS/Research/chatgpt/Fay/ai_module/ali_nls.py", line 138, in __connect
websocket.enableTrace(False)

解决
pip uninstall websocket-client
pip uninstall websocket

pip install websocket-client

启动时报错

[17:50:34][系统] 开启核心服务...
[1] 78941 illegal hardware instruction python main.py

启动main.py报错

python版本:3.8.7
系统:windows 7
按照文档,各个依赖库都按相应版本pip install成功
导入pycharm项目中,运行main.py 报错,麻烦作者大大,帮忙看一下问题,谢谢!

错误信息如下:
Traceback (most recent call last):
File "D:\Python\Python38\lib\site-packages\azure\cognitiveservices\speech\speech_py_impl.py", line 27, in swig_import_helper
return importlib.import_module(mname)
File "D:\Python\Python38\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 657, in _load_unlocked
File "", line 556, in module_from_spec
File "", line 1101, in create_module
File "", line 219, in _call_with_frames_removed
ImportError: DLL load failed while importing _speech_py_impl: 找不到指定的程序。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.