Create Part Comparison Analysis Error

I’m attempting to create a script that uses the ‘trimatic.create_part_comparison_analysis’ command, but I’ve been running into a weird AttributeError. The code I’m using is the first picture below. The error is the second picture below.

What’s weird is that when I inspect the pymatic file, it does have the correct module (see below picture).
image

How do I fix this error?

Thank you in advance for your assistance,
Ian