python - Why isn't PyCharm's autocomplete working for libraries I install? -
pycharm's autocomplete isn't working installed libraries. have following code:
from boto.emr.connection import emrconnection conn = emrconnection(aws_keys.access_key_id, aws_keys.secret_key)
i want editor tell me methods have available me when press ctrlspace.
the boto library installed in environment, doesn't seem detected pycharm. how can set correctly?
you've installed 3rd-party library virtualenv, pycharm doesn't know default. if nothing specified, choose system python install interpreter. need go project settings , configure interpreter point @ virtualenv. pycharm index interpreter , allow autocomplete.
the virtualenv may auto-detected in dropdown menu on left. if not, click gear right, click "add local", , select /path/to/virtualenv/bin/python
(or \path\to\virtualenv\scripts\python.exe
on windows).
Comments
Post a Comment