Goggle Cloud Ubuntu Virtual Machine kiteconnect error

Hi, i have created ubuntu virtual machine on google cloud server along with python 2.7. kiteconnect is installed in that machine using "sudo pip install kiteconnect" but while executing my python code it throws below following error:
>>from kiteconnect import KiteConnect
ModuleNotFoundError: No module named kiteconnect
Please help me regarding this issue.
  • zartimus
    @WN1867 After doing `pip install kiteconnect`, confirm the location with `pip show kiteconnect`
    There could be multiple python versions.
  • tahseen
    @WN1867 you should either use virtualenv or conda to create environment instead of sudo pip
Sign In or Register to comment.