DongTai-SDK-Python
DongTai-SDK-Python copied to clipboard
Error: ModuleNotFoundError: No module named 'requests'
When i install it and use it with demo:
from dongtai_sdk import DongTai
dongTaiSdk = DongTai("config.json")
project_list = dongTaiSdk.GetProjectList(name='OpenRASP')
print(project_list)
error msg
Traceback (most recent call last):
File "/Users/shengnanwu/CharmProjects/DemoProject/LoadData.py", line 7, in <module>
from dongtai_sdk import DongTai
File "/Users/shengnanwu/CharmProjects/DemoProject/venv/lib/python3.7/site-packages/dongtai_sdk/DongTai.py", line 13, in <module>
from .DongTaiApi import DongTaiApi
File "/Users/shengnanwu/CharmProjects/DemoProject/venv/lib/python3.7/site-packages/dongtai_sdk/DongTaiApi.py", line 9, in <module>
import json,requests
ModuleNotFoundError: No module named 'requests'