Skip to content Skip to sidebar Skip to footer

Python Error - Typeerror: Item 1 In _argtypes_ Passes A Union By Value, Which Is Unsupported

I think this is a not a programming specific bug, but is caused by some libraries. I am transferring my project to a new PC, which I have freshly setup with anaconda etc. using pyt

Solution 1:

It seems like there is simply no support currently for using gym+pyglet in python version 3.7.6+.

The pyglet error is fixed in 1.4.9+ but gym is currently not compatible with those versions.

Still it is possible to simply downgrade python to 3.7.4 and everything works fine as it is supposed to do.

Solution 2:

Downgrade your pyttsx3 version:

pip install pyttsx3==2.71

Post a Comment for "Python Error - Typeerror: Item 1 In _argtypes_ Passes A Union By Value, Which Is Unsupported"