Programming/Python

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

쌍쌍바나나 2017. 2. 7. 20:21
반응형

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



반응형