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

Solution: Import the 'si' module

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

from solcore import si

 

For more information:
Python solcore si