티스토리 친구하기

본문 바로가기

Useful Information/Linux

Ubuntu(우분투)에 matplotlib 설치하기

728x90

* 패키지를 설치할 때에는 python, pip의 버전에 항상 유의해주세요.

 

 

python3.6 이상의 버전에서 matplotlib를 설치하기 위해서는 다음과 같이 코드를 작성해주면 됩니다.

 

python3 -m pip install -U pip
python3 -m pip install -U matplotlib

 

 

python2.x 버전에서는 다음과 같이 작성하여 matplotlib를 설치합니다.

 

python -m pip install -U pip
python -m pip install -U matplotlib

 

 

[1] https://matplotlib.org/3.2.2/users/installing.html#installing-from-source

 

 

 

 

반응형