no module named requests
时间: 2023-08-29 12:12:13 浏览: 143
jenkins添加python项目,如何解决Jenkins控制台输出类似与:ModuleNotFoundError: No module named ‘requests’
The error message "no module named requests" indicates that the Python module 'requests' is not installed on the system.
To resolve this issue, you can install the 'requests' module using pip, the Python package manager, by running the following command in the command line:
```
pip install requests
```
Make sure that you have administrative rights to install packages on the system. Once installed, you can import the 'requests' module in your Python script using the following code:
```python
import requests
```
阅读全文