# Python extension failed

**URL:** <https://forum.cursor.com/t/python-extension-failed/80690>\
**Category:** Bug Reports\
**Created:** [April 17, 2025, 7:42pm UTC](https://forum.cursor.com/t/python-extension-failed/80690 "2025-04-17T19:42:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vwxyzjn](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/vwxyzjn/32/47972_2.png) [@vwxyzjn](https://forum.cursor.com/u/vwxyzjn)\
**Post date:** [April 17, 2025, 7:42pm UTC](https://forum.cursor.com/t/python-extension-failed/80690/1 "2025-04-17T19:42:03Z")

</div>

When trying to do “cmd + shift + p” → “python: select interpreter”, it errors out with the following:

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/5/4/54f35b28000e065de6057930375bf105bf445c7d.jpeg)

As a result, syntax highlight and other python features won’t work

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/d/4/d49e4c82a4671f49b0f92b4414339fa729471912.png)

✅ **Check the forum** to ensure the issue hasn’t been reported already  
🐞 Provide a **clear description** of the bug  
🔄 Explain how to **reproduce the bug** (if known)  
📷 Attach **screenshots or recordings** (e.g., `.jpg`, `.png`, `.mp4`).  
💻 Tell us your operating system and your **Cursor version** (e.g., `Windows, 0.x.x`).

Version: 0.48.9  
VSCode Version: 1.96.2  
Commit: 61e99179e4080fecf9d8b92c6e2e3e00fbfb53f0  
Date: 2025-04-12T18:33:49.349Z  
Electron: 34.3.4  
Chromium: 132.0.6834.210  
Node.js: 20.18.3  
V8: 13.2.152.41-electron.0  
OS: Darwin arm64 23.5.0

🚫 Tell us if the issue stops you from using Cursor.

---

<div class="post-metadata">

**Author:** ![nirendy](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/nirendy/32/17379_2.png) [@nirendy](https://forum.cursor.com/u/nirendy)\
**Post date:** [April 18, 2025, 7:14pm UTC](https://forum.cursor.com/t/python-extension-failed/80690/2 "2025-04-18T19:14:14Z")

</div>

I also experienced other problems with the Python extension, which started yesterday. I have the exact same versions as you, except for the OS: Darwin arm64 24.4.0.

---

<div class="post-metadata">

**Author:** ![vwxyzjn](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/vwxyzjn/32/47972_2.png) [@vwxyzjn](https://forum.cursor.com/u/vwxyzjn)\
**Post date:** [April 22, 2025, 4:11pm UTC](https://forum.cursor.com/t/python-extension-failed/80690/3 "2025-04-22T16:11:17Z")

</div>

Eh this is still a problem…

---

<div class="post-metadata">

**Author:** ![ravirahman](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ravirahman/32/20386_2.png) [@ravirahman](https://forum.cursor.com/u/ravirahman)\
**Post date:** [April 28, 2025, 12:15am UTC](https://forum.cursor.com/t/python-extension-failed/80690/4 "2025-04-28T00:15:14Z")

</div>

It looks like this error is similar to [this issue](https://github.com/microsoft/vscode-python/issues/21481#issuecomment-1608487074) in the upstream Python extension. Could you run the command `Python: Clear cache and reload window` and see if that helps?

---

<div class="post-metadata">

**Author:** ![vwxyzjn](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/vwxyzjn/32/47972_2.png) [@vwxyzjn](https://forum.cursor.com/u/vwxyzjn)\
**Post date:** [April 28, 2025, 12:56am UTC](https://forum.cursor.com/t/python-extension-failed/80690/5 "2025-04-28T00:56:01Z")

</div>

Thanks so much @ravirahman! `Python: Clear cache and reload window` indeed resolves the issue.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [May 28, 2025, 12:56am UTC](https://forum.cursor.com/t/python-extension-failed/80690/6 "2025-05-28T00:56:46Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
