How to Solve NameError: name 'Structure' is not defined -- solcore

Solution: Import the 'Structure' module

To Solve the error, add the following line to the top of your code.

from solcore import Structure

 

For more information:
Python solcore Structure