Field analysis

Dear All,

As you can see in the image, I am using pylinac with google colaboratory. However, I am having trouble with an error that did not occur before.

I would be happy to receive a solution.

Regards
Yuki

Hi,

sounds like the same error as here: https://groups.google.com/g/pylinac/c/2I-ntY1qRv4/m/3VpPvxanAQAJ
I think the error might be explained here, but I’m noch exactly sure: https://stackoverflow.com/questions/26920955/typeerror-type-object-is-not-subscriptable-when-indexing-in-to-a-dictionary
Could you try to change your python versin to 3.9?

regards
Thomas

Python 3.9 will work. It was introduced here: What’s New In Python 3.9 — Python 3.11.1 documentation

I’ll have to make a bugfix for older python versions.

Thanks for the replies, everyone.

I tried changing the python version to 3.9.
But I got “ModuleNotFoundError: No module named ‘pylinac’”.
I’m attaching an image, but pylinac is already installed.

2023年1月6日金曜日 23:40:15 UTC+9 jker...@gmail.com:

3.PNG

1.PNG

2.PNG