Question

Python ZOS-API: can't find '__main__' module in '/Users/xxxx/Documents/ZEMAX/ZOS-API'

  • 30 March 2023
  • 0 replies
  • 53 views

I am trying to run some of the Python ZOS-API Standalone Application examples using Spyder, but running it in an external system terminal. I get the following error message, but I don’t understand what is causing this:

/Users/xxxx/miniconda3/bin/python: can't find '__main__' module in '/Users/xxxx/Documents/ZEMAX/ZOS-API'

I am very new to using ZOS-API, so any pointers would be greatly appreciated!


0 replies

Be the first to reply!

Reply