Python errors using log file analytics method

I have Matomo installed, but having difficulties trying to get it to use the log file analytics method.

I have a log file, and I have a measurement setup in Matamo.

However, when I run the python script, I just get an error:

This is using Python version 3.8.10.

Any help you can provide would be appreciated. Many thanks.

Log file example:

Hi Daniel. Did you fix this? Seeing same.

Worked out why I was getting this error. I had configured my command line incorrectly, with particular note for the –url parameter.

–url is the target for your matamo install, not the website you are logging. Once I got that url correct the ingesting could begin.

Leaving a copy of this information here in case someone else stumbles down the path too.