What to do if the server doesn't start with python manage.py runserver

runserver fails

Immediately after creating a project

python manage.py runserver

I ran! I haven't played with the settings or code! An error has occurred! What to do for such a case

Doubt account name

An error will occur if the PC account name contains 2-byte characters such as Japanese. In this case, there is no way to rename an existing account Create a new account and run with the new account

Doubt the PC name

As with the account name, an error will occur if double-byte characters are used in the PC name. You can change it from Control Panel> System and Security> System> Change Settings> Computer Name> Change (restart required)

Port number problem

python manage.py runserver

Will try to boot using port: 8000 by default If port: 8000 is already in use and cannot be started, you can start it by specifying an unused port number.

// port:If you specify 8080
python manage.py runserver 8080

Recommended Posts

What to do if the server doesn't start with python manage.py runserver
What to do if ipython and python start up with different versions
What to do with PYTHON release?
What to do if Python doesn't work on Git for Windows
What to do if you can't install pyaudio with pip #Python
What to do if intellisense doesn't work with Anaconda + VSCode + Tensorflow2.1
What skills do I need to program with the FBX SDK Python?
What to do if you couldn't send an email to Yahoo with Python.
What to do if rails s doesn't work
What to do if the Chainer (Windows) sample mnist terminates with WinError 183.
What to do if atom autocomplete-python doesn't work
What to do if you get a "Wrong Python Platform" warning when using Python with the NetBeans IDE
What to do if you get angry with "Value Error: unknown local: UTF-8" in python manage.py syncdb
Let's Encrypt updated! What to do if the certbot renew command doesn't work
What to do if scrapy doesn't work after installing scrapy with pip on mac
What to do if you get an error when installing python with pyenv
What to do if you installed pyenv on Mac OS using Homebrew but the python version doesn't switch
What to do if you get an OpenSSL error when installing Python 2 with pyenv
What to do if the Microsoft Store opens even if you run python on Windows
What to do if the print command itself causes an error in Maya python
What to do if the progress bar is not displayed in tqdm of python
[Introduction to Python] What is the important "if __name__ =='__main__':" when dealing with modules?
What to do if Python does not switch from the System version in pyenv
What to do if you can't hit the arrow keys in the Python interactive console
What to do if you run python in IntelliJ and end with an error
What to do if ʻarguments [0] .scrollIntoView ();` fails in python selenium
What to do if the package dependency cannot be repaired
What you can do with the Python standard library statistics
What I did to welcome the Python2 EOL with confidence
What to do if you can't sort files with subscripts
What to do if yum breaks
What to do with Magics install
To do tail recursion with Python2
Python | What you can do with Python
What to do if you get a minus zero in Python
What to do if python says "fatal error:'stdio.h' file not found"
Consider what you can do with Python from the Qiita article
What to do if you get a UnicodeDecodeError with pip install
What to do if Insecure Platform Warning appears when running Python
What to do if the inode is exhausted on EC2 Linux
What to do if you can't build your project with Maven
What to do if PyAudio cannot be installed on Python 3.7, 3.8, 3.9 on Windows
What to do if you can't use the trash in Lubuntu 18.04.
What to do when the value type is ambiguous in Python?
What should I do with the Python directory structure after all?
How to do portmanteau test with python
The road to compiling to Python 3 with Thrift
What to do if there is a decimal in python json .dumps
What to do if the Pipenv environment is corrupted by updating Homebrew
What to do if you can't use scikit grid search in Python
If you want to include awsebcli with CircleCI, specify the python version
What to do if the yum command fails to set locale, defaulting to C
What to do if you get lost in file reference with FileNotFoundError
What to do if pyenv install does not proceed with an error
What to do if an error occurs when importing numpy with VScode
What to do if you get a TypeError with numpy min, max
What to do if you can't install with pip in babun environment
What to do if you get Could not fetch URL 443 with pip
[Introduction to Python] What is the method of repeating with the continue statement?
What to do if you get the error Target WSGI script'/var/www/xxx/xxx.wsgi' cannot be loaded as python module
Log in to the remote server with SSH