0

Below is my code with some mods to it because it contained passwords and such. But when i run this code it get a error saying (AttributeError: 'module' object has no attribute 'Curl'). I tried looking for this and cant find a working method, so how would I fix this?

 #buy cloud hashing
cloudhash = input('Do you want to buy cloud hashing?: ')
print('You choose', cloudhash)
if cloudhash == "yes":
    print("You chose to buy hashing power")
    c = pycurl.Curl()
    c.setopt(c.URL, 'https://www.eobot.com/api.aspx?id=45723&email=Joshman160@*******.com&password=**********&convertfrom=DOGE&amount=20.0&convertto=KHS')
    c.perform()

else:
    print("You Choose not to buy hashing power")
user3897196
  • 17
  • 1
  • 2

0 Answers0