djangoも入れてみる
▼ネタ元 Django で Hello World - Qiita
進捗ゼロは回避したいよね、、
C:\Users\Owner>pip install django DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Collecting django Downloading https://files.pythonhosted.org/packages/49/49/178daa8725d29c475216259eb19e90b2aa0b8c0431af8c7e9b490ae6481d/Django-1.11.29-py2.py3-none-any.whl (6.9MB) |################################| 7.0MB 4.5MB/s Collecting pytz (from django) Downloading https://files.pythonhosted.org/packages/e7/f9/f0b53f88060247251bf481fa6ea62cd0d25bf1b11a87888e53ce5b7c8ad2/pytz-2019.3-py2.py3-none-any.whl (509kB) |################################| 512kB 4.9MB/s Installing collected packages: pytz, django Successfully installed django-1.11.29 pytz-2019.3 WARNING: You are using pip version 19.2.3, however version 20.0.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. ★アップグレードしろり? C:\Users\Owner>pip install --upgrade pip DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Collecting pip Downloading https://files.pythonhosted.org/packages/54/0c/d01aa759fdc501a58f431eb594a17495f15b88da142ce14b5845662c13f3/pip-20.0.2-py2.py3-none-any.whl (1.4MB) |################################| 1.4MB 632kB/s Installing collected packages: pip Found existing installation: pip 19.2.3 Uninstalling pip-19.2.3: Successfully uninstalled pip-19.2.3 WARNING: Failed to write executable - trying to use .deleteme logic Successfully installed pip-20.0.2
C:\Users\Owner>pip list DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Package Version ---------- ------- Django 1.11.29 pip 20.0.2 pytz 2019.3 setuptools 41.2.0 C:\Users\Owner>django-admin startproject proj01 C:\Users\Owner>cd proj01/ C:\Users\Owner\proj01>python manage.py migrate Operations to perform: Apply all migrations: admin, auth, contenttypes, sessions Running migrations: Applying contenttypes.0001_initial... OK Applying auth.0001_initial... OK Applying admin.0001_initial... OK Applying admin.0002_logentry_remove_auto_add... OK Applying contenttypes.0002_remove_content_type_name... OK Applying auth.0002_alter_permission_name_max_length... OK Applying auth.0003_alter_user_email_max_length... OK Applying auth.0004_alter_user_username_opts... OK Applying auth.0005_alter_user_last_login_null... OK Applying auth.0006_require_contenttypes_0002... OK Applying auth.0007_alter_validators_add_error_messages... OK Applying auth.0008_alter_user_username_max_length... OK Applying sessions.0001_initial... OK C:\Users\Owner\proj01>python manage.py startapp home C:\Users\Owner\proj01>python manage.py runserver Performing system checks... System check identified no issues (0 silenced). April 20, 2020 - 09:57:13 Django version 1.11.29, using settings 'proj01.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CTRL-BREAK. [20/Apr/2020 09:57:20] "GET / HTTP/1.1" 200 1716 Not Found: /favicon.ico [20/Apr/2020 09:57:20] "GET /favicon.ico HTTP/1.1" 404 1962