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

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

Description

@klajddd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions