Python-language-server: Unresolved Imports

Created on 18 Mar 2019  路  3Comments  路  Source: microsoft/python-language-server

@Astrantia commented on Fri Mar 15 2019

from .common.desired_capabilities import DesiredCapabilities
from .common.action_chains import ActionChains 
from .common.touch_actions import TouchActions
[Info  - 1:57:57 AM] Microsoft Python Language Server version 0.2.23.0
[Info  - 1:57:57 AM] Initializing for C:\Python37\python.exe

Extension compiled from master.

Clicking CTRL and hovering over DesiredCapabilities, ActionChains, etc will not resolve. from . import A doesn't work in general with latest LS and latest extension


@Astrantia commented on Sat Mar 16 2019

@DonJayamanne can you reproduce this?


@Astrantia commented on Sat Mar 16 2019

This is critical because most modules are written like this, meaning that intellisense cant be used for those modules

bug imports

Most helpful comment

python import logging import os import shutil import stat import sys import time import traceback from typing import List from contextlib import contextmanager from functools import partialmethod

Among the above imports, I only got unresoved import for sys and time. Others are OK.

Python 3.7.0 64-bit
VSCode 1.32.1
VSCode-Python 2019.3.6139

All 3 comments

python import logging import os import shutil import stat import sys import time import traceback from typing import List from contextlib import contextmanager from functools import partialmethod

Among the above imports, I only got unresoved import for sys and time. Others are OK.

Python 3.7.0 64-bit
VSCode 1.32.1
VSCode-Python 2019.3.6139

Same here I have unresolved import 'sys'

VSCode 1.32.3
Python 3.6.4

Folding into #726

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MikhailArkhipov picture MikhailArkhipov  路  46Comments

luabud picture luabud  路  27Comments

DonJayamanne picture DonJayamanne  路  25Comments

busykoala picture busykoala  路  29Comments

dmayo77 picture dmayo77  路  49Comments