How to Solve NameError: name 'PerlinNoise' is not defined -- perlin_noise

Solution: Import the 'PerlinNoise' module

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

from perlin_noise import PerlinNoise

 

For more information:
Python perlin_noise PerlinNoise