This question already has an answer here:

I'm trying to convert a python script to work in Blender 2.8 https://github.com/mtyka/attractor/blob/c7edbadcee826ea5d791529cfa329f2c326215ec/attractor.py

I've made the changes to line 27 to say "blender": (2, 80, 0),

but I'm getting errors in line 384 in addon_utils.py which this file doesn't exist on my system (I have 2.79 and 2.80 snap blender Ubuntu 18.04 64bit neither have this file).

and I'm getting errors in line 1480 in attractor.py

def register():



marked as duplicate by Robert Gützkow, Duarte Farrajota Ramos Sep 10 at 0:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.