chat2plot icon indicating copy to clipboard operation
chat2plot copied to clipboard

TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

Open ClaudiuFilip110 opened this issue 2 years ago • 1 comments

I'm trying to use the library, but I can't, and I can't figure out why.

When loading the library from chat2plot import chat2plot I'm getting the TypeError. I've tried Python 3.9 and 3.11.

My machine is a M1 Pro, if that helps. To recreate, you just do pip install chat2plot.

ClaudiuFilip110 avatar Nov 14 '23 18:11 ClaudiuFilip110

@ClaudiuFilip110 This library supports Python 3.10 and above. The error appears to be due to Python 3.9 not supporting union types. If you get the same error with Pyyhon 3.11, please provide a complete stack trace.

nyanp avatar Nov 19 '23 09:11 nyanp