TypeError: 'type' object is not subscriptable
chenyzh28 opened this issue · 4 comments
chenyzh28 commented
I installed jax and then used the command $ pip install git+https://github.com/deepmind/dm-haiku, but when I tried to import haiku, there was an error, TypeError: 'type' object is not subscriptable. Why is that?
Logan-lxw commented
I also meet the problem.Have you resolved it?
Logan-lxw commented
I also meet the problem.Have you resolved it?
@chenyzh28
chenyzh28 commented
I also meet the problem.Have you resolved it?
@chenyzh28
I upgraded my python version to 3.11 (my original version is 3.8) and the problem was solved.
Logan-lxw commented
I also meet the problem.Have you resolved it?
@chenyzh28I upgraded my python version to 3.11 (my original version is 3.8) and the problem was solved.
Thank you.