How to Solve NameError: name 'pclient' is not defined

Solution: Import the 'pclient' module

# Add the following line to the top of your code
import pclient

 

For more information:
Python pclient