Existing problems:
after Django creates a new project, when running the service command “Python manage. Py runserver”, an error is reported: NameError: name ‘OS’ is not defined
Solution:
find the setting.py file in the new project path and add “import OS” to it
Note: the method to judge whether the project is successfully created is if something similar to“ http://127.0.0.1:8000/ ”The project address, and “the install worked successfully! Integrations!” is displayed in the browser.
Read More:
- [How to Fix] NameError: name ‘requests‘ is not defined & NameError: name ‘request‘ is not defined
- When the spring MVC project is running on idea, an error is reported when the controller is a null pointer
- [NLP] NameError in using nltk: name ‘freqdist’ is not defined
- IIS + Django project reported an error. The fastcgi process exited unexpectedly
- An error is reported when passing data pages using Ajax: Vue is not defined
- An error is reported when the jeecg boot project connects to the MySQL database running on docker
- pyspark : NameError: name ‘spark’ is not defined
- Solving the problem of NameError: name ‘reload’ is not defined
- python multiprocessing.pool NameError: name is not defined
- Running Django (2.2) project in Python 3.7.9 reports an error
- Research on Maven management of Java project pom.xml The jar package error is reported, but the project is running normally
- The Vue project does not install node sass and an error is reported
- An error is reported when starting the Remote Access Connection Manager service
- When angular4.0 starts the project, an error is reported: the “@ angular / compiler cli” package was not properly installed
- When react devtools is enabled, an error is reported for the project
- When C language refers to a user-defined type as a parameter, an error segmentation fault is reported
- Error reported using layui $is not defined
- Vue project, browser error: referenceerror: H is not defined
- The software licensing service reported that the product SKU is not found
- Error reported by gulp: referenceerror: primordials is not defined