본문 바로가기
개발/IR_ML_NLP

notebook tensorflow ModuleNotFoundError

by 로그인시러 2018. 2. 20.

  • 문제 : tensor 깔고 notebook 에서 바로 사용하면 error 발생 ~ 짜증 and DEEP PPAK 

  • 원인 : tensor 가상환경의 jupyter 가 설치되어 있지 않으므로, 계속 기본 환경이 호출되므로 tensor 가 처리 안됨

  • 해결 : 
    가상환경을 activate 시킨 후, 해당 가상환경에도 jupyter 를 설치해준다.

    (tensorflow) $ conda install jupyter


출처 : https://stackoverflow.com/questions/39604271/conda-environments-not-showing-up-in-jupyter-notebook


  • The annoying thing is that in your tensorflow environment, you can run jupyter notebookwithout installing jupyter in that environment. Just run

    (tensorflow) $ conda install jupyter
    

    and the tensorflow environment should now be visible in Jupyter Notebooks started in any of your conda environments as something like Python [conda env:tensorflow].


'개발 > IR_ML_NLP' 카테고리의 다른 글

Minimum Edit Distance  (0) 2017.06.13
LCS 알고리즘 [펌]  (0) 2017.06.13
Stemming vs Lemmatization  (0) 2017.04.05
Intro to vectorization  (0) 2017.03.08
벡터 공간 모델의 한계  (0) 2017.03.08

댓글