Cannot uninstall requests 2.25.1, RECORD file not found. Hint: The package was installed by rpm
时间: 2024-03-05 14:50:55 浏览: 24
It seems that you installed the "requests" package using an RPM instead of using pip. RPM is a package management system used in some Linux distributions to install and manage software packages.
To remove the package, you can try using the RPM command with the "-e" option followed by the package name. For example, if the package name is "requests-2.25.1.rpm", you can try the following command:
```
rpm -e requests-2.25.1
```
If this doesn't work, you can try using the "--nodeps" option to remove the package without checking for dependencies:
```
rpm -e --nodeps requests-2.25.1
```
Alternatively, you can try reinstalling the package using pip and then uninstalling it:
```
pip install requests==2.25.1
pip uninstall requests
```
I hope this helps! Let me know if you have any further questions.
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)