*.pyi files are not picked up by remote interpreter
Answered
*.pyi files from manually added to a remote interpreter paths are not resolved by IDE when symbols from these files are used.
I checked `External Libraries` in Project Window, and corresponding folders have only __init__.py files, *.pyi aren't synched.
Is it expected behavior for remote interpreters?
Please sign in to leave a comment.
Hi,
So you import something from your *.pyi files and PyCharm doesn't resolve it?
Would it be possible to provide a screenshot showing the problem and another one showing the location of these *.pyi files?
Sounds similar to https://youtrack.jetbrains.com/issue/PY-31189
Sure, here's more details on the problem:
Locally, .py files exist in External Libraries for the remote interpreter, but not *.pyi
Thanks for clarification!
This one indeed seems relevant https://youtrack.jetbrains.com/issue/PY-31189. PyCharm doesn't download remote *.pyi files and thus they are not shown in External Libraries. Then it is also expected that it fails to import.
Please vote for the issue and follow for updates.