# Can't reference system.perspective in script console?

**URL:** <https://forum.inductiveautomation.com/t/cant-reference-system-perspective-in-script-console/32783>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [March 3, 2020, 7:54pm UTC](https://forum.inductiveautomation.com/t/cant-reference-system-perspective-in-script-console/32783 "2020-03-03T19:54:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [March 3, 2020, 7:54pm UTC](https://forum.inductiveautomation.com/t/cant-reference-system-perspective-in-script-console/32783/1 "2020-03-03T19:54:31Z")

</div>

I was trying to develop and test some functions I built for a perspective module in the Script Console. I tried running them and got `ImportError: No module named perspective`. To recreate this, open Script Console and try `import system.perspective`. I understand perspective’s operations aren’t really integrated with the rest of the libraries but I am not using it for anything other than the print function in use case, but I still can’t develop with with the script console because of this. Is this a known issue?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 3, 2020, 8:00pm UTC](https://forum.inductiveautomation.com/t/cant-reference-system-perspective-in-script-console/32783/2 "2020-03-03T20:00:14Z")

</div>

The script console cannot run gateway-only function. Perspective scripts run on the gateway. Perspective scripting functions can only run in the gateway, where the information they need is present.

I recommend creating a test page in Perspective with some test buttons you can click to run your scripts. Use system.perspective.print() to get the console output.
