728x90

하,,, 험난한 라즈베리파이4에 텐서플로우 2.2.0 설치하기 과정

 

qengineering.eu/install-tensorflow-2.2.0-on-raspberry-pi-4.html

 

Install TensorFlow 2.2.0 on Raspberry Pi 4 - Q-engineering

A thorough guide on how to install TensorFlow 2.2.0 on your Raspberry Pi 4. Build from source code with Bazel for Python 3 and C++ API.

qengineering.eu

일단 설치 방법은 위 링크에 들어가서 따라하면 된다.

 

하지만 설치하면서 에러가 뜰것이다.

 

# install TensorFlow
$ sudo -H pip3 install tensorflow-2.2.0-cp37-cp37m-linux_armv7l.whl

나는 상단의 코드를 실행하니 하단과 같이 에러가 떴다...

 

ERROR: Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

 

서치를 해보니 wrapt가 충돌하는 것 같은데

나와있는 해결책으로 모두 해결이 안됬다... 

대부분 하단과 같이 wrapt랑 여러가지를 업데이트하고 다시 설치를 하란다...

하지만 안됨,,ㅎ

pip3 install wrapt --upgrade --ignore-installed
pip3 install tensorflow

 

그래서

sudo -H pip3 install tensorflow-2.2.0-cp37-cp37m-linux_armv7l.whl wrapt --upgrade --ignore-installed

이렇게 텐서플로우를 설치하는 부분 뒤에 wrapt관련 덧붙여 주었더니 해결완료,,,

무슨차이인지는 잘 모르겠다... 아무튼 잘 설치되었다...!

+ Recent posts