Sep 27, 20219:56 AM - edited Sep 27, 20219:56 AM
Member
No module named 'hubspot.crm' error when using 'from hubspot.crm.deals import ...'
Hello there,
I'd like to use Hubspot's newest API and I really would like some help. I have a Cloud Function (python) on Google Cloud Platform where I run the following code (to test):
Code
def hello_world(request):
import hubspot
from hubspot.crm.deals import BatchInputSimplePublicObjectBatchInput
return'Success'
And I get the following error:
from hubspot.crm.deals import BatchInputSimplePublicObjectBatchInput
ModuleNotFoundError: No module named 'hubspot.crm'
The installed packages are
hubspot simplejson requests delorean
Do I need to install an extra package? Thanks for your help!