Cannot find implementation or library stub for module named "..." for modules inside .../Python14/Lib/site-packages
#489
Unanswered
ItsCubeTime
asked this question in
Q&A
Replies: 3 comments 6 replies
|
Figured I would provide my project files as well in case they are useful for any reason:
|
0 replies
This sounds like a Typeshed issue. Something in the vendored? typeshed seems to be wrong or different. Did you edit something? Zuban essentially crashes because an assertion is wrong with typeshed. The tuple signature seems off. I'm not sure that's the reason, but it might be. Other than that |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I installed first via
pip install zuban --break-system-packages --upgradethen the extension via the VS Code marketplace.I had a go using

PYTHONPATHlike so:but it doesnt seem to pick up on it. The actual value is
C:\Users\olliv\AppData\Local\Programs\Python\Python314\Lib\site-packages;C:\PythonPathLibraries(which the windows env var editor displays as shown above)I then tried by placing a
pyproject.tomlfile at the project root containing:Which gives me an error:
I do however seem to get autocompletion for modules inside the directories specified in
pyproject.toml, but all syntax coloring breaks (presumably because of the error displayed above?). On a side note though, as I do not really use pyproject.toml for most of my projects, I would very much like to see a (working) global way of configurating zuban, like a global (system wide)pyproject.tomlor via VS Code'ssettings.json- and it could also be handy if zuban were able to pick up on"python.analysis.extraPaths": ["C:/wherever/one/likes/perhaps/python14/lib/site-packages"],(a setting in VS Codessettings.jsoncreated by MS Python extension)All reactions