cloudyr / pyMTurkR

A Client for the MTurk Requester API
15 stars 8 forks source link

Unable to start boto3 client #13

Open claravdw opened 4 years ago

claravdw commented 4 years ago

While re-running some code that was working a few months ago (Nov or Dec 2019), I am running into the following problem. It happens as soon as I deploy a function that requires boto3 (e.g. AccountBalance(), CreateHIT() etc.). The first time I tried it, I was prompted to install Miniconda, and said 'yes', even though I already have Anaconda installed. Then, I get the following message:

Error in py_module_import(module, convert = convert): ModuleNotFoundError: No module named 'boto3'
     Unable to start boto3 client.
Error in fun(Title = "Classify a radio fragment about climate change",  : 
  could not find function "fun"
Warning message:
In CreateHIT(annotation = paste0(fulltop, " Clara Coding"), assignments = 1,  :
  Invalid Request

I have made sure that boto3 is installed for both python2 and python3. I am getting this error on two different machines with different OS's.

Thanks for any help you can give me!

Clara