-
Notifications
You must be signed in to change notification settings - Fork 767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stubPath .... is not a valid directory #1075
Comments
This isn't a real error; you don't need a typings directory to work so you can ignore it. I think "error" is a bit too strong for this message; perhaps we can just change it to a warning. |
I like the suggestion of changing this from an error to a warning. That should help reduce confusion about this message. I just made that change. |
Thanks, that's all we need. 🙂 |
This issue has been fixed in version 2021.3.3, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#202133-24-march-2021 |
@jakebailey That bug should have not being closed because even a warning is confusing, especially when there is nothing the user can to get this sorted. Setting the settings to empty string does not silence this message. If the user changes the vscode user settings, they will get an additional message That drives me crazy as even setting it to another existing folder does not silence the language server. I tried .tox and I got |
@ssbarnea, this issue is ancient. Please file a new issue if there is a current behavior you would like addressed. |
This is a duplicate of microsoft/pyright#777 (comment) in the pyright issue tracker. |
I am new with python and VS Code. I am using VS Code 1.54.3 with Ubuntu 20.04 and Pylance 2021.3.2 and I am getting following output at start-up of VS Code:
Can you explain why this is displayed and how to solve the problem.
The text was updated successfully, but these errors were encountered: