Skip to content
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

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

Open
japhone opened this issue May 18, 2023 · 0 comments
Open

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

japhone opened this issue May 18, 2023 · 0 comments

Comments

@japhone
Copy link

japhone commented May 18, 2023

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'

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant