Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

Unable to open 'python3.pyi': Unable to read file #2135

Open
klajddd opened this issue Jan 1, 2021 · 0 comments
Open

Unable to open 'python3.pyi': Unable to read file #2135

klajddd opened this issue Jan 1, 2021 · 0 comments

Comments

@klajddd
Copy link

klajddd commented Jan 1, 2021

I have an issue similar to #1813, not sure if that was ever fixed.

I have opened a blank python file with the following lines:

a='someText'
a.lower()

When trying to access the documentation of the .lower() method, the following error appears:

Unable to open 'python3.pyi': Unable to read file '/Users/MY_USERNAME/Library/Caches/Microsoft/Python Language Server/stubs.v4/5Gj0QnRdrb5AHReKMGD6k6EdoYIw-qZ4xCPncKJOn_k=/python3.pyi' (Error: Unable to resolve non-existing file '/Users/MY_USERNAME/Library/Caches/Microsoft/Python Language Server/stubs.v4/5Gj0QnRdrb5AHReKMGD6k6EdoYIw-qZ4xCPncKJOn_k=/python3.pyi').

This would be a builtins.pyi doc file that should be opened in this case, similar to how it opens in PyCharm.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant