개발관련/OSX
tensorflow 에서 matplotlib 적용시 에러날때..
blesscdh
2016. 10. 1. 20:17
텐서 플로우 첫걸음 책을 따라서 겨우겨우 노트북(Macbook. OSX Sierra:10.12) 에 설치를 마치고,
두번째 예제를 따라하는 중에 matplotlib를 이용하여 그래프 출력에서 문제가 발생
1. 라이브러리가 없음
pip install matplotlib
2. 에러 메시지....
위와 같은 에러...
stackoverflow에 위의 문제를 잘 해결해 놓았네..
==> http://stackoverflow.com/questions/21784641/installation-issue-with-matplotlib-python
해결책은
- I assume you have installed the pip matplotlib, there is a directory in you root called
~/.matplotlib
. - Create a file
~/.matplotlib/matplotlibrc
there and add the following code:backend: TkAgg
실행 잘됨.!!!