Programming Language/Python

[Python] Install PIP3

yongee97 2023. 3. 7. 22:53

* reference

https://heytech.tistory.com/318

 

[Python] pip 개념 및 설치 방법(pip, pip3)

본 포스팅에서는 pip 개념과 pip/pip3 설치 방법을 알아봅니다. 1. pip 개념 Pip Installs Packages의 약자 Python 패키지를 설치하고 관리하는 패키지 매니저(Package Manager) MacOS에서 brew, node의 npm, yarn, Linux에

heytech.tistory.com

 

 

* install

 

1. Download get-pip.py

# python3 version >= 3.7
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
# python3 version = 3.6
 curl https://bootstrap.pypa.io/pip/3.6/get-pip.py -o get-pip.py

 

 

2. install

python3 get-pip.py
pip3 -V

 

 

 

* if 'command not found' error occurs

- open .bashrc

vi ~/.bashrc

- add this line to the bashrc file

- Please be careful when writing this to the bashrc! minor typo could result in severe problem

export PATH=$HOME/.local/bin:$PATH

 

 

* reference

https://mong9data.tistory.com/114

 

[linux] zsh에서 pip를 이용한 설치 시 경로(PATH) 에러 해결

문제 - WSL2 기반 Ubuntu에서 제공하는 bash가 아닌, zsh를 이용하고 있습니다. - Ubuntu가 연결되어 있는 VS Code에서 pip3를 이용하여 특정 패키지를 설치하니 다음과 같은 에러가 발생했습니다. WARNING: The

mong9data.tistory.com