Skip to main content

Hello,

Python's latest version 3.10 was released a few days back. Our ZOSAPI- Python User updated Python's older version to 3.10 which is not recommendable for Python Interactive and Standalone ZOSAPI -Python. The Pythonnet library which connects CLR of ZOS API dll to Python has not been updated for Python 3.10. So, if you find customers using Python 3.10 or Python 3.9. It would be better to use python 3.7 or Python3.8. As Pythonnet works well with these versions.

As you can see after installing Pythonnet getting Attribute error Addrefrence.

Attribute Error

Thanks

Sahil

Update~

PythonNET 3.x is "Fixed" | Zemax Community


If your application/client require the use of a more modern version of Python, you could consider using ZOSPy, which resolved the issues with the .NET library and has been tested with Python 3.10 (and 3.11)


Reply