As in the picture, when I editing python file, there are two completions. Why is that? Thank you very much.
Following are my init.el related to elpy and completion:
(elpy-enable)
;;(setq elpy-rpc-backend "jedi")
;;(autoload 'jedi:setup "jedi" nil t)
;;(add-hook 'python-mode-hook 'jedi:setup)
;;(setq jedi:complete-on-dot t) ; optional
(elpy-use-ipython)
(global-eldoc-mode -1)
(add-hook 'after-init-hook 'global-company-mode)
;;(defun my/python-mode-hook ()
;; (add-to-list 'company-backends 'company-jedi))
;;(add-hook 'python-mode-hook 'my/python-mode-hook)

auto-complete-mode, that should remove the first/upper auto-complete selection.