-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Microsoft Python Language Server fails to provide completions for an extension module #2466
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
Comments
I assume Python can import this module fine from where it is from within the extension? And have you tried with the And we are working on the documentation now, but you should be able to use |
I think the issue is specifically with extension modules built in-place that are not directly on |
Oh, if you can't import the file because it's not accessible from And I will try and verify this. |
You can try and add paths to |
To be clear of what is needed, if you run |
@MikhailArkhipov is this fixed in the LS? |
Closing in favour of microsoft/python-language-server#197. |
Uh oh!
There was an error while loading. Please reload this page.
Environment data
Actual behavior
Completion for the locally in-place built
_hello
extension module doesn't work. It shows the following warning:Found in #2458 (comment)
Expected behavior
Completions should work.
Steps to reproduce:
python setup.py build_ext --inplace
(setuptools required)hello.py
.Logs
Output for
Python
in theOutput
panel:cc @brettcannon
The text was updated successfully, but these errors were encountered: