Windows10home Python3.7 Pycharm
Example: Move to C: \ python_project
C:\Users>cd C:\python_project
Example: Creating a virtual environment called venv_python_dev
C:\python_project>python -m venv venv_python_dev
C:\python_project>cd venv_python_dev\Scripts
C:\python_project\venv_python_dev\Scripts>activate.bat
(venv_python_dev) C:\python_project\venv_python_dev\Scripts>
pip install Django
(venv_python_dev) C:\python_project\venv_python_dev\Scripts>pip install Django
Successfully ... installed Django ... OK when it comes out Django version check
python -m django --version
3.0.3
(venv_python_dev) C:\python_project\venv_python_dev\Scripts>cd
(venv_python_dev) C:\python_project\venv_python_dev>C:\python_project\venv_python_dev
(venv_python_dev) C:\python_project\venv_python_dev>django-admin startproject Private_Diary_project
(venv_python_dev) C:\python_project\venv_python_dev>cd C:\python_project\venv_python_dev\Private_Diary_project
(venv_python_dev) C:\python_project\venv_python_dev\Private_Diary_project>
Example: app_private_diary
(venv_python_dev) C:\python_project\venv_python_dev\Private_Diary_project>python C:\python_project\venv_python_dev\Private_Diary_project\manage.py startapp app_private_diary
Project name -Project name init.py setting.py urls.py wsgi.py -manage.py -Application name migrations int.py admin.py apps.py models.py tests.py views.py
Recommended Posts