[bug]: Pyparsing throws error
Is there an existing issue for this?
- [X] I have searched the existing issues
OS
Windows
GPU
cuda
VRAM
No response
What happened?
Pressing invoke from the UI throws an error
AttributeError: module 'pyparsing' has no attribute 'one_of'
Screenshots
Traceback (most recent call last): File "d:\stablediffusion\invokeai\backend\invoke_ai_web_server.py", line 1117, in generate_images self.generate.prompt2image( File "d:\stablediffusion\invokeai\ldm\generate.py", line 456, in prompt2image uc, c, extra_conditioning_info = get_uc_and_c_and_ec( File "d:\stablediffusion\invokeai\ldm\invoke\conditioning.py", line 39, in get_uc_and_c_and_ec pp = PromptParser() File "d:\stablediffusion\invokeai\ldm\invoke\prompt_parser.py", line 260, in init self.conjunction, self.prompt = build_parser_syntax(attention_plus_base, attention_minus_base) File "d:\stablediffusion\invokeai\ldm\invoke\prompt_parser.py", line 464, in build_parser_syntax pp.one_of(['-', '+']) + pp.NotAny(pp.White() | pp.Char(syntactic_chars) | pp.StringEnd()), AttributeError: module 'pyparsing' has no attribute 'one_of'
Additional context
Some functions appear to have been deprecaterd in pyparsing 3.x.