'Error message using the acor Python module

I'm trying to run some code which uses a python module acor.

When I run my code I get the error:

AttributeError: module 'acor' has no attribute 'acor'

The only thing I can find online about this is this link. Someone suggest a fix in which:

import _acor is replaced by import acor._acor as _acor.

I tried this, but I still get the same error. I am using Python 3.9.7



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source