xszyou / Fay

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.
GNU General Public License v3.0
9.33k stars 1.81k forks source link

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

Open japhone opened 1 year ago

japhone commented 1 year ago

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'

`