[PYTHON] A solution when you can't start project Django on Windows

error

Windows. I didn't understand even if I looked at the official document for a moment, so I will record it in Qiita. I got an error when I tried to create a project. I should just put django-admin startproject my site on the command line ...

C:_________>django-admin startproject mysite
'django-admin'Is an internal or external command,
It is not recognized as an operable program or batch file.

why! ?? Installation is ...

C:_________>py -m django --version
3.0.1

It's right. Is the path different ... Hmm

solution

Well, I'm not sure, but I was able to create a project with this command.

py -m django startproject mysite

References

--Creating your first Django app, part 1 https://docs.djangoproject.com/ja/3.0/intro/tutorial01/

Recommended Posts

A solution when you can't start project Django on Windows
Start a Django project
A note when I can't open Jupyter Notebook on Windows
When you can't call base.html in Django
When you stumble on uWSGI's quick start
Django --start project without start project
If you get stuck when building pycocoapi on Windows
What I did when I stumbled on a Django tutorial
Solution if you crash when using selenium on heroku
Things to do when you start developing with Django
A memo when Django was released on VPS (preparation)
How to run Django on IIS on a Windows server
The world changed when I opened a big Python project (Django) on Sourcetrail (Linux)
[Django] A memorandum when you want to communicate asynchronously [Python3]
Django environment development on Windows 10
Until the start of the django tutorial with pycharm on Windows
When you want to hit a UNIX command on Python
Prevent unnecessary directories from being created under the current directory when you start project with Django
When a Windows fatal exception: access violation occurs on the tensorboard
# Solution when pip install gives an error when using Anaconda on Windows 10
A note on using tab completion when running Python interactively on Windows
Steps to create a Django project
Implement a Django app on Hy
Create a Linux environment on Windows 10
Make a guy who will notify you when Oniken is on sale
Until you deploy a SpringBoot project in Gradle on App Engine Flexible
Wrapper when you want to output utf-8 + ansi color on Windows console
I get a firewall warning when I start gqlgen's server.go on my Mac
A memorandum when Django is installed on Sakura's rental server (standard plan)
Commands for creating a new django project
Django + Apache with mod_wsgi on Windows Server 2016
A struggle when installing pyenv on Cygwin
Creating a python virtual environment on Windows
[Django] A memo when log was not
A note on enabling PostgreSQL with Django
I built a TensorFlow environment on windows10
Create a Linux virtual machine on Windows
When you want a long line break
Run matplotlib on a Windows Docker container
Create a Django project and application in a Python virtual environment and start the server
[Python] What to check when you get a Unicode Decode Error in Django
What to do when you want to receive files from a Windows client remotely