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.

project interpreter settings

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

Popular posts from this blog

serialization - Convert Any type in scala to Array[Byte] and back -

matplotlib support failed in PyCharm on OSX -

python - Matplotlib: TypeError: 'AxesSubplot' object is not callable -