No module named 'flask_cors'
时间: 2023-06-23 08:55:08 浏览: 373
flask-cors:跨源资源共享(CORS)对Flask的支持
5星 · 资源好评率100%
The error message "No module named 'flask_cors'" indicates that the Flask extension "flask_cors" is not installed in your Python environment. To fix this error, you can install the "flask_cors" package using pip, the Python package manager, by running the following command in your terminal or command prompt:
```
pip install flask_cors
```
Once the installation is complete, you should be able to import and use the "flask_cors" module in your Flask application without any issues.
阅读全文