1. Question: It shows that there is no django module > download one, and prompts that it has been installed > prompts that the django module cannot be imported after startup
2. Solutions:
Looking at the interpreter of the project found that it is python37
The default pip is the python36 pip added to the environment variable
So you need to add the pip path of the python37 interpreter to the environment variable, after restarting Pycharm
Install django with pip3.7 install django==xxx.
Read More:
- Django Error: ‘set‘ object is not reversible [How to Solve]
- Maven configuration error: JAVA_HOME not found in your environment
- [Solved] MindSpore Error: ReduceMean in the Ascend environment does not support inputs of 8 or more dimensions
- [Solved] At least one of these environment variable is needed to run this program
- [Solved] pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available
- How to Solve Vue & Django Cross-domain Issue
- django Internal server error 500 Modify source code to view print errors
- Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment
- NUXT Run generate error: is not in cwd [How to Solve]
- flask init-db Error: Error: Could not locate a Flask application. Use the ‘flask –app’ option, ‘FLASK_APP’ environment variable, or a ‘wsgi.py’ or ‘app.py’ file in the current directory.
- [Solved] Flink Hadoop is not in the classpath/dependencies
- Abnormal [System.InvalidOperationException: custom type mapping for ‘xxx’ is not specified or is not a solution
- Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to
- AUC Error – ValueError: Data is not binary and pos_label is not specified
- Eslint Error:“Identifier xxx is not in camel case“
- Kill Tomcat process in windows and Linux environment (solve the problem of other ports being occupied)
- The browser is compatible with IE11 “ReferenceError: ‘Promise’ is not defined” “ReferenceError: ‘Promise’ is not defined”
- [Solved] bin/hive Startup Error: Operation category READ is not supported in state standby
- Fuseki failed with message “Parse error: [line:1, col: 1] Content is not allowed in prolog.“
- [Solved] Flink Error: Flink Hadoop is not in the classpath/dependencies