Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: ModuleNotFoundError: No module named 'requests' #6

Open
exexute opened this issue Jan 17, 2022 · 0 comments
Open

Error: ModuleNotFoundError: No module named 'requests' #6

exexute opened this issue Jan 17, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@exexute
Copy link
Contributor

exexute commented Jan 17, 2022

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'
@exexute exexute added the bug Something isn't working label Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants