feat: Update requirements.txt

fix:
1、The Requirements library is missing
This commit is contained in:
UzJu 2022-08-21 16:44:18 +08:00
parent 0efa185a0a
commit 368344f425
2 changed files with 6 additions and 16 deletions

View File

@ -1,27 +1,15 @@
![image-20220703203021188](images/image-20220703203021188.png) ![image-20220703203021188](images/image-20220703203021188.png)
# 问题解决ModuleNotFoundError: No module named 'urlparse'
![image-20220818175128235](https://uzjumakdown-1256190082.cos.ap-guangzhou.myqcloud.com/UzJuMarkDownImage20220818175128.png)
如果遇到这个问题可以使用以下命令如果还是无法解决可以通过issue的方式联系我或者发送邮件到`uzjuer@163.com`或在我的GitHub主页添加我的微信告诉我python版本即可
```bash
pip3 install cos-python-sdk-v5
```
目前我已经测试可以运行的版本如下
1、python3.8.9
2、python3.9.13
# :rooster:使用教程 # :rooster:使用教程
```bash ```bash
git clone https://github.com/UzJu/Cloud-Bucket-Leak-Detection-Tools.git git clone https://github.com/UzJu/Cloud-Bucket-Leak-Detection-Tools.git
cd Cloud-Bucket-Leak-Detection-Tools/ cd Cloud-Bucket-Leak-Detection-Tools/
# 安装依赖 建议使用Python3.8以上的版本 我的版本: Python 3.9.13 (main, May 24 2022, 21:28:31) # 安装依赖 建议使用Python3.8以上的版本 我的版本: Python 3.9.13 (main, May 24 2022, 21:28:31)
# 已经测试版本如下
# 1、python3.8.9
# 2、python3.9.13
# 3、python3.7
pip3 install huaweicloud-sdk-python pip3 install huaweicloud-sdk-python
pip3 install -r requirements.txt pip3 install -r requirements.txt
python3 main.py -h python3 main.py -h

View File

@ -11,6 +11,8 @@ cryptography==37.0.4
deprecation==2.1.0 deprecation==2.1.0
dnspython==2.2.1 dnspython==2.2.1
huaweicloud-sdk-python==1.0.28 huaweicloud-sdk-python==1.0.28
cos-python-sdk-v5
huaweicloud-sdk-python-obs
idna==3.3 idna==3.3
iso8601==1.0.2 iso8601==1.0.2
jmespath==0.10.0 jmespath==0.10.0