Since upgrading to Cursor v0.38.1, my Pylance extension has been broken and I have been unable to find a fix, despite installing and trying out many different versions of both the Python and Pylance extensions. I’ve also tried creating new profiles, but no luck.
Any help would be greatly appreciated, at this point I’m about to just give up on using Cursor if I can’t get my basic linting set up. If possible, I would like to revert to an earlier version of Cursor.
Cursor Python Language Server output:
2024-07-31 12:16:57.078 [info] [Info - 12:16:57 PM] (61112) Pylance language server 2024.7.103 (pyright version 1.1.373, commit ee424479) starting
2024-07-31 12:16:57.078 [info] [Info - 12:16:57 PM] (61112) Server root directory: file:///Users/thet/.cursor/extensions/ms-python.vscode-pylance-2024.7.103/dist
2024-07-31 12:16:57.081 [info] [Error - 12:16:57 PM] Server initialization failed.
2024-07-31 12:16:57.081 [info] Message: Request initialize failed with message: You may install and use any number of copies of the software only with Microsoft Visual Studio, Visual Studio for Mac, Visual Studio Code, Azure DevOps, Team Foundation Server, and successor Microsoft products and services (collectively, the “Visual Studio Products and Services”) to develop and test your applications. The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. You may not: work around any technical limitations in the software that only allow you to use it in certain ways; reverse engineer, decompile or disassemble the software, or otherwise attempt to derive the source code for the software, except and to the extent required by third party licensing terms governing use of certain open source components that may be included in the software; remove, minimize, block, or modify any notices of Microsoft or its suppliers in the software; use the software in any way that is against the law or to create or propagate malware; or share, publish, distribute, or lease the software (except for any distributable code, subject to the terms above), provide the software as a stand-alone offering for others to use, or transfer the software or this agreement to any third party.
Code: -32603
2024-07-31 12:16:57.081 [info] [Error - 12:16:57 PM] Pylance client: couldn't create connection to server.
2024-07-31 12:16:57.081 [info] Message: Request initialize failed with message: You may install and use any number of copies of the software only with Microsoft Visual Studio, Visual Studio for Mac, Visual Studio Code, Azure DevOps, Team Foundation Server, and successor Microsoft products and services (collectively, the “Visual Studio Products and Services”) to develop and test your applications. The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. You may not: work around any technical limitations in the software that only allow you to use it in certain ways; reverse engineer, decompile or disassemble the software, or otherwise attempt to derive the source code for the software, except and to the extent required by third party licensing terms governing use of certain open source components that may be included in the software; remove, minimize, block, or modify any notices of Microsoft or its suppliers in the software; use the software in any way that is against the law or to create or propagate malware; or share, publish, distribute, or lease the software (except for any distributable code, subject to the terms above), provide the software as a stand-alone offering for others to use, or transfer the software or this agreement to any third party.
Code: -32603
Cursor info:
Version: 0.38.1
VSCode Version: 1.91.1
Commit: 39ded7305e8d625076ebbbf98510c53152232660
Date: 2024-07-25T20:18:41.490Z
Electron: 29.4.0
ElectronBuildId: undefined
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.4.0