ansys / optical-automation

Optical Automation Framework
https://ansys-internal.github.io/optical-automation/
MIT License
29 stars 11 forks source link

Bug located in BSDF_converter_example.py #167

Closed CHENFENGGU closed 1 month ago

CHENFENGGU commented 1 month ago

🔍 Before submitting the issue

🐞 Description of the bug

I am using Python 3.12 version, when running the scripts, it shows error: NotImplementedError: interp2d has been removed in SciPy 1.14.0.

📝 Steps to reproduce

just running the scripts, it will show the error 屏幕截图 2024-09-25 150554

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

speos 2024R1

🐍 Which Python version are you using?

3.12

📦 Installed packages

C:\Users\cgu>python -m pip freeze
# Editable install with no version control (ansys_optical_automation==0.0.1)
-e c:\users\cgu\downloads\optical-automation-main\optical-automation-main
cffi==1.17.1
clr-loader==0.2.6
comtypes==1.4.7
numpy==2.1.1
opencv-python==4.10.0.84
pycparser==2.22
pythonnet==3.0.4
pywin32==306
scipy==1.14.1