How to Solve NameError: name 'distutils' is not defined
Solution: Import the 'distutils' module
# Add the following line to the top of your code
import distutils
For more information:
Python distutils
# Add the following line to the top of your code
import distutils
For more information:
Python distutils