I have been following a procedural rigging course on Pluralsight (komodo Dragon). In order to follow the course in parellel, I have installed Eclipse IDE.
Here is my code:
for p in sys.path:
rigDir = ‘C:/Users/Gavin/Documents/Libraries/code/python’
if not rigDir in sys.path:
c = rigLib.base.control.Control() ## causing an error
I’m getting this error:
# Error: line 1: AttributeError: file line 1: ‘module’ object has no attribute ‘base’ #
I’m trying to access the Control() class and the project setup is like this:
The rigLib has subfolders with ‘base’ being one of them and that’s the one that has the Control () class which I’m trying to access but unfortunately unable to, due to the error.
I would be really grateful if someone could reach out with some ideas of how to sort out this error.