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

Solution: Import the 'material' module

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

from solcore import material

 

For more information:
Python solcore material