Windows10home Python3.7 Pycharm
Beispiel: Wechseln Sie zu C: \ python_project
C:\Users>cd C:\python_project
Beispiel: Erstellen einer virtuellen Umgebung mit dem Namen 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
Erfolgreich D ang ・ ・ ・ ・ installiert Django ・ ・ ・ ・ OK, wenn es herauskommt Django Versionsprüfung
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>
Beispiel: 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
Projektname -Projektname init.py setting.py urls.py wsgi.py -manage.py -Anwendungsname migrations int.py admin.py apps.py models.py tests.py views.py
Recommended Posts