Cannot import KiteConnect from kiteconnect package (macOS bigSur)

ravik93
I followed the steps below to install kiteconnect

pip install --upgrade kiteconnect
pip install -U pip setuptools

I am successfully able to install both however while importing I am getting the following error
from kiteconnect import KiteConnect
Error: ImportError: cannot import name 'KiteConnect' from 'kiteconnect'

How can I resolve this error?
  • rakeshr
    You can go through this thread.
  • ravik93
    Got it..I don't if anyone else if facing it but it's not from kiteconnect import KiteConnect but from kiteconnect.connect import KiteConnect
  • tahseen
    @ravik93

    I have MacBook with BigSur and have no issues with what you mentioned
    Python 3.8.8 | packaged by conda-forge | (default, Feb 20 2021, 16:12:38)
    [Clang 11.0.1 ] on darwin
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from kiteconnect import KiteConnect
    >>>
Sign In or Register to comment.