Linux, Centos, MacOS에서 Python3 Virtualenv 구성하기

2021. 4. 28. 01:43 Python/Python 프로그래밍

MacOS

 

$ sudo yum install python3

$ virtualenv -p python3 env

$ source env/bin/activate

$ pip3 install -r requirements.txt

 

Centos

 

$ sudo yum install -y https://centos7.iuscommunity.org/ius-release.rpm

$ sudo yum install -y python35u python35u-pip

$ virtualenv -p python3 venv

$ source venv/bin/activate

$ pip3 install -r requirementx.txt

 

출처 : ourcstory.tistory.com/216?category=630693