Pylance-release: Import "django.urls" could not be resolved from sourcePylance (reportMissingModuleSource)

Created on 7 Aug 2020  路  5Comments  路  Source: microsoft/pylance-release

Environment data

XXX
waiting for info

All 5 comments

Hi Alex, thanks for the bug report. Would you please verify that you have the right interpreter and Django installed?
thanks!

1

Now it is not showing the error (reportMissingModuleSource). It is working fine.

2

"python.languageServer": "Pylance",

Defines type of the language server.
Value is not accepted. Valid values: "Jedi", "Microsoft", "None".(1)

Vscode not taking Pylance a valid language server. I have already install Pylance extension.

See #16; it will be fixed in the next Python extension release, which should be in a week or so. You can try their insiders if it bugs you.

Since the warning is gone, I'll close this.

This still seems to be a problem for me

@amanagarwal-x Could you please file a new issue with a reproduction? This issue is pretty old (and should be fixed); I doubt the cause is the same.

Was this page helpful?
0 / 5 - 0 ratings