# KeyError: ('torch', 'linalg.eigh')

**URL:** https://discuss.pennylane.ai/t/keyerror-torch-linalg-eigh/2388
**Category:** PennyLane Help
**Created:** [December 19, 2022, 5:18am UTC](https://discuss.pennylane.ai/t/keyerror-torch-linalg-eigh/2388 "2022-12-19T05:18:52Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![CatalinaAlbornoz](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/catalinaalbornoz/32/1196_2.png) [@CatalinaAlbornoz](https://discuss.pennylane.ai/u/CatalinaAlbornoz)
#### Post date: [December 21, 2022, 4:21pm UTC](https://discuss.pennylane.ai/t/keyerror-torch-linalg-eigh/2388/2 "2022-12-21T16:21:13Z")

</div>

Hi @Vaishnavi_Chandilkar, our current version of PennyLane (v0.28) only supports Python 3.8 and above. The last PennyLane version which supported Python 3.6 was v0.15.1. This is very old so if possible I would suggest upgrading to the latest Python versions.

Also, your issue seems to be related to Torch. The latest version supported is v1.13.

I hope this is helpful for you!

---

_[View the full topic](https://discuss.pennylane.ai/t/keyerror-torch-linalg-eigh/2388)._
