lordmauve / pgzero

A zero-boilerplate games programming framework for Python 3, based on Pygame.
https://pygame-zero.readthedocs.io/
GNU Lesser General Public License v3.0
536 stars 189 forks source link

Get Error:OSError: [WinError -2147221005] 无效的类字符串 #257

Closed MCTF-Alpha-27 closed 3 years ago

streetartist commented 3 years ago

I think You must give more information

MCTF-Alpha-27 commented 3 years ago

I use the same code, but I cannot run it by using the newest version. I don't know why, I can use it in pygame 1.9.6. (I don't know what cause it, maybe it's about pygame?)

MCTF-Alpha-27 commented 3 years ago

pgzero uses pygame as its front end, right?

MCTF-Alpha-27 commented 3 years ago

image image

MCTF-Alpha-27 commented 3 years ago

Well, I can use it now. I guess it is a bug of pygame.

lordmauve commented 3 years ago

Those tracebacks put the error in pyttsx3, not Pygame or Pygame Zero.