zcrmsdk for python -- ImportError: cannot import name 'ZCRMRestClient' from 'zcrmsdk'

224 Views Asked by At

I installed zcrmsdk as many doc said in Zoho:

pip install zcrmsdk

Every example start with:

from zcrmsdk import ZCRMRestClient,ZohoOAuth

but, this line failed with :

ImportError: cannot import name 'ZCRMRestClient' from 'zcrmsdk'

so, is there any documentation updated to run this example using python 3.9 + zcrmsdk 3.1.0 ??

I'm trying to create the simplest code to bring a Lead (for example)

1

There are 1 best solutions below

0
Pranil Khadka On

Maybe your'e using zcrmsdk version 3.x.x. Zcrmsdk have changed over time and for that particular code to run, you need to downgrade your zcrmsdk to version 2.1. For that use:

pip install zcrmsdk==2.1