Odroid 상의 python 가상환경 설치¶
python 환경 체크¶
먼저 다음과 같이 하여 Python 환경을 체크한다1.
sudo update-alternatives --config python3
결과는 다음과 같다.
odroid@odroid:~/Work$ sudo update-alternatives --config python3
There are 3 choices for the alternative python3 (providing /usr/bin/python3).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/bin/python3.8 2 auto mode
1 /usr/bin/python3.6 1 manual mode
2 /usr/bin/python3.7 2 manual mode
* 3 /usr/bin/python3.8 2 manual mode
현재 numpy 환경등이 정상적으로 설치되어 있는 버전은 3.7 이다. 3.8에는 가상환경 py38 이 있다.
ARM CPU 상에서 PyTorch 설치 [2]¶
별도의 항목에서 정리하자.
Reference¶
[1] https://tech.serhatteker.com/post/2019-12/upgrade-python38-on-ubuntu/
[2] https://medium.com/hardware-interfacing/how-to-install-pytorch-v4-0-on-raspberry-pi-3b-odroids-and-other-arm-based-devices-91d62f2933c7