In VS Code, the latest Pylance extension (v2023.10.50) failed with this error:
TypeError: _0x2f33cc[(_0x1efd68(…) + _0x1efd68(…))] is not a
function
(When I highlight on any line of code).
I tried to delete some suspected libs but nothing happened.
2
Answers
The same error occurred when using Pylance v2023.10.50, and downgraded to v2023.10.40 and the problem was resolved.
Same error occured on Pylance v2023.10.50 when using venv, you can also use the pre-release version v2023.10.53 to fix the issue. To install it simply use the dropdown menu next to the install button in vscode extensions and select install pre-release version.