I am using PyScripter IDE for Python. When I run an arcpython script on PyScripter, I get the error that says "ModuleNotFoundError:no module named 'arcpy'" . However, the arcpython script runs fine in Python window embedded with Arcmap. I have attached the snapshots of error and the sys.path.
How do I configure this issue in PyScripter so that it will understand I am using arcpython modules?