1. Python 설치 3.7.4
2. eclipse 설치
2-1. subversive 설치
- Eclipse > help > Install New Software 에서 plug-in url을 추가하여 설치
- Subversive URL : http://download.eclipse.org/technology/subversive/4.0/update-site/
"Subversive SVN Team Provider Plugin"을 선택한 다음, "Next" 버튼을 클릭하여 설치
- Eclipse > Window > Preference 에서 SVN Connector설치
2-2. pyDev 설치
3. pip install virtualenv <- 이거 설치하지 않고 python에 내장되어 있는 venv명령으로 가상환경 설치 할 수 있다.
ex) python -m venv BlogVenv
4. 가상환경생성 (eclipse의 project 생성 하위에 가상환경생성시)
C:\Work\Software\eclipse-jee-2019-12-R-win32-x86_64\workspace\Blog>virtualenv BlogVenv
Using base prefix 'c:\\users\\administrator\\appdata\\local\\programs\\python\\python37-32'
New python executable in C:\Work\Software\eclipse-jee-2019-12-R-win32-x86_64\workspace\Blog\BlogVenv\Scripts\python.exe
Installing setuptools, pip, wheel...
done.
5. 가상환경진입
C:\Work\Software\eclipse-jee-2019-12-R-win32-x86_64\workspace\Blog>BlogVenv\Scripts\activate
(BlogVenv) C:\Work\Software\eclipse-jee-2019-12-R-win32-x86_64\workspace\Blog>pip list
Package Version
---------- -------
pip 19.3.1
setuptools 45.0.0
wheel 0.33.6
6. 가상환경에 Django설치
(BlogVenv) C:\Work\Software\eclipse-jee-2019-12-R-win32-x86_64\workspace\Blog>pip install Django
Collecting Django
Using cached https://files.pythonhosted.org/packages/55/d1/8ade70e65fa157e1903fe4078305ca53b6819ab212d9fbbe5755afc8ea2e/Django-3.0.2-py3-none-any.whl
Collecting asgiref~=3.2
Using cached https://files.pythonhosted.org/packages/a5/cb/5a235b605a9753ebcb2730c75e610fb51c8cab3f01230080a8229fa36adb/asgiref-3.2.3-py2.py3-none-any.whl
Collecting pytz
Using cached https://files.pythonhosted.org/packages/e7/f9/f0b53f88060247251bf481fa6ea62cd0d25bf1b11a87888e53ce5b7c8ad2/pytz-2019.3-py2.py3-none-any.whl
Collecting sqlparse>=0.2.2
Using cached https://files.pythonhosted.org/packages/ef/53/900f7d2a54557c6a37886585a91336520e5539e3ae2423ff1102daf4f3a7/sqlparse-0.3.0-py2.py3-none-any.whl
Installing collected packages: asgiref, pytz, sqlparse, Django
Successfully installed Django-3.0.2 asgiref-3.2.3 pytz-2019.3 sqlparse-0.3.0
(BlogVenv) C:\Work\Software\eclipse-jee-2019-12-R-win32-x86_64\workspace\Blog>pip list
Package Version
---------- -------
asgiref 3.2.3
Django 3.0.2
pip 19.3.1
pytz 2019.3
setuptools 45.0.0
sqlparse 0.3.0
wheel 0.33.6