dsoprea / PythonEtcdClient

A simple and efficient etcd client that exposes all functions and just works.
21 stars 9 forks source link

Some wrong with using moudle #9

Open Superyunkai opened 2 years ago

Superyunkai commented 2 years ago

Hi, Here is my question: I had installed the etcd with pip, which specify 'pip install etcd' , no thing going wrong looks like. Howerver when using it, after import etcd sucessefully , etcd.Client() not working, it said module etcd doesn't have the attribute named Client. At first, I think maybe import wrong module which have same name . I used dir() to find the information of etcd. I find that the set of import is right, however there is noting in the etcd module. Then I try the source code install. and get the same result. By the way , etcd3 module seems good. I don't know why this happend? can anyone gives some advice? this is my code and the test of etcd image

image

Really wired , nerver happened before