error when importing pylinac 3.6.0 module

59 views
Skip to first unread message

唐巍

unread,
Dec 27, 2022, 7:41:58 AM12/27/22
to Pylinac
I was trying to analyze the picket fence image , but pylinac 3.0.2 doesn't support plot_profile module, so I‘ve update pylinac to 3.6.0 and when I import pylinac There was an error: 'type' object is not subscriptable. Anyone know what's happening?

tbe...@gmail.com

unread,
Jan 2, 2023, 3:51:13 AM1/2/23
to Pylinac
Hi,

did you also upgrade your python version? With pylinac 3.2 support for python 3.6 was dropped.
If you also upgraded your python version, could you show us the code you are trying to run?

regards
Thomas
Reply all
Reply to author
Forward
0 new messages