# install python3.6
]$ sudo yum update -y
]$ sudo yum install -y yum-utils
]$ sudo yum install -y https://centos7.iuscommunity.org/ius-release.rpm
]$ sudo yum install -y python36u python36u-pip python36u-devel
]$ mkdir [project_name]
# make python3 virtual environment
]$ python3.6 -m venv py3
# activate virtual environment
]$. py3/bin/activate
# install django
(py3) ]$ pip install --upgrade pip
(py3) ]$ pip install pipenv
(py3) ]$ pip install django
(py3) ]$ django-admin startproject [project_name] .
'Develop > Python' 카테고리의 다른 글
[Django] Use Django ORM without migrate (0) | 2018.04.30 |
---|---|
[Python] pip install error (0) | 2018.02.19 |
[Python] 파일 읽고 쓰기 (0) | 2018.01.23 |