본문 바로가기
공부/오류

jupyer notebook 자동완성 되지 않을때

by 촌쥐 2021. 2. 23.

레퍼런스 : stackoverflow.com/questions/33665039/tab-completion-does-not-work-in-jupyter-notebook-but-fine-in-ipython-terminal

 

TAB completion does not work in Jupyter Notebook but fine in iPython terminal

TAB completion works fine in iPython terminal, but not in Firefox browser. So far I had tried but failed, 1). run a command $ sudo easy_install readline, then the .egg file was wrote in /usr/l...

stackoverflow.com

 

#아나콘다를 켠 상태에서 입력
conda install -c anaconda jedi

아나콘다에서 이 문장을 실행해도 자동완성이 되지 않을 경우

 

이후 jupyter notebook 들어가서 ipynb 파일 제일 맨위에 

%config Completer.use_jedi = False

위 문장을 입력한 뒤 해당 셀을 실행 시켜주면 됩니다.

 

참고로 자동완성은 패키지를 import 하신뒤에 사용하시면 됩니다.

댓글