IT/리눅스(linux)
CentOS7에 텐서플로우(TensorFlow) 설치하기
이금성
2017. 3. 23. 12:25
Ubuntu에서는 잘 되던 텐서플로우(TensorFlow)가 CentOS 7에서는 한번에 설치가 안되서 약간의 삽질(?)후 정리해보았습니다.
1. 개발도구 및 라이브러리 설치
yum groupinstall -y "Development tools" |
2. pip 설치
1 2 | shell> yum install -y epel-release #EPEL Repository 추가 shell> yum install -y python-pip #pip 설치 |
3. tensorflow 설치(GPU용은 별도 문서 참고)
shell> pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.1-cp27-none-linux_x86_64.whl |
참고사항
경우에 따라 numpy, protobuf 제거 후 재설치 필요함
<예시>
1 2 3 | shell> pip uninstall numpy shell> easy_install numpy shell> pip install -U numpy |