mjhoptics / ray-optics

geometric ray tracing for optical systems
BSD 3-Clause "New" or "Revised" License
263 stars 54 forks source link

Cannot import spline #20

Closed neherh closed 3 years ago

neherh commented 3 years ago

Screenshot from 2021-01-28 10-25-11

I believe the update to optical glass 0.7 needs scipy > 1.3, however the function spline is only provided in scipy < 1.3.

Otherwise, I am getting this error. Can this be updated accordingly, please?

python 3.6 scipy 1.5.4

neherh commented 3 years ago

Based on your previous issue, it may seem that I should update to python 3.7?

mjhoptics commented 3 years ago

I would update your ray optics version to the current one; the scipy issue was fixed in version 0.4.6. Python 3.7 or greater is needed; I vaguely recall some incompatibility with 3.6. Thanks

neherh commented 3 years ago

Thank you for your reply.

On Thu., Jan. 28, 2021, 1:36 p.m. Michael Hayford, notifications@github.com wrote:

I would update your ray optics version to the current one; the scipy issue was fixed in version 0.4.6. Python 3.7 or greater is needed; I vaguely recall some incompatibility with 3.6. Thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mjhoptics/ray-optics/issues/20#issuecomment-769289839, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADLDCAAMSRBV3FMT6IW5LFLS4GVBBANCNFSM4WXH7IKQ .